Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-220 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Declaration of the function
FUNCTION FC 19: void
//NAME : MCP_IFM
VAR_INPUT
BAGNo : BYTE ;
ChanNo: BYTE ;
SpindleIFNo: BYTE ;
END_VAR
VAR_OUTPUT
FeedHold : BOOL ;
SpindleHold : BOOL ;
END_VAR
BEGIN
END_FUNCTION
Explanation of the formal parameters
The table below shows all formal parameters of the "MCP_IFM" function:
Signal I/O Type Value range Remarks
BAGNo I Byte 0 - b#16# and
b#16#10 -
b#16#1A
No. of mode group to which the mode signals are
transferred.
BAGNo >= b#16#10 means access to the
second machine control panel.
ChanNo I Byte 0 - B#16#0A Channel no. for the channel signals
SpindleIFN
o
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
SpindleHol
d
Q Bool Spindle stop from machine control panel, modal
MCP selection signals to the user interface
Key switch
Source:
MCP switch
Destination:
Interface DB
Position 0 DB10.DBX56.4
Position 1 DB10.DBX56.5
Position 2 DB10.DBX56.6
Position 3 DB10.DBX56.7