Hi
I'm trying to make a button works as:
1.reference 4 AXIS (X/Y/A/B).
2.go to position X200, y100, A200, B100.
so I make a button and code it as :
DoButton(22)
DoButton(23)
DoButton(25)
DoButton(26)
code("G00 X200")
code("G00 Y100")
code("G00 A200")
code("G00 B100")
However, it's working as go to that position first, then reference axis later.
(but if I run the code line by line, It works all good)
Is there any help can correct my code?
thx!