Reading/Writing; System Variables - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

A4: Digital and analog NC I/O for SINUMERIK 840D sl
2.4 Direct I/O access without PLC
I/O range attributes
● Attribute of the input range 1, 2, ... m:
MD10502 $MN_DPIO_RANGE_ATTRIBUTE_IN[ <n> ] ; with <n> = 0, 1, 2, ... (m - 1)
● Attribute of the output range 1, 2, ... m:
MD10512 $MN_DPIO_RANGE_ATTRIBUTE_OUT[ <n> ] ; with <n> = 0, 1, 2, ... (m - 1)
2.4.3

Reading/writing

2.4.3.1

System variables

Input data
System variable
$A_DPB_IN[<n>,<b>]
$A_DPW_IN[<n>,<b>]
$A_DPSB_IN[<n>,<b>]
$A_DPSW_IN[<n>,<b>]
62
Bit
Val‐
Meaning
ue
0
Format display of system variables $A_DPx_IN[<n>,<m>]
0
Little endian format
1
Big endian format
2
Reading of input data
0
Reading possible via system variables and CC-binding
1
Reading possible only for CC-binding
3
Output of slot sign-of-life alarms
0
Slot sign-of-life alarms are issued
1
Slot sign-of-life alarms are suppressed
Bit
Value Meaning
0
Format display of system variables $A_DPx_OUT[<n>,<m>]
0
Little endian format
1
Big endian format
1
Writing of output data
0
Writing only via system variable
1
Writing only via CC-binding
3
Output of slot sign-of-life alarms
0
Slot sign-of-life alarms are issued
1
Slot sign-of-life alarms are suppressed
Type
Meaning
8-bit unsigned
Reads a data byte (8-bit)
16-bit unsigned
Reads a data word (16-bit)
8-bit signed
Reads a data byte (8-bit)
16-bit signed
Reads a data word (16-bit)
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents