
B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO
- 677 -
- Argument specificationII
Argument specification II uses A, B, and C once each and uses I, J,
and K up to ten times. Argument specification II is used to pass
values such as three-dimensional coordinates as arguments.
Address
Variable
number
Address
Variable
number
Address
Variable
number
A
B
C
I
1
J
1
K
1
I
2
J
2
K
2
I
3
J
3
#1
#2
#3
#4
#5
#6
#7
#8
#9
#10
#11
IK
3
I
4
J
4
K
4
I
5
J
5
K
5
I
6
J
6
K
6
I
7
#12
#13
#14
#15
#16
#17
#18
#19
#20
#21
#22
J
7
K
7
I
8
J
8
K
8
I
9
J
9
K
9
I
10
J
10
K
10
#23
#24
#25
#26
#27
#28
#29
#30
#31
#32
#33
- Subscripts of I, J, and K for indicating the order of argument
specification are not written in the actual program.
Limitation
- Format
G65 must be specified before any argument.
- Mixture of argument specifications I and II
The CNC internally identifies argument specification I and argument
specification II. If a mixture of argument specification I and argument
specification II is specified, the type of argument specification
specified later takes precedence.
- Position of the decimal point
The units used for argument data passed without a decimal point
correspond to the least input increment of each address. The value of
an argument passed without a decimal point may vary according to the
system configuration of the machine. It is good practice to use decimal
points in macro call arguments to maintain program compatibility.
The number of decimal positions in an argument if it is specified
without a decimal point is as follows:
Address Metric input Inch input
D,E
*1
,H,M,S,T 0 0
I,J,K,Q,R,U,V,W,X,Y,Z α
*2
α+1
*2
A,B,C α
*2
α+1(α)
*2 *3
G95 mode 4F
G94 mode 0(1)
*4
2
Second auxiliary function address β
*5
β
*5