In my M6Start macro I have this code.
X = GetUserDRO ( 1200 )
Z = GetUserDRO ( 1201 )
code "G53G0 , Z" & Z
While IsMoving
Wend
code "G53G0 , X" & X
Basically it just looks at two DRO's I have on the screen and moves the machine to whatever I have in those DRO's. My problem is, I want to move X&Z at the same time. I've tried all different configurations and I can't seem to figure it out.
I have it working right now with this code.
code "G53G0 , X-.125 Z-10.75"
and it works great. However if I want to change the values I have to edit the macro.
Any help is appreciated.
Thanks