
B–64113EN–1/01
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL
452
Example)
O0001 O2000
N1 X10.Y10.; (Mxx;) Inserts an M code block for suppressing
buffering.
N2 M98P2000; N100 #1=#5041; (Reads the current position
along the X–axis.)
N3 Y200.0; N101 #2=#5042; (Read the current position
along the Y–axis.)
: :
M99;
In the example above, while the N1 block of the main program O0001 is
being executed, the N2 block is buffered, and the macro program O2000
is read and executed. This means that the current position is read during
travel along the axes in the N1 block. So, undefined position information
during travel is read into #1 and #2. In such a case, insert a block
specifying an M code (Mxx;) for suppressing buffering or G53;
immediately before the N100 block of O2000. With this block insertion,
the execution of O2000 starts when the execution of the N1 block of
O0001 is completed. So, position information after the completion of
execution of the N1 block can be read into #1 and #2.
Series 0i–C
OPERATOR’S MANUAL
(M series) (B–64124EN)
II.19.3
AI advanced preview control/AI
contour control (G05.1)
Series 0i Mate–C
OPERATOR’S MANUAL
(M series) (B–64144EN)
II.19.3
AI advanced preview control
(G05.1)
Reference item