Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
13. CUSTOM MACRO
B–63174EN/03
126
Two types of argument specification are available. Argument
specification I uses letters other than G, L, O, N, and P once each.
Argument specification II uses A, B, and C once each and also uses I, J,
and K up to ten times. The type of argument specification is determined
automatically according to the letters used.
Argument specification I
A
B
C
D
E
F
H
#1
#2
#3
#7
#8
#9
#11
I
J
K
M
Q
R
S
#4
#5
#6
#13
#17
#18
#19
T
U
V
W
X
Y
Z
#20
#21
#22
#23
#24
#25
#26
Address
Variable
number
Address Address
Variable
number
Variable
number
Addresses G, L, N, O, and P cannot be used in arguments.
Addresses that need not be specified can be omitted. Local variables
corresponding to an omitted address are set to null.
Argument specification II
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.
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
K
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
Address
Variable
number
Address Address
Variable
number
Variable
number
Subscripts of I, J, and K for indicating the order of argument
specification are not written in the actual program.
G65 must be specified before any argument.
The NC 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.
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.
Argument specification
Limitations
Format
Mixture of argument
specifications I and II
Position of the decimal
point

Leave a Reply

Your email address will not be published. Required fields are marked *