121
General Mach Discussion / Re: Read and write to Z DRO?
« on: October 08, 2016, 04:16:08 AM »
When running a macro in mach3 there is a pause in motion when executing a macro as it compiles then executes
G92 z0 is the way to do it without a macro and therefore motion hesitation
G5x offsets... you only work in one of them at any time, and the way to get around this is copy the z axis dro var to another variable number, then when you want to remove the offset, subtract one from the other and reset to the new g92 offset...
Confusion is relative to task and perspective... vars are very handy if you code your own gcode... I don't really but my application doesn't use g5x offsets really
I can write the code down for you if you want? (No point if no interest)
G92 z0 is the way to do it without a macro and therefore motion hesitation
G5x offsets... you only work in one of them at any time, and the way to get around this is copy the z axis dro var to another variable number, then when you want to remove the offset, subtract one from the other and reset to the new g92 offset...
Confusion is relative to task and perspective... vars are very handy if you code your own gcode... I don't really but my application doesn't use g5x offsets really
I can write the code down for you if you want? (No point if no interest)