Siemens SINUMERIK Series Function Manual page 59

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

Advertisement

Access I/O range data
The following system variables are available for accessing the I/O range data:
Table 1- 4
NCK → PROFIBUS I/O
System variable
$A_DPB_OUT[<n>,<m>]
$A_DPW_OUT[<n>,<m>]
$A_DPSB_OUT[<n>,<m>]
$A_DPSW_OUT[<n>,<m>]
$A_DPSD_OUT[<n>,<m>]
$A_DPR_OUT[<n>,<m>]
<n> = index for the output data range; <m> = byte index for the data
Table 1- 5
PROFIBUS I/O → NCK
System variable
$A_DPB_IN[<n>,<m>]
$A_DPW_IN[<n>,<m>]
$A_DPSB_IN[<n>,<m>]
$A_DPSW_IN[<n>,<m>]
$A_DPSD_IN[<n>,<m>]
$A_DPR_IN[<n>,<m>]
<n> = index for the input data range; <m> = byte index for the data
Check configuration of the I/O ranges
The configuration of the I/O ranges can be checked via the following system variables. Each
bit of these bit arrays corresponds to an I/O range. It is set when the I/O range is configured
for access via the part programs / synchronized actions.
System variable
$A_DP_IN_CONF
$A_DP_OUT_CONF
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Value
Meaning
8-bit unsigned
Writing a data byte (8-bit) to PROFIBUS I/O
16-bit unsigned
Writing a data word (16-bit) to PROFIBUS I/O
8-bit signed
Writing a data byte (8-bit) to PROFIBUS I/O
16-bit signed
Writing a data word (16-bit) to PROFIBUS I/O
32-bit signed
Writing a data double word (32-bit) to PROFIBUS I/O
32-bit REAL
Writing output data (32-bit REAL) to PROFIBUS I/O
Value
Meaning
8-bit unsigned
Reading a data byte (8-bit) from PROFIBUS I/O
16-bit unsigned
Reading a data word (16-bit) from PROFIBUS I/O
8-bit signed
Reading a data byte (8-bit) from PROFIBUS I/O
16-bit signed
Reading a data word (16-bit) from PROFIBUS I/O
32-bit signed
Reading a data double word (32-bit) from PROFIBUS I/O
32-bit REAL
Reading of output data (32-bit REAL) from PROFIBUS I/O
Value
Meaning
32-bit bit array
Reading all configured input data ranges of the PROFIBUS I/O
32-bit bit array
Reading all configured output data ranges of the PROFIBUS I/O
A4: Digital and analog NCK I/Os for SINUMERIK 840D sl
1.3 Access via PROFIBUS
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents