Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: gorf23 on August 31, 2018, 02:04:10 PM
-
xpos = scr.GetProperty("droCurrentX", "Value")
ProbePos = mc.mcAxisGetProbePos(inst, mc.Z_AXIS, 2)
zpos = mc.mcAxisGetPos(inst, 2)
Have tried these to read the current axis position and then display the value but the values are always different than mach4's dro on screen
both user and machine position are not the same as what is shown on the DRO's on the mach4 screen, as to my printout displays in a messgebox so I assume I am doing something wrong
thanks gary
-
You need to take into account that the dro`s output is formatted.
DazTheGas