1
General Mach Discussion / how to get Z position while moving
« on: July 06, 2012, 01:21:52 AM »
z=0
code "G53 Z60"
while ismoving()
if active(input4) then --like a prob
z=GetoemDRO(802) ---get Z current position( also I try getdro(2))
end if
Wend
----
I want to get the a Z position while Z is moving, but finally I always get the last stop position Z=60, why?
thank you!!
code "G53 Z60"
while ismoving()
if active(input4) then --like a prob
z=GetoemDRO(802) ---get Z current position( also I try getdro(2))
end if
Wend
----
I want to get the a Z position while Z is moving, but finally I always get the last stop position Z=60, why?
thank you!!