
B–64113EN–1/01
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL
450
4 As acceleration after interpolation, use linear or bell–shaped
acceleration. Exponential acceleration/deceleration cannot be used.
For smooth machining, the CNC reads the next NC statement in advance.
This operation is referred to as buffering. In the AI advanced preview
control mode, not only the next statement but also multiple blocks are
buffered.
However, a macro statement such as an expression and conditional branch
is processed immediately after it is buffered (read into the buffer). So, the
timing of macro statement execution does not necessarily follow the
specified sequence.
On the contrary, a block where M00, M01, M02, M30, or an M code set
in a parameter (No. 3411 to 3432) for suppressing buffering is specified,
or a block where a G code such as G53 for suppressing buffering is
specified does not read subsequent blocks in advance. So, it is guaranteed
that until the execution of such an M code or G code is completed, no
subsequent macro statement is executed.
> 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 or AI contour control mode, multiple
blocks are read in advance. So, during execution of N1, up to 40
blocks/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.
Notes on using custom
macros
Macro statement
processing
Details of NC statement
and macro statement
execution