EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
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 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