
B–63833EN–1/02
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL
379
> N1 G01 G91 X50.0 Y30.0 F100 ;
N2 #1=100 ;
N3 X100.0 ;
N4 #2=200 ;
N5 Y50.0 ;
|
N1
N2 N4
N3 N5 N6
> : Block being executed
j : Block read into the buffer
NC statement execution
Macro execution
Buffer
In the AI advanced preview control mode, multiple blocks are read in
advance. So, during execution of N1, up to 20 blocks (0i) or 12 blocks
(0i Mate) of NC statements are read into the buffer. The macro statements
(N2, N4) are processed while N1 is being executed.
So, the sequence of NC statement and macro statement execution differs
from the programmed sequence.
When a system variable listed in the table below is used in a macro
program, and the macro program needs to be executed after the block
immediately preceding the macro program is executed, an M code
(parameter No. 3411 to No. 3432) for suppressing buffering or G53 must
be inserted immediately before the macro program.
Meaning Read/
write
Variable
number
Remarks (when buffering
is not suppressed)
Interface signal
Read #1000 to
#1015, #1032
Data can be read when a
macro is buffered.
Write #1100 to
#1115, #1132
Data is written when a macro
is buffered.
Tool offset value Write #10000 to A tool offset value is written
when a macro is buffered.
Time information Read #3001, #3002,
#3011, #3004
Time information is read
when a macro is buffered.
Automatic opera-
tion control
Write #3003, #3004 Automatic operation control
is enabled starting with up to
the third block ahead.
Setting data Write #3005 Setting data is written when
a macro is buffered.
Mirror image Read #3007 Mirror image state can be
read when a macro is buff-
ered.
Additional work-
piece coordinate
system number
currently selected
Read #4130(P)
#4014
(G54 to G59)
The information of up to 3
blocks ahead can be read.
Details of NC statement
and macro statement
execution
Notes on using system
variables