Siemens SINUMERIK 840D sl Programming Manual page 22

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

Advertisement

Flexible NC programming
1.1 Variables
Syntax
$A_DLB[<index>]
$A_DLW[<index>]
$A_DLD[<index>]
$A_DLR[<index>]
Significance
$A_DLB:
$A_DLW:
$A_DLD:
$A_DLR:
<index>:
22
Link variable for BYTE data format (1 byte)
Data type:
UINT
Range of values: 0 to 255
Link variable for WORD data format (2 bytes)
Data type:
INT
Range of values: -32768 to 32767
Link variable for DWORD data format (4 bytes)
Data type:
INT
Range of values: -2147483648 to 2147483647
Link variable for REAL data format (8 bytes)
Data type:
REAL
Range of values: ±(2,2*10
Address index in bytes, counted from the start of the link variable memory
Data type:
INT
Range of values: 0 - MAX_INDEX
Note
• MAX_INDEX is calculated from the parameterized
size of the link variables memory: MAX_INDEX =
(MD18700 $MN_MM_SIZEOF_LINKVAR_DATA) - 1
• Only indices may be programmed, so that the bytes
addressed in the link variables memory are located
on a data format limit ⇒
Index = n * bytes, where n = 0, 1, 2, etc.
– $A_DLB[i]: i = 0, 1, 2, etc.
– $A_DLW[i]: i = 0, 2, 4, etc.
– $A_DLD[i]: i = 0, 4, 8, etc.
– $A_DLR[i]: i = 0, 8, 16, etc.
... 1,8*10
)
-308
+308
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents