Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
238
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
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
Description of formal parameters
The table below shows all formal parameters of the "MCP_IFM2" function:
Signal
Type Type
Range of values
Remark
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.
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
SpindleIFNo I
BYTE 0 - 31
(B#16#1F)
Number of the axis interface declared as a
spindle
FeedHold
A
BOOL
Feed stop from MCP, modal
SpindleHold A
BOOL
Spindle stop from MCP, modal
SpindleDir
A
BOOL
Spindle direction
0 (counterclockwise)
1 equals - (clockwise)
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 ...