Siemens SINUMERIK 828D Programming Manual page 49

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

<number_array_elements>
Array index
The implicit sequence of the array elements, e.g. in the case of value assignment using SET
or REP, is right to left due to iteration of the array index.
Example: Initialization of a 3-dimensional array with 24 array elements:
DEF INT FELD[2,3,4] = REP(1,24)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
FELD[0,0,0] = 1
FELD[0,0,1] = 1
FELD[0,0,2] = 1
FELD[0,0,3] = 1
...
FELD[0,1,0] = 1
FELD[0,1,1] = 1
...
FELD[0,2,3] = 1
FELD[1,0,0] = 1
FELD[1,0,1] = 1
...
FELD[1,2,3] = 1
:
Number of array elements to be written with the
specified
remaining array elements, dependent on the point in
time:
• Initialization when defining the array:
→ Zero is written to the remaining array elements.
• Assignment during program execution:
→ The actual values of the array elements remain
unchanged.
If the parameter is not programmed, all array
elements are written with
If the parameter equals zero, the following apply
dependent on the point in time:
• Initializing when defining the array:
→ All elements are pre-assigned zero
• Assignment during program execution:
→ The actual values of the array elements remain
unchanged.
1st array element
2nd array element
3rd array element
4th array element
5th array element
6th array element
12th array element
13th array element
14th array element
24th array element
Flexible NC programming
. The following apply to the
<value>
<value>
1.1 Variables
.
49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents