Names - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Fundamentals
2.15 Other information
Program code
X4=20
CR=7.3
S1=470
M3=5
The numeric extension can be replaced by a variable for addresses M, H, S and for SPOS and
SPOSA. The variable identifier is enclosed in square brackets.
Examples:
Program code
S[SPINU]=470
M[SPINU]=3
T[SPINU]=7
2.15.5

Names

The commands according to DIN 66025 are supplemented with named objects, etc. by the NC
high-level language.
Examples of named objects:
● System variables
● User-defined variables
● Axes/spindles
● Subprograms
● Keywords
● Jump markers
● Macros
Note
Identifiers must be unique. It is not permissible to use the same identifier for different objects.
382
Comment
; Axis X4; "=" is required
; Two letters; "=" are required
; Speed for 1st spindle: 470 rpm
; Spindle stop for 3rd spindle
Comment
; Speed for the spindle whose number is stored in the SPINU vari-
able.
; Clockwise rotation for the spindle whose number is stored in the
SPINU variable.
; Selection of the tool for the spindle whose number is stored in
the SPINU variable.
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents