Siemens SINUMERIK 840D sl Function Manual page 834

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.8 Coupling of the PLC CPU
Figure 13-1
NCK/PLC coupling on SINUMERIK 840D sl (integrated PLC)
Interface: NCK/PLC
The data exchange between NCK and PLC is organized by the basic program on the PLC
side. The status information, such as "Program running", stored by the NCK in the NCK/PLC
interface is copied to data blocks by the basic program at the beginning of the cycle (OB1) and
can then be accessed in the user program (user interface). The control signals for the NCK
(e.g. NC start) entered in the interface data block by the user are also written to the internal
DPR and transferred to the NCK at the start of the cycle.
Workpiece-program-specific auxiliary functions transferred to the PLC are first evaluated by
the basic program (interruptdriven) and then transferred to the user interface at the start of OB
1. If the relevant NC block contains auxiliary functions that require that NCK processing is
interrupted (e.g. M06 for tool change), the basic program stops the decoding of the NCK block
initially for one PLC cycle. The user can then use the "read disable" interface signal to halt the
block execution until the tool change has been completed. If, on the other hand, the relevant
NC block only contains auxiliary functions, which do not require interruption of the decoding
834
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents