Fanuc Power Mate i-D/H Operator Manual

14. PATTERN DATA INPUT
FUNCTION
PROGRAMMING
(Common to Power Mate i–D and –H)
B–63174EN/03
158
One comment line: C
1
C
2
C
3
C
4
C
5
C
6
C
7
C
8
C
9
C
10
C
11
C
12
C
1,
C
2,
, C
12
: Character string in one comment line (12 characters)
Macro instruction
G65 H94 P
p
Q
q
R
r
I
i
J
j
K
k
;
H94 : Specifies the comment
p : Assume a
1
and a
2
to be the codes of characters C
1
and C
2
. Then,
p=a
1
10
3
+a
2
See 16.3 for character codes.
q : Assume a
3
and a
4
to be the codes of characters C
3
and C
4
. Then,
q=a
3
10
3
+a
4
r : Assume a
5
and a
6
to be the codes of characters C
5
and C
6
. Then,
r=a
5
10
3
+a
6
i : Assume a
7
and a
8
to be the codes of characters C
7
and C
8
. Then,
i=a
7
10
3
+a
8
j : Assume a
9
and a
10
to be the codes of characters C
9
and C
10
. Then,
j=a
9
10
3
+a
10
k : Assume a
11
and a
12
to be the codes of characters C
11
and C
12.
Then,
k=a
11
10
3
+a
12
A comment can be displayed in up to eight lines. The comment consists
of the first line to the eighth line in the programmed sequence of G65 H94
for each line.
Example) Assume that the comment is “BOLT HOLE.” The macro
instruction is given as follows:
G65 H94 P042066
Q079076 R084032 I072079 J076069;
*B OL T HO LE
Macro instruction to
describe a comment

Leave a Reply

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