Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
252 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
For FC 24, the maximum possible number of axis selections can also be restricted. This
upper limit is set for the
1. Machine control panel in DB10.DBW30 (symbolic name: MCP1MaxAxis) or for the
2. Machine Control Panel in DB10.DBW54 (symbolic name: MCP2MaxAxis) for the
respective MSTT.
The default setting is 0, corresponding to the maximum number of configured axes. The axis
numbers and the limit can also be adapted dynamically. Afterwards, a new axis must be
selected on FC 19. Axis numbers may not be switched over while the axes are traversing the
relevant direction keys.
The compatibility mode is preset with axis numbers 1 to 6 for both MCPs and the restriction
for the configured number of axes.
Declaration of the function
FUNCTION FC 24: VOID
// NAME:
MCP_IFM2
VAR_INPUT
BAGNo : BYTE ;
ChanNo: BYTE ;
SpindleIFNo: BYTE ;
END_VAR
VAR_OUTPUT
FeedHold : BOOL ;
SpindleHold : BOOL ;
SpindleDir: BOOL ;
END_VAR
BEGIN
END_FUNCTION