EasyManuals Logo

Siemens SINUMERIK 804D sl Programming Manual

Siemens SINUMERIK 804D sl
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #420 background imageLoading...
Page #420 background image
<value>: Value, which the array elements should be written when in‐
itializing with REP.
<number_array_elements>: Number of array elements to be written with the
specified <value>. The following apply to the remaining ar‐
ray 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 un‐
changed.
If the parameter is not programmed, all array elements are
written with <value>.
If the parameter equals zero, the following apply dependent
on the point in time:
Initialization when defining the array:
→ All elements are pre-assigned zero
Assignment during program execution:
→ The actual values of the array elements remain un‐
changed.
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)
FELD[0,0,0] = 1 1. array element
FELD[0,0,1] = 1 2. array element
FELD[0,0,2] = 1 3. array element
FELD[0,0,3] = 1 4. array element
...
FELD[0,1,0] = 1 5. array element
FELD[0,1,1] = 1 6. array element
...
FELD[0,2,3] = 1 12. array element
FELD[1,0,0] = 1 13. array element
FELD[1,0,1] = 1 14. array element
...
FELD[1,2,3] = 1 24. array element
corresponding to:
FOR n=0 TO 1
FOR m=0 TO 2
FOR o=0 TO 3
Work preparation
3.1 Flexible NC programming
NC programming
420 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 804D sl and is the answer not in the manual?

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals