Definition And Initialization Of Array Variables (Def, Set, Rep) - Siemens SINUMERIK 828D Programming Manual

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

Advertisement

Flexible NC programming
1.1 Variables
User data
Data type
R-parameters
Synchronized action variable ($AC_...)
Synchronized action GUD (SYG_...)
EPS parameters
Tool data OEM
Magazine data OEM
Global user variables (GUD)
Local user variables (PUD/LUD)
See also
General information about variables (Page 15)
1.1.12

Definition and initialization of array variables (DEF, SET, REP)

Function
A user variable can be defined as a 1- up to a maximum of a 3-dimensional array.
● 1dimensional:
● 2dimensional:
● 3dimensional:
Note
STRING data type user variables can be defined as up to a maximum of 2-dimensional
arrays.
Data types
User variables can be defined as arrays for the following data types: BOOL, CHAR, INT,
REAL, STRING, AXIS, FRAME
Assignment of values to array elements
Values can be assigned to array elements at the following points in time:
● During array definition (initialization values)
● During program execution
46
Init. value
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF/REDEF
DEF
DEF <data type> <variable name>[<n>]
DEF <data type> <variable name>[<n>,<m>]
DEF <data type> <variable name>[<n>,<m>,<o>]
Limit values
Physical unit
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF
DEF
DEF
DEF
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Access rights
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF/REDEF
---
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents