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

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

Advertisement

Data type
Sag compensation (CEC)
Quadrant error compensation (QEC)
Magazine data
Tool data
Protection areas
Toolholder, with orientation capability
Kinematic chains
3D protection areas
Working area limitation
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 389)
3.1.1.12

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

A user variable can be defined as a 1- up to a maximum of a 3-dimensional array.
● 1-dimensional: DEF <data type> <variable name>[<n>]
● 2-dimensional: DEF <data type> <variable name>[<n>,<m>]
● 3-dimensional: 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.
Data types
User variables can be defined as arrays for the following data types: BOOL, CHAR, INT, REAL,
STRING, AXIS, FRAME
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Init. value
Limit values
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Init. value
Limit values
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF/REDEF
DEF
DEF
DEF
3.1 Flexible NC programming
Physical unit
Access rights
---
REDEF
---
REDEF
---
REDEF
---
REDEF
---
REDEF
---
REDEF
---
REDEF
---
REDEF
---
REDEF
Physical unit
Access rights
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
REDEF
DEF
DEF/REDEF
---
DEF
Work preparation
Data class
(only 828D)
---
---
---
---
---
---
---
---
---
Data class
---
---
---
---
---
---
DEF/REDEF
---
417

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents