Siemens SINUMERIK 840D sl Function Manual page 63

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

Advertisement

System variable
$A_DPSD_IN[<n>,<b>]
$A_DPR_IN[<n>,<b>]
<n> = input range 1, 2, ... m; <b> = byte index within the input range: 0, 1, ... (length - 1)
Output data
System variable
$A_DPB_OUT[<n>,<b>]
$A_DPW_OUT[<n>,<b>]
$A_DPSB_OUT[<n>,<b>]
$A_DPSW_OUT[<n>,<b>]
$A_DPSD_OUT[<n>,<b>]
$A_DPR_OUT[<n>,<b>]
<n> = output range 1, 2, ... m; <b> = byte index within the output range: 0, 1, ... (length - 1)
Configured and parameterized I/O ranges for part programs / synchronized actions
Each system variable is a 32-bit bit array. Each bit is assigned to an I/O range.
Bit <n> ≙ machine data index <n> ≙ I/O range <n+1>
Bit <n> == 1 ⇒ The I/O range <n+1> is configured/parameterized.
System variable
$A_DP_IN_CONF
$A_DP_OUT_CONF
Valid I/O ranges for part programs / synchronized actions
Each system variable is a 32-bit bit array. Each bit is assigned to an I/O range.
Bit <n> ≙ machine data index <n> ≙ I/O range <n+1>
Bit <n> == 1 ⇒ The I/O range <n+1> is valid. Reading/writing via part programs / synchronized
actions
System variable
$A_DP_IN_VALID
$A_DP_OUT_VALID
State of an I/O range
The state of an I/O range can be read via the following system variables.
System variable
$A_DP_IN_STATE[<n>]
$A_DP_OUT_STATE[<n>]
Extended Functions
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
A4: Digital and analog NC I/O for SINUMERIK 840D sl
Type
Meaning
32-bit signed
Reads a data double word (32-bit)
32-bit REAL
Reads input data (32-bit REAL)
Type
Meaning
8-bit unsigned
Writes a data byte (8-bit)
16-bit unsigned
Writes a data word (16-bit)
8-bit signed
Writes a data byte (8-bit)
16-bit signed
Writes a data word (16-bit)
32-bit signed
Writes a data double word (32-bit)
32-bit REAL
Writes output data (32-bit REAL)
Type
Meaning
32-bit bit array
Reads all configured input ranges
32-bit bit array
Reads all configured output ranges
Type
Meaning
32-bit bit array
Reads all valid input ranges
32-bit bit array
Reads all valid output ranges
Type
Meaning
INT
Reads the state of the input range
Reads the state of the output range
2.4 Direct I/O access without PLC
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents