Siemens SINUMERIK 840D sl Programming Manual page 575

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Parameters
Link variables are stored in the link memory. After power-up, the link memory is initialized
with 0.
The following link variables can be addressed within the link memory:
• INT $A_DLB[i] ;data byte (8 bits)
• INT $A_DLW[i] ;data word (16 bits)
• INT $A_DLD[i] ;double data word (32 bits)
• REAL $A_DLR[i] ;real data (64 bits)
According to the data type, 1, 2, 4, 8 bytes are addressed when reading/writing the link
variables.
Index i defines the start of the respective variable in relation to the start of the configured link
memory. The index is counted from 0.
Ranges of values
The data types have the following value ranges:
BYTE: 0 to 255
WORD: -32768 to 32767
DWORD: -2147483648 to 2147483647
REAL: -4.19e-308 to 4.19e-307
Example
$A_DLB[5]=21
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
The 5th byte in the shared link memory is assigned value 21.
Additional functions
13.8 Link communication
13-43

Advertisement

Table of Contents
loading

Table of Contents