Hello Guest it is April 26, 2024, 06:30:32 AM

Author Topic: Next line of gcode executing from file before spindle is up at new position  (Read 579 times)

0 Members and 1 Guest are viewing this topic.

Mach4 4.2.0.4612
ESS V278.1
C25XP BOB

I'm having an issue where the next line of GCode being executed from a file is happening before the previous line (moving x up out of the way) is completed.

I understood that the command to move the y axis would not happen until the command to move the x axis up out of the way was complete.
I did modify the gcode to move the x asis up .5 higher and that resolved the issue, but looking for better understanding of the correct way to do this.
Is it necessary to insert a delay for this to work properly?

Thanks

Here is a piece of the GCode

g1 x-.5 F200
g1 x .5
g1 y1.0
g1 x-.5
g1 x.5
g1 y2.0
g1 x-.5
g1 x.5
g1 y3.0
Your code should include a G61 command for Exact Stop before the line of code that must complete before the next line starts. Then include a G64 after that move to allow resuming Constant Velocity mode if desired.
Steve Stallings
www.PMDX.com
That fixed it.

Thanks!!