EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK 810D

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #17 background imageLoading...
Page #17 background image
Flexible NC programming
1.2 Variable definition (DEF user-defined variables LUD, GUD, PUD)
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1-3
1.2 1.2 Variable definition (DEF user-defined variables LUD, GUD, PUD)
Function
In addition to the predefined variables, programmers can define and initialize their own
variables.
Local variables (LUD) are only valid in the program where they are defined.
Global variables (GUD) are valid in all programs.
Machine data are used to redefine the local user variables (LUD) defined in the main
program as program-global user variables (PUD).
Machine manufacturer
See machine manufacturer's specifications.
Programming
Variable type INT
DEF INT name
or
DEF INT name=value
Variable type REAL
DEF REAL name
or
DEF REAL name1,name2=3,name4
or
DEF REAL name[array_index1,array_index2]
Variable type BOOL
DEF BOOL name
Variable type CHAR
DEF CHAR name
or
DEF CHAR name[array_index2]=("A","B",…)
Variable type STRING
DEF STRING[string_length] name
Variable type AXIS
DEF AXIS name
or
DEF AXIS name[array_index]
Variable type FRAME
DEF FRAME name

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 810D and is the answer not in the manual?

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals