EasyManua.ls Logo

Siemens SINUMERIK 810D

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
Loading...
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-5
BOOL
DEF BOOL IF_TOO_MUCH This creates a variable of type BOOL with the
name IF_TOO_MUCH.
System initializes with zero (FALSE).
DEF BOOL IF_TOO_MUCH=1 or
DEF BOOL IF_TOO_MUCH=TRUE or
DEF BOOL IF_TOO_MUCH=FALSE
This creates a variable of type BOOL with the
name IF_TOO_MUCH.
CHAR
DEF CHAR GUSTAV_1=65 A code value for the corresponding ASCII
character or the ASCII character itself
DEF CHAR GUSTAV_1="A" can be assigned to a variable of type CHAR (code
value 65 corresponds to letter "A").
STRING
DEF STRING[6] MUSTER_1="BEGIN" Variables of type string can contain a string
(sequence of characters). The maximum number
of characters is enclosed in square brackets after
the variable type.
AXIS
DEF AXIS AXIS_NAME=(X1) The variables of type AXIS have the name
AXIS_NAME and contain the axis designation of a
channel - here X1.
(Axis names with extended address are specified
within parentheses.)
FRAME
DEF FRAME BEVEL_1 Variables of type FRAME have names like
BEVEL_1.
Note
A variable of type AXIS can contain an axis identifier and a spindle identifier of a channel.
Note
Axis names with an extended address must be enclosed in parentheses.

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Related product manuals