Hello,
I’m having an issue with TinyG skipping lines of gcode when i have multiple homing commands G28.2 Z0
in the same program.
I’m using M8 and M9 commands to control the probe tool.
What would i expect it to do:
lift Z axis 20mm
extend probe tool
wait 2 seconds
home Z (until Z min switch is hit)
set this as new Z0 point
take back probe tool
wait 2 seconds
and repeat same steps one more time
What is actually does:
first ~9 lines are executed as expected. Than it skips all the lines until 2nd instance of G28.2 Z0
and runs G28.2 Z0
again. No matter how many lines of code I add before 2nd instance of G28.2 Z0
, TinyG skips all of them.
G21
G90
G92 x0 y0 z0
G0 Z20
M8
G4 P2
G28.2 Z0
G92 z0
M9
G4 P2
G0 Z20
M8
G4 P2
G28.2 Z0
G92 z0
M9
Programs with one instance of G28.2 Z0
command work fine. But I’m having issues whenever I use more than one instance of this homing command. (it the example shown above the probe tool will not extend before 2nd homing sequence)… I need to home Z axis before every cut to properly set pierce height of plasma torch. Thank you for helping me.