Communication Via Compile Cycles - Siemens SINUMERIK Series Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

1.3.3.2

Communication via compile cycles

General
CC-bindings are available for importing/exporting 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 is updated in each servo cycle. Data consistency is thus given for each respective servo
cycle.
To have write access to the data of the I/O range via the CC-bindings, the relevant I/O
ranges must be activated during the NCK configuration for the programming via compile
cycles:
MD10512 $MN_DPIO_RANGE_ATTRIBUTE_OUT[<n>], bit 1 = 1
A simultaneous programming of these I/O ranges via part programs / synchronized 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 byte-
oriented access to data ranges (byte offset, number of bytes to be transferred) 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()
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
A4: Digital and analog NCK I/Os for SINUMERIK 840D sl
1.3 Access via PROFIBUS
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents