EasyManuals Logo

Siemens SINUMERIK 840D Programming Guide

Siemens SINUMERIK 840D
598 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
Page #119 background imageLoading...
Page #119 background image
2
12.98 Subprograms, Macros
2.13 Macros
2
840D
NCU 571
840D
NCU 572
NCU 573
810D 840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
2-119
Programming:
Macros are identified with the vocabulary word
DEFINE...AS
.
The macro definition is as follows:
DEFINE NAME AS
<Instruction>
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.

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals