Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
259
Flexible axis configuration
It is possible to be flexible in the assignment of axis selections or direction keys for machine
axis numbers.
Better support is now provided by the MSTT blocks for use of two MCPs, which are operated
simultaneously, in particular for an application using two channels and two mode groups.
Note that the axis-numbers are also specified in the parameterized mode group number of
the MCP block in the axis tables of the relevant MCP.
For this flexibility there are tables for axis numbers in DB 10.
For 1. Machine control panel (MCP) the table starts from the byte 8
(symbolic name: MCP1AxisTbl[1..22]) and
for 2. Machine control panel (MCP) the table starts from the byte 32
(symbolic name: MCP2AxisTbl[1..22]) for the second MCP. The machine axis numbers must
be entered byte by byte here.
It is permissible to enter a value of 0 in the axis table. No check is made for illegal axis
numbers and an incorrect entry can thus lead to a PLC stop.
With FC 26, it is possible to restrict the number of axes using 0 values in the axis table. The
axis numbers can also be adapted dynamically. Axis numbers may not be switched over
while the axes are being traversed via the relevant direction keys.
The compatibility mode is preset with axis numbers 1 to 6 for both MCPs and restricted to
the configured number of axes.
Note
With FC26 (PHG and HT6) there is a deviation from other MCP blocks
FC 19, FC 24, FC 25 in the selected workpiece coordination system (WCS).
Here the first 3 traversing keys have an effect on the channel axes (WCS axes). The
following traversing keys affect the machine axes as per the axis numbers allocated from the
axis tables. These are the machine axes 4 to 6 by default. Wiring of output byte 3, bit 7 to 1
on the MCP outputs (parameter "MCP1Out" or "MCP2OUT") permits only the channel axes
to be traversed when WCS is activated.
Declaration of the function
FUNCTION FC 26: void
// NAME:
HPU_MCP
VAR_INPUT
BAGNo :
BYTE ;
ChanNo:
BYTE ;
END_VAR
BEGIN
END_FUNCTION
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...