EasyManuals Logo

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 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 #205 background imageLoading...
Page #205 background image
Flexible NC programming
1.26 Macro technique (DEFINE ... AS)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
205
Example 3: External macro file
The macro file must be downloaded into the NC after reading-in the external macro file into
the control. Only then can macros be used in the NC program.
Program code Comments
%_N_UMAC_DEF
;$PATH=/_N_DEF_DIR ; Customer-specific macros
DEFINE PI AS 3.14
DEFINE TC1 AS M3 S1000
DEFINE M13 AS M3 M7 ; Spindle clockwise, coolant on
DEFINE M14 AS M4 M7 ; Spindle counterclockwise, coolant on
DEFINE M15 AS M5 M9 ; Spindle stop, coolant off
DEFINE M6 AS L6 ; Call tool change program
DEFINE G80 AS MCALL ; Deselect drilling cycle
M30

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals