EasyManua.ls Logo

Fagor CNC 8070 - Page 498

Fagor CNC 8070
556 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
Loading...



Programming manual
486
CNC 8070
15.
STATEMENTS AND INSTRUCTIONS
Programming statements
(SOFT V02.0X)
464
Definition of arithmetic operations in the macros.
When including arithmetic operations in the definition of a macro, the
whole arithmetic operation must be included.
Concatenating of macros. Including macros in the definition of
other macros.
The definition of a macro can include other macros. In this case, one
of the macros included in the definition must be delimited with the \"
characters (\"macro\").
#INIT MACROTAB Resetting the table of macros
When defining a macro from a program (or MDI), it is stored in a CNC
table so it is available for all the rest of the programs. This instruction
resets the table of macros erasing the ones stored in it.
Correct definition of a macro.
#DEF "MACRO1"="P1*3"
#DEF "MACRO2"="SIN [\"MACRO1\"]"
The following macros are defined wrong.
#DEF "MACRO1"="56+"
#DEF "MACRO2"="12"
#DEF "MACRO3="\"MACRO1\"\"MACRO2\""
#DEF "MACRO4"="SIN["
#DEF "MACRO5"="45]"
#DEF "MACRO6="\"MACRO4\"\"MACRO5\""
Example1
#DEF "MACRO1"="X20 Y35"
#DEF "MACRO2"="S1000 M03"
#DEF "MACRO3"="G01 \"MA1\" F100 \"MA2\""
Example 2
#DEF "POS"="G1 X0 Y0 Z0"
#DEF "START"="S750 F450 M03"
#DEF "MACRO"="\"POS\" \"START\""

Table of Contents

Other manuals for Fagor CNC 8070

Related product manuals