Using the mill and randomly when starting a program or resuming from a tool check the spindle brake wont release.
Cant figure out what causes it yet. Bug?
happens randomly, so far like once every week or so.
The only way I have found to get it to work again is to power cycle acorn and CNC12 at least once
my outputs are
SpindleBrakeRelease enables the spindle servo driver
SpinFWD for spindle turn CW
SpinREV for spindle turn CCW
Servo driver functions normally, no errors. Just acorn is not energizing the spindlebrakerelease relay to start the spindle
so far i have been quick enough to stop the mill before it crashes, but pretty scary to have it rapid toward the part with a 5in facemill and the spindle off.
cnckeith wrote: ↑Sun Aug 07, 2022 10:57 am
looks like you have the output forced ON in the I/O menu?
Considering that i dont know how to do that, i would find it unlikely.
It also happens randomly when doing a tool check while running a program with the only buttons being pressed are on the WMPG.
Would it be possible for a WMPG button to do something weird like that? I dont have any macros setup or anything.
It seems pretty random when it gets stuck on. It will work for 40 hours and then randomly happen. Restart acorn and CNC12 and work for another 1-2 weeks and happen again. I cant find a way to consistently reproduce this.
The SpindleBrakeRelease logic is pretty convoluted, since it needs to support auto/off braking modes from a VCP key; momentary brake timers; and of course different logic for standard versus "G540" spindle control hardware.
Have you considered adding your own PLC output that just does what you want (i.e., turn on when you want to run the spindle)?
For example, if you named OUT6 "MyVFDEnable", and added a line in the spindle-control section (e.g. below the StandardSpindleStage heading) to turn it on whenever SpindleEnableOut_M is on, then it would probably do what you need.
the stock spindle brake PLC logic works. that is not the issue.
yes you could toss the code that is not being used but that is not going to solve your issue. look elsewhere.
start by reviewing this doc. https://www.centroidcnc.com/centroid_di ... screen.pdf
and learn how to use the PLC diagnostic menu the tools contained there are useful for solving plc i/o issues.
Here is an updated video with sound where i describe whats going on and show the wizard and the output i/o page and it still not working
update:
plot thickens
so if i go to ouptut 6 on the i/o page, using Ctrl Alt F i can toggle the input, and it toggles the relay, turning on the drive.
So I know that CNC12 can toggle the input and it works
However, the virtual Jog panel and MDI and gcode cant toggle it even after forcing it on and off.
I am going to have to restart acorn so i can get a part made, but any ideas and help would be appreciated