G code: G75
Function: This command prevents the function block of the decoder from processing G code until the interpolator has traveled through all previous objects. When the interpolator reaches G75
, all queues are empty and the NCDecoder and all preprocessing function blocks continue running.
This function is useful for using variables. The decoder replaces the variables when the corresponding line is processed. However, the execution by the interpolator happens after a specified time according to the queue mechanism. You can use G75
for waiting and synchronizing the evaluation of the variables and the subsequent processing by the interpolator.
Syntax
G75
Example
N10 G1 X100
N20 G75
N30 G1 Y$g_y$
The variable g_y
is available with the element G1 and is not detected beforehand. If G75
is not inserted, then the NCDecoder
processes line 30 immediately before the value is detected. G75
does not have any effect on the CNC editor or the paths that the CNC editor generates as SMC_OutQueue
.
See also