Spindle issue after using a gcode program

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

TechyMind
Posts: 7
Joined: Sun Jan 19, 2020 9:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: OK375
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Spindle issue after using a gcode program

Post by TechyMind »

cncsnw wrote: Sun May 26, 2024 7:28 pm 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.
Ok, I found the difference between the starting => the variable ChuckOpenCloseComplete_M is set to 0 after I use a program.
I don't really know why and I'm not even using an ATC spindle

Here are the pictures.

I modified the PLC directly to remove everything blocking from ATC parts. Now it's working perfectly.
I checked in Wizard that I didn't check ATC also. So maybe there is something else that Centroid should check.

Anyway thank you for your help. I didn't know the PLC detective and it's great now because I'm a programer so I can check everything.

Thank you again
Attachments
Capture d'écran 2024-06-02 104912.png
Capture d'écran 2024-06-02 104520.png


cnckeith
Site Admin
Posts: 8989
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Spindle issue after using a gcode program

Post by cnckeith »

thanks, we updated related macros and committed to next release which will fix this issue.
no need to change plc to fix this issue.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


FlyingHaggis
Posts: 63
Joined: Mon Apr 22, 2019 11:22 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Spindle issue after using a gcode program

Post by FlyingHaggis »

I have the same problem.
All was fine, until an update earlier this year and now, if I abort a program..no more spindle control.

so does 12.5.10 have this fix ?


FlyingHaggis
Posts: 63
Joined: Mon Apr 22, 2019 11:22 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Spindle issue after using a gcode program

Post by FlyingHaggis »

I can answer my own question.

12.5.10 does fix the issue.


Post Reply