Synchronization of decoding and interpolation
#FLUSH WAIT (non-modal)
In contrast to "#FLUSH" the program execution will be interrupted by the command "#FLUSH WAIT". After that the buffer effect of the NC channel will be also removed. If the NC channel is empty and interpolation so is synchronized, the further execution of the part program will be started automatically.
Programming example
The decoding stops in block N20 until the interpolation has reached position X20. After that the decoding of N30 starts automatically.
N10 G01 X20
N20 #FLUSH WAIT
N30 X40
...
M30