EasyManuals Logo

Adtech ADTECH9 Series Programming Manual

Adtech ADTECH9 Series
161 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 #102 background imageLoading...
Page #102 background image
ADTECH9 Series CNC Programming Manual
#――5
#[[5]]
(2) Types of variables
Type
Variable
Function description
Global variable
#100~#199
#500~#999
Both main program and subroutine can be called
#100~#199 are non-retentive variables, and will be
reset automatically when the system is repowered
#500~#999 are retentive variables, and the values still
exist when the system power system is cut off.
Local variable
#1~#32
Can be called in the same program
System variable
No
(3) Variable reference
(a)
Except O, N and / (slash)
(b)
Specify with variables directly
G01X#1Y#100
(c)
Take the complement of the variables directly
G01X-#2
(d)
Variable defines variable
#3=-#105 ; take the complement of #105 directly and evaluate to #3
#4=1000 ; evaluate 1000 to #4 directly
(e)
Define the evaluation with expression
#1=#3+#2-100; the value #1 equals to the result of #3+#2-100
X[#1+#3+1000]; the value of X is the result of expression
[#1+#3+1000]
Note:
Function evaluation and expression evaluation must be written separately, and can’t be in the same line.
False
Correct
X#1#3100
#1#3100
X#1
[] can be embedded up to five levels.

Table of Contents

Other manuals for Adtech ADTECH9 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Adtech ADTECH9 Series Specifications

General IconGeneral
BrandAdtech
ModelADTECH9 Series
CategoryControl Systems
LanguageEnglish

Related product manuals