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>]
Meaning
$A_DLB
$A_DLW
$A_DLD
$A_DLR
<index>
Example
An automation system contains 2 NCUs (NCU1 and NCU2). Machine axis AX2 is connected
to NCU1. It is traversed as a link axis of NCU2.
NCU1 writes the actual current value ($VA_CURR) of axis AX2 cyclically to the link variables
memory. NCU2 reads the actual current value transmitted via link communication cyclically
and displays alarm 61000 if the limit value is exceeded.
22
:
Link variable for BYTE data format (1 byte)
Data type:
Range of values:
:
Link variable for WORD data format (2 bytes)
Data type:
Range of values:
:
Link variable for DWORD data format (4 bytes)
Data type:
Range of values:
:
Link variable for REAL data format (8 bytes)
Data type:
Range of values:
:
Address index in bytes, counted from the start of the link variable memory
Data type:
Range of values:
UINT
0 ... 255
INT
-32768 ... 32767
INT
-2147483648 ... 2147483647
REAL
±(2.2*10
... 1.8*10
-308
+308
INT
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.
: i = 0, 1, 2, ...
$A_DLB[i]
: i = 0, 2, 4, ...
$A_DLW[i]
: i = 0, 4, 8, ...
$A_DLD[i]
: i = 0, 8, 16, ...
$A_DLR[i]
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
)
Job Planning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents