Value Assignments; Comments - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

T
D
M
H
Note
Certain addresses can be used repeatedly within a block, e.g.
G..., M..., H...
2.2.2.3

Value assignments

Values can be assigned to the addresses. The following rules apply:
● An "=" sign must be inserted between the address and the value if:
– The address comprises more than one letter.
– The value includes more than one constant.
The "=" sign can be omitted if the address is a single letter and the value consists of only one
constant.
● Signs are permitted.
● Separators are permitted after the address letter.
Examples:
X10
X1=10
X=10*(5+SIN(37.5))
Note
A numeric extension must always be followed by one of the special characters "=", "(", "[", ")",
"]", ",", or an operator, in order to distinguish an address with numeric extension from an
address letter with a value.
2.2.2.4

Comments

To make an NC program easier to understand, comments can be added to the NC blocks.
A comment is at the end of a block and is separated from the program section of the NC block
by a semicolon (";").
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Tool
Tool offset number
Additional function
Auxiliary function
Value assignment (10) to address X, "=" not required
Value assignment (10) to address (X) with numeric extension (1), "="
required
Value assignment by means of a numeric expression, "=" required
2.2 Fundamental Principles of NC Programming
Fundamentals
47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents