Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-238 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
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
Explanation of the formal parameters
The table below shows all formal parameters of the "MCP_IFM2" function:
Signal I/O Type Value range Remarks
BAGNo I Byte 0 - b#16#0A
and
b#16#10 - b#16#1A
No. of mode group to which the
mode signals are transferred.
ModeGroupNo >= b#16#10 means
access to the second machine
control panel.
ChanNo I Byte 0 - B#16#0A Channel no. for the channel signals
SpindleIFNo I Byte 0 - 31
(B#16#1F)
Number of the axis interface
declared as a spindle
FeedHold Q Bool Feed stop from machine control
panel, modal
SpindleHold Q Bool Spindle stop from machine control
panel, modal
SpindleDir Q Bool Spindle direction
0 equals + (counterclockwise)
1 equals - (clockwise)