EasyManuals Logo

Siemens SINUMERIK 840D Programming Guide

Siemens SINUMERIK 840D
598 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 #38 background imageLoading...
Page #38 background image
1
Flexible NC Programming 04.00
1.5 Assi
g
nments
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
1-38
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1.5 Assignments
Values of matching types can be assigned to
variables/arithmetic parameters in the program.
The assignment is always made in a separate block;
up to two assignments are possible per block.
Assignments to axis addresses (traversing
instructions) always require a separate block to
variable assignments.
Programming example
R1=10.518 R2=4 VARI1=45
X=47.11 Y=R2
Assignment of numeric value
R1=R3 VARI1=R4
Assignment of a variable of matching type
R4=-R5 R7=-VARI8
Assignment of opposite leading sign (only
allowed with types INT and REAL)
Assignment to string variables
A distinction is made between upper and lower case
characters within a CHAR or STRING.
If ' or " are to be included in the character string,
these should be enclosed in '...'.
Example:
MSG("Viene lavorata l' ''ultima
figura")
displays the text 'Viene lavorata l'ultima figura' on the
screen.
Non-displayable characters can be stored in the
string as binary or hexadecimal constants.

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals