Siemens sinumerik 840d Programming Manual page 119

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

12.98
2
840D
840D
NCU 572
NCU 571
NCU 573
Programming:
Macros are identified with the vocabulary word
DEFINE...AS.
The macro definition is as follows:
DEFINE NAME AS
Example:
Macro definition:
DEFINE LINE AS G1 G94 F300
Call in the NC program:
N20
LINE X10 Y20
Activate macro
• up to SW 4
Macros are active after control POWER ON.
• SW 5 and higher
The macro is active when it is loaded into the NC
("Load" softkey).
Three-digit M/G function (as of SW 5)
• up to SW 4
After a three-digit M function is programmed,
alarm 12530 is issued.
• SW 5 and higher
Supports programming of three-digit M and G
functions.
Example:
N20 DEFINE M100 AS M6
N80 DEFINE M999 AS M6
Additional notes
Nesting of macros is not possible.
Two-digit H and L functions can be programmed.
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
810D
840Di
<Instruction>
Subprograms, Macros
2
2.13 Macros
2-119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents