Writing Of The Nc I/O With Status Query - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Program code
R1=$A_DPB_IN[16.6]
Parameterization for programming via CompileCycles
Specifications
● Parameterization of the 2nd data record: Machine data / system variable index = 1
● Configuration data:
– Logical start address = 312
– Slot length = 32 bytes
● Representation: Big endian format
Parameterization in the machine data
● MD10500 $MN_DPIO_LOGIC_ADDRESS_IN[ 01 ] = 312 (logical start address)
● MD10501 $MN_DPIO_LENGTH_IN[ 1 ] = 32 (length of the I/O-range in bytes)
● MD10502 $MN_DPIO_ATTRIBUTE_IN[ 1 ]
– Bit0 = 1 (big endian format)
– Bit2 = 1 (reading possible only for CC-binding)
– Bit3 = 1 (suppress slot sign-of-life alarms)
2.4.5.3

Writing of the NC I/O with status query

Requirement
A valid configuration must already have been loaded to the PLC.
Parameterization for part programs / synchronized actions
Specifications
● Parameterization of the 6th data record: Machine data / system variable index = 5
● Configuration data:
– Logical start address = 1200
– Slot length = 32 bytes
● Representation: Big endian format
Extended Functions
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
A4: Digital and analog NC I/O for SINUMERIK 840D sl
Comment
;
Alarm 17020: Index 16 outside the value range
2.4 Direct I/O access without PLC
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents