Names - Siemens Sinumerik 840D sl Programming Manual

Fundamentals
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

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
16.5

Names

The commands according to DIN 66025 are supplemented with named objects, etc. by the
NC high-level language.
The named objects include:
● 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.
Fundamentals
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
Comment
; Axis X4; "=" is required
; Two letters; "=" are required
; Speed for first 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.
Other information
16.5 Names
381

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents