Fanuc Power Mate i-D/H Operation Maintenance Handbook

3
1
4
5
6
7
8
9
10
2
108
5.5 Control Command
Purpose Expression
Kind of
operation
Conditional branch IF [<conditional expression>] #j EQ #k (=)
GOTO n
#j NE #k (0)
Branch to sequence number n.
#j GT #k (>)
Conditional execution IF [<conditional expression>]
THEN st
#j LT #k (<)
Execute macro statement st.
#j GE #k (y)
#j LE #k (x)
Iteration WHILE [<conditional expres- #j EQ #k (=)
sion>] DO m
#j NE #k (0)
(m = 1, 2, 3)
#j GT #k (>)
If omitted conditional expression,
blocks from DO m to END m are
#j LT #k (<)
executed eternally.
#j GE #k (y)
#j LE #k (x)
5.6 Macro Call
Name Format
Program
No.
Parame-
ter No.
Remarks
Simple
call
G65P (program number)
L (repetition count)
<argument assignment>
Refer to 5.3 for
argument
assignment.
Modal
call
G66P (program number)
L (repetition count)
<argument assignment>
Macro
call by
Gxx
<argument assignment>
9010
to
6050
to
Refer to 5.3 for
argument
G code
Max. 10 G codes from
G01–G64 and
G68–G9999
to
9019
to
6059
assignment.
Set G or M code
that calls a pro-
Macro
call by
Mxx
<argument assignment>
9020
to
6080
to
gram specified in
the parameter.
M code
Max. 10 M codes from
M006 to M99999999
to
9029
to
6089
Sub-
pro-
gram
Mxx ; 9001
to
6071
to
Displayed on pro-
gram check screen
but no MF nor M
call by
M code
Mxx ;
Max. 9 M codes from
M006–M99999999
9009 6079
code is sent.
Set an M code that
calls a sub-pro-
gram specified by
the parameter.

Leave a Reply

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