Initialization Of Array Variables (Set, Rep) - Siemens SINUMERIK 828D Function Manual

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

Advertisement

Detailed description
2.3 System variables for synchronized actions
2.3.20

Initialization of array variables (SET, REP)

Function
Array variables can also be initialized in synchronized actions via the
commands.
For a detailed description of the commands, refer to:
References
Programming Manual, Job Planning; Section "Flexible NC programming" > "Variables" >
"Definition and initialization of array variables (DEF, SET, REP)"
Example
Program code
PROC MAIN
N10 DEF REAL SYG_IS[3,2]
...
WHEN TRUE DO SYG_IS[0,0]=REP(0.0,3)
WHEN TRUE DO SYG_IS[1,1]=SET(3,4,5)
...
Supplementary conditions
● Only array variables that can be written in synchronized actions are initialized.
● Axis-specific variables can be initialized with the value
56
and
SET
.
NO_AXIS
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
REP
Synchronized actions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents