P3: Basic PLC Program for SINUMERIK 840D sl
13.14 Signal/data descriptions
Basic Functions
1072
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
13.14
Signal/data descriptions
13.14.1
Interface signals NCK/PLC, HMI/PLC, MCP/PLC
References
The NCK/PLC, HMI/PLC and MCP/PLC interface signals are contained in the Lists document.
Lists sl (Book2)
The reference code contained therein (according to the signal names) refer to the respective function description,
in which the signal is described.
The NCK signals that are evaluated by the basic program and transferred in conditioned form to the user
interface are presented in the following sections.
13.14.2
Decoded M signals
The M functions programmed in the part program, ASUB or synchronized actions are channel specifically
transferred from the NC to the PLC:
• M functions from channel 1: DB 21
• M functions from channel 2: DB 22
• etc.
The signal length is one PLC cycle.
Note
The spindle-specific M functions below are not decoded: M3, M4, M5, and M70.
Address in DB 21, ...
Variable
Type
Comment
DBX 194.0 ... 7
M_Fkt_M0 ... M7
BOOL
M signals M0 ... M7
DBX 195.0 ... 7
M_Fkt_M8 ... M15
BOOL
M signals M8 ... M15
DBX 196.0 ... 7
M_Fkt_M16 ... M23
BOOL
M signals M16 ... M23
DBX 197.0 ... 7
M_Fkt_M24 ... M31
BOOL
M signals M24 ... M31
DBX 198.0 ... 7
M_Fkt_M32 ... M39
BOOL
M signals M32 ... M39
DBX 199.0 ... 7
M_Fkt_M40 ... M47
BOOL
M signals M40 ... M47
DBX 200.0 ... 7
M_Fkt_M48 ... M55
BOOL
M signals M48 ... M55
DBX 201.0 ... 7
M_Fkt_M56 ... M63
BOOL
M signals M56 ... M63
DBX 202.0 ... 7
M_Fkt_M64 ... M71
BOOL
M signals M64 ... M71
DBX 203.0 ... 7
M_Fkt_M72 ... M79
BOOL
M signals M72 ... M79
DBX 204.0 ... 7
M_Fkt_M80 ... M87
BOOL
M signals M80 ... M87
DBX 205.0 ... 7
M_Fkt_M88 ... M95
BOOL
M signals M88 ... M95
DBX 206.0 ... 3
M_Fkt_M96 ... M99
BOOL
M signals M96 ... M99