1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
G91
G1 X2 A-2
G1 X2 A2
M99
'Get current positions
X1 = Round (GetDRO (0), 4)
Y1 = Round (GetDRO (1), 4)
Z1 = Round (GetDRO (2), 4)
'Wait for user to press Resume button once finished manual jog
SystemWaitFor(1005)
While IsMoving
Wend
'Get new current positions
X2 = Round (GetDRO (0), 4)
Y2 = Round (GetDRO (1), 4)
Z2 = Round (GetDRO (2), 4)
'The rest of code
.......
.......
Mnnn //macro to turn on "ZIG-ZAG" motion on A-axis
G1 Xx Yy Zz Ff //Gcode created by jog-to-gcode option
Mnnn //another macro to turn off "ZIG-ZAG" motion on A-axis