Page 1 of 2

Spindle issue after using a gcode program

Posted: Sun May 26, 2024 1:33 am
by TechyMind
Hello,

Here is a strange problem.
My Router was working perfectly, spindle was ok (starting/stoping with a program)

But after sometimes when I start a program (whatever the program), the spindle starts correctly, the program is perfectly executed, the spindle stops then I start a new program (whatever the program) and the spindle doesn't start.
Then I try to start manually and the same => no response.

- I checked if there is some default on the vfd => everything is ok
- When I start the spindle manually, the relay on acorn board doesn't switch on.
- I tried to power off acorn board then restart => manual spindle is working ; the program also but after it stops I get the same issue.

Here is my GCode and my report

Thank you for your help

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 2:29 am
by suntravel
You have no Output VFD Enable

Uwe

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 2:56 am
by TechyMind
suntravel wrote: Sun May 26, 2024 2:29 am You have no Output VFD Enable

Uwe
What do you mean?

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 3:06 am
by suntravel
How do you make sure that the VFD is enabled, if not sending an enable signal?

Uwe

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 4:21 am
by TechyMind
You get a point. But how do you explain that the relay for forward command (m3) doesn’t activate?

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 4:38 am
by suntravel
In the PLC SpindleEnableOut_M is required to activate M3, maybe with no VFD Enable, after M5 it will not be set again.

Uwe

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 4:42 am
by TechyMind
But it worked perfectly for 3 years without problems.

Well, I will try to change this, it’s a Chinese vfd

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 4:56 am
by suntravel
You can set VFD Enable and connect nothing to test if m3 is working after this.

Uwe

Re: Spindle issue after using a gcode program

Posted: Sun May 26, 2024 7:28 pm
by cncsnw
There is no need to assign VFDEnable_O to an output.
You would not do so if you choose to use SpinFWD and/or SpinREV instead.

SpindleEnableOut_M is a memory bit (MEM168), which is always in place.

I would open up PLC Detective (Ctrl-E from the CNC12 main screen), scroll down to around line #3745, and watch what is happening when the spindle starts normally, and when the spindle fails to start.

Re: Spindle issue after using a gcode program

Posted: Mon May 27, 2024 4:46 pm
by ShawnM
Correct, you do not need VFD enable to make a spindle work. You can simply program an output to SpinFWD and make the VFD work. The OP has SpinFWD setup on output 4 so it should work as it always did.

When you say you "- When I start the spindle manually, the relay on acorn board doesn't switch on." How exactly are you starting it? Through MDI or the VCP? Both of these should turn on relay 4 to start the VFD.

Double check all the VFD and Acorn connections for the VFD and tighten all terminals.

Just a side note, if this really is a router, running on the Mill version, you do not need to program an output for SpinREV as you'll never run a router bit in reverse.