EasyManuals Logo

Siemens SINUMERIK Series Function Manual

Siemens SINUMERIK Series
956 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #59 background imageLoading...
Page #59 background image
A4: Digital and analog NCK I/Os for SINUMERIK 840D sl
1.3 Access via PROFIBUS
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
59
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 Value Meaning
$A_DPB_OUT[<n>,<m>] 8-bit unsigned Writing a data byte (8-bit) to PROFIBUS I/O
$A_DPW_OUT[<n>,<m>] 16-bit unsigned Writing a data word (16-bit) to PROFIBUS I/O
$A_DPSB_OUT[<n>,<m>] 8-bit signed Writing a data byte (8-bit) to PROFIBUS I/O
$A_DPSW_OUT[<n>,<m>] 16-bit signed Writing a data word (16-bit) to PROFIBUS I/O
$A_DPSD_OUT[<n>,<m>] 32-bit signed Writing a data double word (32-bit) to PROFIBUS I/O
$A_DPR_OUT[<n>,<m>] 32-bit REAL Writing output data (32-bit REAL) to PROFIBUS I/O
<n> = index for the output data range; <m> = byte index for the data
Table 1- 5 PROFIBUS I/O → NCK
System variable Value Meaning
$A_DPB_IN[<n>,<m>] 8-bit unsigned Reading a data byte (8-bit) from PROFIBUS I/O
$A_DPW_IN[<n>,<m>] 16-bit unsigned Reading a data word (16-bit) from PROFIBUS I/O
$A_DPSB_IN[<n>,<m>] 8-bit signed Reading a data byte (8-bit) from PROFIBUS I/O
$A_DPSW_IN[<n>,<m>] 16-bit signed Reading a data word (16-bit) from PROFIBUS I/O
$A_DPSD_IN[<n>,<m>] 32-bit signed Reading a data double word (32-bit) from PROFIBUS I/O
$A_DPR_IN[<n>,<m>] 32-bit REAL Reading of output data (32-bit REAL) from PROFIBUS I/O
<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 Value Meaning
$A_DP_IN_CONF 32-bit bit array Reading all configured input data ranges of the PROFIBUS I/O
$A_DP_OUT_CONF 32-bit bit array Reading all configured output data ranges of the PROFIBUS I/O

Table of Contents

Other manuals for Siemens SINUMERIK Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK Series and is the answer not in the manual?

Siemens SINUMERIK Series Specifications

General IconGeneral
Axes ControlUp to 31 axes
CategoryControl Unit
ManufacturerSiemens
SeriesSINUMERIK
Control TypeCNC
Communication InterfacesEthernet, USB
Operating Temperature0°C to 45°C
Protection ClassIP20
Power Supply24V DC
DisplayColor TFT LCD

Related product manuals