EasyManuals Logo

Adtech CNC9650 Programming Manual

Default Icon
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 #109 background imageLoading...
Page #109 background image
ADTECH9 Series CNC Programming Manual
4.5
Types of variables
(1) Public variables
Any bit address can use public variables, which contain 600 groups; among those, #100~#199 are
non-retentive public variables after power failure, #500~#999 are retentive public variables.
(2) Local variables (#1-#32)
When calling subroutine, local variables can be defined with <argument> and only can be used in
programs; the local variable of every macro program is independent, and thus can be repeated. (up to four
levels)
G65 Pp1 Ll1 <argument>;
p1
: subroutine No.
l1
: repeat times
<Arguments> are Aa1 Bb1 Cc1… Zz1, etc.; the bit address specified by <argument> and the local
variables in the subroutine are shown below:
Bit address
Variable No.
Subroutine
Bit address
Variable No.
Subroutine
A
#1
N
×
×
B
#2
O
×
×
C
#3
P
×
×
D
#7
Q
#17
E
#8
R
#18
F
#9
S
#19
G
×
×
T
#20
H
#11
U
#21
I
#4
V
#22
J
#5
W
#23
K
#6
X
#24
L
×
×
Y
#25
M
#13
Z
#26
The argument bit addresses marked with “×” can’t be used.
The argument bit addresses marked with “○” can be used.
While calling macro program, the local variables in subroutine can be defined by specifying the

Table of Contents

Other manuals for Adtech CNC9650

Questions and Answers:

Question and Answer IconNeed help?

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

Adtech CNC9650 Specifications

General IconGeneral
BrandAdtech
ModelCNC9650
CategoryControl Systems
LanguageEnglish

Related product manuals