P3: Basic PLC Program for SINUMERIK 840D sl
13.7 Interface structure
Figure 13-6
PLC/Mode group interface
Signals PLC/NCK channels
The signal groups below must be considered on the interface:
•
Control/status signals
•
Auxiliary/G functions
•
Tool management signals
•
NCK functions
The control / status functions are transmitted cyclically at the start of OB1. The signals entered in the
channelspecific interface by the HMI (HMI signals are entered by the PLC operating system) are also transferred
at this time if they have been defined on the HMI operator panel, not on the MCP.
Auxiliary functions and G functions are entered in the interface data blocks in two ways. First, they are entered
with the change signals.
•
The M signals M00 - M99 (they are transferred from the NCK with extended address 0) are also decoded and
the associated interface bits set for the duration of one cycle.
•
For G functions, only the groups selected via machine data are entered in the interface data block.
•
The S values are also entered together with the related M signals (M03, M04, M05) in the spindlespecific
interface. The axisspecific feedrates are also entered in the appropriate axisspecific interface.
When the tool management (magazine management) function is activated in the NCK, the assignment of spindle
or revolver and the loading/unloading points are entered in separate interface DBs (DB71 - 73)
The triggering and parameter assignment of NCK functions is performed by means of PLC function calls.
The following function calls are available:
•
Position a linear axis or rotary axis
•
Position an indexing axis
•
Start a prepared asynchronous subprogram (ASUB)
•
Reading/writing of NC variables
•
Update magazine and tool movement
Some of the above functions are described in their own function documentation.
866
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions