Siemens SINUMERIK 840D sl Function Manual page 1303

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

Advertisement

NCK/PLC interface
As illustrated in the figure, NCK/PLC data exchange is organized by the basic program in the
PLC. At the beginning of the cycle (OB1), the status information (e.g. "Program running")
written to the internal DPR by the NCK is copied to data blocks by the basic program, which
the user can then access (user interface). The control signals for the NCK (e.g. NC start)
entered in the interface data blocks by the user are also written to the internal DPR and
transmitted 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 the interruption of the
NCK machining process (e.g. M06 for tool change), the basic program halts 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 does not contain auxiliary functions requiring the interruption of
the NC machining process (e.g., M08 for "Cooling on"), the transfer of these "rapid" auxiliary
functions is enabled directly in OB 40, so that block execution is only marginally influenced
by the transfer to the PLC.
The evaluation and enabling of the G functions transferred from the NCK are also alarm-
driven, however they are transferred directly to the user interface. Where a G function is
evaluated at several points in the PLC program, differences in the information of the G
function within one PLC cycle may arise.
In the case of NC actions triggered and assigned with parameters by the PLC (e.g. traverse
concurrent axes), triggering and parameter assignment is performed using FCs and FBs, not
interface data blocks. The FCs and FBs belonging to the actions are supplied together with
the basic program. The FCs and FBs required must be loaded by the user and called in the
PLC program of the machine manufacturer (machine program). For an overview of FC, FB
and data blocks, sorted according to basic and extended functions, please refer to:
References:
/FB1/ Function Manual Basic Functions; PLC Basic Program solution line (P3 sl),
Section: Commissioning the PLC Program
Interface HMI/PLC
HMI/PLC data exchange takes place via the software C bus or via the Ethernet, internal CP,
control-internal C bus link. The CP transfers the data intact from one bus segment to
another. The HMI is always the active partner (client) and the PLC is always the passive
partner (server). Data transmitted or requested by the HMI are read from and written to the
HMI/PLC interface area by the PLC operating system (timing: cycle control point). From the
viewpoint of the PLC application, the data are identical to I/O signals.
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Detailed description
2.5 Linking PLC CPUs to 840D
29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents