A4: Digital and analog NCK I/Os for SINUMERIK 840D sl
1.2 Access via PLC
Extended Functions
28 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
PLC I/Os for direct addressing by NCK
Up to 32 bytes for digital input signals and analog input values, and up to 32 bytes for digital
output signals and analog output values can be addressed directly by the part program.
These bytes must be taken into account when the PLC is configured. They are processed
directly by the PLC operating system. As a result, the time taken to transfer signals between
the NC and PLC I/O modules is of an order of magnitude of 0.5 ms.
Note
The output bytes specified for the NCK may not be write-accessed by the PLC user program,
as the access operations between the NCK and PLC would be uncoordinated.
For further information, see "Direct PLC I/Os, addressable from the NC (Page 48)".
1.2.2 Configuration of the NCK I/Os
Number of active NCK I/Os
The number of addressable digital NCK I/O bytes and analog I/Os is defined with the
machine data:
• MD10350 $MN_FASTIO_DIG_NUM_INPUTS
Number of active digital NCK
input bytes (max. 5)
• MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS
Number of active digital NCK
output bytes (max. 5)
• MD10300 $MN_FASTIO_ANA_NUM_INPUTS
Number of active analog NCK
inputs (max. 8)
• MD10310 $MN_FASTIO_ANA_NUM_OUTPUTS
Number of active analog NCK
outputs (max. 8)
Corresponding alarms are generated if the part program addresses I/Os that have not been
defined in the above machine data.
The NCK I/Os do not have to actually exist in the hardware. In this case the signal states or
the binary analog values are set to "zero" in a defined way inside the NCK. However, these
values can be changed by the PLC.