Siemens sinumerik 840d Programming Manual page 33

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
1
840D
840D
NCU 571
NCU 572
NCU 573
2. Options during program execution
ARRAY[n,m]= SET(value, value, value,...)
ARRAY[n,m]= SET(expression,
expression, expression,...)
• Field elements are initialized as described above
for array definition.
• Expressions may also be used here as
initialization values.
• Initialization starts at the programmed array
indices. Values can also be assigned selectively
to subarrays.
Example:
Assignment of expressions
DEF INT ARRAY[5, 5]
ARRAY[0,0] = SET(1, 2, 3, 4, 5)
ARRAY[2,3] = SET(VARIABLE, 4*5.6)
The axis index is not processed for axis variables.
Example:
Initialization on one line
$MA_AX_VELO_LIMIT[1, AX1] = SET(1.1, 2.2, 3.3)
Corresponds to:
$MA_AX_VELO_LIMIT[1,AX1] = 1.1
$MA_AX_VELO_LIMIT[2,AX1] = 2.2
$MA_AX_VELO_LIMIT[3,AX1] = 3.3
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
FM-NC
810D
840Di
Flexible NC Programming
1.3
Array definition
1
1-33

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents