11
General Mach Discussion / Read and write to Z DRO?
« on: October 07, 2016, 06:32:23 AM »
I'm playing around with touch probe automation. Everyone else does, so why not.
Anyhow, I want be able to zero the Z DRO directly, from within g-code, without using a macro. I know that some OEMDROs are mapped into vars, but I cannot find any reference to the on-screen DROS.
What I want to do is to write something like
#15802=0 and have the current Z DRO go to zero.
Am I out of luck?
PS: yes, I can do it with a macro. Yes, I can do it with several instructions using one of the work spaces. But I want to do it in one line.
Cheers
Roger
Anyhow, I want be able to zero the Z DRO directly, from within g-code, without using a macro. I know that some OEMDROs are mapped into vars, but I cannot find any reference to the on-screen DROS.
What I want to do is to write something like
#15802=0 and have the current Z DRO go to zero.
Am I out of luck?
PS: yes, I can do it with a macro. Yes, I can do it with several instructions using one of the work spaces. But I want to do it in one line.
Cheers
Roger