Hello Guest it is April 20, 2024, 09:34:22 AM

Author Topic: mc.mcAxisGetMachinePos help  (Read 700 times)

0 Members and 1 Guest are viewing this topic.

Offline gorf23

*
  •  189 189
    • View Profile
mc.mcAxisGetMachinePos help
« on: November 10, 2020, 07:22:51 PM »
if i use mc.mcAxisGetMachinePos in a macro i don't seem to get the correct value returned every time.

i run the macro i get the correct value, then without moving the axis i run the same macro and now get a value of 0.0 even though its still showing 3.0 in the dro..
so i either get a 0.0 or the correct value returned, so if i want to move the axis back to the machine position at the end of the macro sometimes it go's to the correct position but other times it go's back to 0... and that's my home position

any suggestion?..

thanks gary