
B–63833EN–1/02
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL
380
Meaning Remarks (when buffering
is not suppressed)
Variable
number
Read/
write
Block end (work-
piece coordinate
system)
Read #5001 to
#5008
The block end of up to the
third block ahead can be
read.
Machine coordi-
nate system
Read #5021 to
#5028
An undefined position during
travel can be read.
Current position
(workpiece coordi-
nate system)
Read #5041 to
#5048
An undefined position during
travel can be read.
Tool length com-
pensation value
Read #5081 to
#5088
The compensation value
used by the block currently
being executed can be read.
Servo positional
deviation amount
Read #5101 to
#5108
An undefined positional devi-
ation amount during travel
can be read.
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–B
OPERATOR’S MANUAL
(M series) (B–63844EN)
II.19.3 AI advanced preview control
Reference item