Communication Via Compile Cycles - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

A4: Digital and analog NCK I/Os
1.3 NCK I/O via PROFIBUS - only 840D sl
1.3.3.2

Communication via compile cycles

General
The CC-bindings are available for reading/printing the data blocks via the compile cycle
interfaces. The access to the data of the I/O range takes place at the Servo-task level.
The data are updated in each Servo cycle.
Data consistency is thus given for each respective Servo cycle.
To have a write access to the data of the I/O range via the CC-bindings, the respective I/O
ranges must be cleared during the NCK-configuration by the machine data:
MD10512 $MN_DPIO_SLOT_ATTRIBUTE_OUT (attributes of the PROFIBUS-I/Os)
for the programming via compile cycles.
A simultaneous programming of these I/O ranges via part programs/synchronous actions is
prevented by issuing an alarm (17020).
It must be noted that the data is displayed in general in the PLC in the Big-Endian format.
Naturally, this also applies to the PROFIBUS-I/O. Since the bindings support only the byte-
oriented access to data ranges (byte-offset, number of bytes to be transmitted) within an I/O
range, you must pay attention to the correct display of the data types (16 bit, 32 bit, etc.).
CC-Bindings
The following CC-bindings are available:
CCDataOpi: getDpIoRangeConfiguration()
CCDataOpi: getDpIoRangeValid()
CCDataOpi: getDpIoRangeInInformation()
CCDataOpi: getDpIoRangeOutInformation()
CCDataOpi: getDpIoRangeInState()
CCDataOpi: getDpIoRangeOutState()
CCDataOpi: getDataFromDpIoRangeIn()
CCDataOpi: putDataToDpIoRangeOut()
64
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents