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

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

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
Variables (Page 17)
1.1.11

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.
● 1-dimensional:
● 2-dimensional:
● 3-dimensional:
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
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
DEF/REDEF
DEF <data type> <variable name>[<n>]
DEF <data type> <variable name>[<n>,<m>]
DEF <data type> <variable name>[<n>,<m>,<o>]
Note
STRING data type user variables can be defined as up to a maximum of 2-dimensional
arrays.
Init. value
Limit values
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF
DEF
DEF
Flexible NC programming
1.1 Variables
Physical unit
Access rights
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF
DEF/REDEF
DEF
---
45

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents