Originally Posted by
deadlykitten
i don't know if "V1=VSIOZ" is executed right after the begining of executing "G1 Z-5.8", or after receiving the confirmation for executing "G1 Z-5.8" ( i guess i will find out soon )
Code:
V1 = 0
G00 X500 Z250
X200 Z0
G01 Z-50 F250 G94
V1 = VSIOZ
Z-100
V1 = VSIOZ
G00 X500 Z250
M02
( if program is started & runned in step-by-step, then "V1 = VSIOZ" is executed after )
(receiving confirmation from "G01 Z-50 F250 G94"; the machines stops after the )
(line "G01 Z-50 F250 G94", and at next green_button_push, V1 will became -50 )
( if program is started normally, but step-by-step is pressed during the )
(execution of "G01 Z-50 F250 G94", then V1 is 0 during the travel, and after Z )
(reaches -50, V1 will be updated to -50 and the machine will stop; in this very )
(moment, even if the execution/arrow_simbol did not reach the line "V1 = VSIOZ", that )
(line was allready executed; this happened because it's content was allready loaded )
(inside the buffer )
conclusion 12503 : a block that contains only a buffer-prohibit-code may be executed before the execution line reaches that block, only if its content was allready loaded inside the buffer
Code:
V1 = 0
G00 X500 Z250
X200 Z0
G01 Z-50 F250 G94
Z-100 V1 = VSIOZ
G00 X500 Z250 V1 = VSIOZ
M02
( if program is started & runned in step-by-step, V1 will )
(became -50 when the executin of "Z-100 V1 = VSIOZ" begins )
( if program is started normally, and step-by-step is pressed )
(during the execution of "G01 Z-50 F250 G94", then V1 will be )
(0 during the travel; after Z axis will reach -50, V1 will became -50 )
(and machine will stop )
( in this case V1 will became -50 before the execution/arrow_symbol reaches "Z-100 V1 = VSIOZ" )
conclusion 12504 : a buffer-prohibit-code may be executed before the execution line reaches that block that contains the buffer-prohibit-code, only if its content was allready loaded inside the buffer