Siemens SINUMERIK 840D sl Programming Manual page 421

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

ENDFOR
ENDFOR
Example: Initializing complete variable arrays
For the actual assignment, refer to the diagram.
Program code
N10 DEF REAL FELD1[10,3]=SET(0,0,0,10,11,12,20,20,20,30,30,30,40,40,40,)
N20 ARRAY1[0,0] = REP(100)
N30 ARRAY1[5,0] = REP(-100)
N40 FELD1[0,0]=SET(0,1,2,-10,-11,-12,-20,-20,-20,-30, , , ,-40,-40,-50,-60,-70)
N50 FELD1[8,1]=SET(8.1,8.2,9.0,9.1,9.2)
See also
Definition and initialization of array variables (DEF, SET, REP) (Page 417)
Variables (Page 389)
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
FELD[n,m,o] = 1
ENDFOR
Work preparation
3.1 Flexible NC programming
421

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents