Category B Macro Function; Variable Instruction - Adtech ADTECH9 Series Programming Manual

Table of Contents

Advertisement

4.1 Variable instruction

Function:
All the address values in the program are not described with fixed value, and are replaced with variables; when
the program is running, variables are referenced to improve the versatility of the program. This function is
called as variable instruction.
Format:
#△△△=○○○○○○○○○ or #△△△=[ expression ]
Details:
(1) Representation of variables:
(a) # m ......
(b) # [f]......
Note:
Standard operating symbols are +, -, ×, /.
When the function expression is ignored, the function can't be executed.
The variable No. can't be negative, e.g. # -100 is illegal.
Below are false variable representations:
False
#6/2
#-[#1]
ADTECH9 Series CNC Programming Manual

4. Category B macro function

M=0~9 constituted value
f has the following meanings
Value m
Variable
Expression
- (symbol) expression
Function expression
#100
123
#543
#110+#119
-#120
SIN [#110]
Correct
#[6/2]
#[-#1]

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADTECH9 Series and is the answer not in the manual?

This manual is also suitable for:

Cnc seriesCnc9640Cnc9650Cnc9960Cnc9810Cnc9810e

Table of Contents