Ok, I found the difference between the starting => the variable ChuckOpenCloseComplete_M is set to 0 after I use a program.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.
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