
EDIT
DATE DESIG
DESCRIPTION
B-63173EN-1/01-28
DRAW.NO.
CUST
TITLE
FANUC Power Mate i -MODEL H
CONNECTION MANUAL(FUNCTION)
M-code direct output function
(High Response Function)
10/16
SHEET
Example
In case another axis is started moving near the point B in the operation of
moving from the point A to the point C, and another program to terminate
the operation is started after the axis stops at the point C, as shown in the
above Fig.4, programs are as follows .
The signal Y1000.0 is turned on when
the axis reaches near the point B.
(Output after pulse distribution end
The signal Y1000.1 is turned
on after the axis reaches the
point C.
One program starts another program
by turning on Y1000.0. And another
axis is moved. Y1000.0 should be
turned off when the operation is
The program to terminate the
operation is executed by turning on
Y1000.1. Y1000.1 should be turned
off when the operation is finished.
An axis is moved from A to B by way of C.
Fig. 4
setting No.7415=1000
No.7420=2
The coordinate of the point
Point A: X0, Point B: X10000, Point C: X11000
Program to operate the part 1) 2).
O8000;
G91G01X10000F1000;
M40P1Q3; (Turn on Y1000#0 after the pulse distribution of X axis is finished)
G91G01X1000F1000;
G04P0;
M41P3Q1; (Turn on Y1000#1)
%
Program to operate the part 3) (Started by turning on Y1000#0)
O8001;
G91G01Y10000F2000;
M40P2Q2; (Turn off Y1000#0 after the pulse distribution of Y axis is finished)
%
Program to operate the part 4) (Started by turning on Y1000#1)
O8002;
G91G01Y-10000F2000;
G04P0;
M41P4Q0; (Turn off Y1000#1)
%