Spindle breakin code only runs for 6sec and spindle is left running forever

Ai had me try different changes to the spindle breakin code but every time i run it, it runs all 11 lines immediately and the spindle never turns off.

Is it supposed to show 6 sec time

and immediately show all lines completed

I got it to show 1 hr 40 min by increasing teh g4p1200 to 1200000 on all the lines it had a g4p code but it still ran through all the lines in the console immediately.

I’ve run the spindle setup twice to be sure it did what it was supposed to.
Is there a setting I’m missing for making it do it in seconds instead of milliseconds? if that is really the issue.

@galenryl using the Sienci break in code, the spindle will run at different speeds for 20 minutes each (1200s). The entire routine take about 1h40min. If I recall, the job completion info showed the same as you.

Go back to the original code and let it run. If you hear the spindle change speeds after 20 minutes, all is good.

“all lines are complete immediately” - all lines are sent to and planned by the firmware immediately. They’ll still execute the delay as sent.

is your vfd connected to afci/gfci breaker by any chance? mine was and it crapped out. was your vdf on during the run or did it power off at some point because your breaker tripped? Mine did that when speed increased in the gcode. i swapped the breaker to regular 20a one and all the issues got resolved

It is likely the AFCI part of the breaker that is causing the issue. My job site table saw kept tripping it and switched to GFCI only breaker. GFCI may still be required by code depending upon where it is located.

Thanks guys, It did run like it was supposed to changing speeds and after the hour 40 it turned off so lessoned learned to be patient.