Siemens sinumerik 840d Programming Manual page 28

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Flexible NC Programming
1
1.2
Variable definition
840D
840D
NCU 571
NCU 572
NCU 573
Variable type BOOL
DEF BOOL IF_TOOMUCH
DEF BOOL IF_TOOMUCH=1 or
DEF BOOL IF_TOOMUCH=TRUE or
DEF BOOL IF_TOOMUCH=FALSE
Variable type CHAR
DEF CHAR GUSTAV_1=65
DEF CHAR GUSTAV_1="A"
Variable type STRING
DEF STRING[6] SAMPLE_1="START"
Variable type AXIS
DEF AXIS AXISNAME=(X1)
Variable type FRAME
DEF FRAME INCLINE_1
1-28
FM-NC
810D
840Di
A variable of type BOOL is created with the
name IF_TOOMUCH.
The system initializes the variable with zero
(FALSE).
A variable of type BOOL is created with the
name IF_TOOMUCH.
You can assign a code for the ASCII
character to the variable of type CHAR or
assign the ASCII character directly (65 is the
code for the letter "A").
Variables of type STRING can store a string
of characters. The maximum number of
characters is enclosed in square brackets
after the variable type.
The variables of type AXIS have the name
AXISNAME and contain the axis identifier of
a channel – here X1 (axis names with
extended addresses are enclosed in
parentheses).
The variables of type FRAME are called
INCLINE_1.
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
04.00
1
 Siemens AG 2000. All rights reserved

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents