Siemens SINUMERIK 840D sl Function Manual page 65

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

Advertisement

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.).
Bindings
The following bindings are available:
● CCDataOpi: getDpIoRangeConfiguration()
● CCDataOpi: getDpIoRangeValid()
● CCDataOpi: getDpIoRangeInInformation()
● CCDataOpi: getDpIoRangeOutInformation()
● CCDataOpi: getDpIoRangeInState()
● CCDataOpi: getDpIoRangeOutState()
● CCDataOpi: getDataFromDpIoRangeIn()
● CCDataOpi: putDataToDpIoRangeOut()
Monitoring
● The following bindings monitor during the read/write accesses the adherence to the limits
of the respective I/O range configured at the NC and PLC side. Access to data / data ranges
which do not lie completely within the configured I/O range limits is rejected and the value
CCDATASTATUS_RANGE_LENGTH_LIMIT is returned.
– CCDataOpi: getDataFromDpIoRangeIn()
– CCDataOpi: putDataToDpIoRangeOut()
● If an I/O range which is not configured (or not configured for the compile cycle) is accessed,
the value CCDATASTATUS_RANGE_NOT_AVAILABLE is returned.
Extended Functions
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
NOTICE
Possible system slowdown
The compile cycle programmer is responsible for the correct use of the CC-bindings! It
must be noted that the additional performance requirement needed for providing the data
of the configured I/O ranges at the servo task level, does not lead to a servo level
computing time overflow.
See the OEM documents for more information about the use of these bindings.
A4: Digital and analog NC I/O for SINUMERIK 840D sl
2.4 Direct I/O access without PLC
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents