Chapter 3 G Commands
145
Ⅰ
Progra
mming
Argument address and corresponding variable No. table in method II
Address
Variable No.
Address
Variable No.
Address
Variable No.
A
#1 K
3
#12
J
7
#23
B
#2 I
4
#13 K
7
#24
C #3 J
4
#14
I
8
#25
I
1
#4 K
4
#15
J
8
#26
J
1
#5
I
5
#16 K
8
#27
K
1
#6
J
5
#17
I
9
#28
I
2
#7 K
5
#18
J
9
#29
J
2
#8
I
6
#19 K
9
#30
K
2
#9
J
6
#20 I
10
#31
I
3
#10 K
6
#21 J
10
#32
J
3
#11
I
7
#22 K
10
#33
Note 1: The subscripts of I, J, K are used to confirming the specified sequence of argument, and are not
written in the actual programming.
Note 2: The system can identify the variable number according to the present sequence and times of I, J, K in
the method.
If the block has
: G65 P9010 A1 B2 C3 I14 J15 I6 J7 K9 K11 K12 J30;
Call program O9010, transfer the argument A1 to the local variable, and their corresponding
relationship as follows:
#1=1
,
#2=2
,
#3=3
,
#4=14
,
#5=15
,
#7=6
,
#8=7
,
#6=9
,
#9=11
,
#12=12
,
#11=30
;
The specified method I, II compound of argument: CNC can automatically identifies the specified
method I and II of the argument. When the two methods are specified together, the later specifies is
valid.
Argument specifying mode I, II compound:
CNC internal can automatically identify the argument specifying mode I and II. When the two
modes are specified, the later specified is valid.
3.25.3.2 Modal call G66
Command format:
G66 P_ L_ <argument>_;
Command explanation:
P
——
called macro program number
L
——
called times (it is 1 when it is omitted, it can be the repetitive
times from 1 to 9999)
<argument>
——
data sent to macro program is valued with the
corresponding local variable.
Nest call:
G65 call has four-level nest.
Modal call explanation:
1. Macro program is called firstly after G66 block is executed.
2. The macro program is called again after G00, G01, G02, G03, G05 are executed
(after G66 is executed and before the modal call is cancelled).
3. Call the value which is updated from the argument to the local variable.
4. G65 call will automatically cancel G66 modal call.
3.25.3.3 Modal call cancel G67
z
Modal call cancel (G67)
Summary of Contents for GSK980TDc
Page 17: ...I Programming ...
Page 18: ...GSK980TDc Turning CNC System User Manual ...
Page 190: ...GSK980TDc Turning CNC System User Manual 172 Ⅰ Programming ...
Page 191: ...Ⅱ Operation Ⅱ Operation ...
Page 192: ...GSK980TDc Turning CNC System User Manua Ⅱ Operation ...
Page 326: ...GSK980TDc Turning CNC System User Manual 306 Ⅱ Operation ...
Page 327: ...Ⅲ Connection Ⅲ Connection ...
Page 328: ...GSK980TDc Turning CNC System User Manual Ⅲ Connection ...
Page 470: ...GSK980TDc Turning CNC System User Manual 448 Ⅲ Connection ...