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.5 Assignments
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1-17
1.5 1.5 Assignments
Function
Values of a suitable type can be assigned to the variables/arithmetic parameters in the
program.
Programming
Assignments to axis addresses (traversing instructions) always require a separate block to
variable assignments. Assignment to axis addresses (traverse instructions) must be in a
separate block from the variable assignments.
Parameters
Assignment to string variable
CHARs and STRINGs distinguish between upper and lower case.
If you want to include an ' or " in the string, put it in single quotes '...'.
Example:
MSG("Viene lavorata l'''ultima figura")
displays the text 'Viene lavorata l'ultima figura' on the screen.
The string can contain non-displayable characters if they are specified as binary or
hexadecimal constants.
Example
R1=10.518 R2=4 VARI1=45
X=47.11 Y=R2
;Assignment of a numeric value
R1=R3 VARI1=R4 ;Assignment of a suitable type variable
R4=-R5 R7=-VARI8 ;Assignment with opposite sign
;(only permitted for INT and REAL types)

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Related product manuals