Spindle brake randomly wont release / CNC12 wont activate its relay output

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Nigelo
Posts: 366
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Spindle brake randomly wont release / CNC12 wont activate its relay output

Post by Nigelo »

Looks like you have outputs 4 and 7 forced ON and OFF respectively
"You can lead a horse to water but you cannot force it to drink"
Hope this helps
Nigel
cnckeith
Posts: 7164
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Spindle brake randomly wont release / CNC12 wont activate its relay output

Post by cnckeith »

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
tblough
Posts: 3071
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Spindle brake randomly wont release / CNC12 wont activate its relay output

Post by tblough »

Nigelo wrote: Sun Sep 25, 2022 3:56 pm Looks like you have outputs 4 and 7 forced ON and OFF respectively
Actually it is INPUTS 4 and 7, not outputs that are forced. Input 4 is probe tripped. If the machine thinks the probe is tripped, It will not release the brake or start the spindle.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
cnckeith
Posts: 7164
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Spindle brake randomly wont release / CNC12 wont activate its relay output < probe is plugged in!>

Post by cnckeith »

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
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC 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 brake randomly wont release / CNC12 wont activate its relay output

Post by rk9268vc »

Thanks for the video Keith, i will watch it when i get home.

Edited the title back, the probe was NOT plugged in.
Infact, this get stuck like like this in the MIDDLE of a gcode file sometimes (usually at a tool change). And no it is not the gcode, because it happens when rerunning a gcode file that worked before.

also to note, i dont ever manually force inputs or outputs on. up until my last post i didn't even know you could do that.

thanks for the posts guys, still trying to get tot he bottom of the issue
cnckeith
Posts: 7164
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Spindle brake randomly wont release / CNC12 wont activate its relay output

Post by cnckeith »

loose wires?
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
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC 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 brake randomly wont release / CNC12 wont activate its relay output

Post by rk9268vc »

Nigelo wrote: Sun Sep 25, 2022 3:56 pm Looks like you have outputs 4 and 7 forced ON and OFF respectively
Thanks for the post

those are actually the inputs and they are not forced, they are just inverted

per cnckeith last video, bar on top = inverted, bar on bottom = forced
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC 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 brake randomly wont release / CNC12 wont activate its relay output

Post by rk9268vc »

ok so i think it is either a problem with CNC12 or my acorn board doing weird things.
I dont think it is my wiring, because it will happen mid program, and simply power cycling acorn fixes it (i.e. not touching any wiring or touching probes etc)

Basically my input I am using for probe tripped is saying it is on even though there is no voltage applied/ drop to the input pin

What is odd though is if i plug in the probe, it works fine, but when i unplug it in this random "stuck" state, the input comes back on, but does not display the "probe tripped" message. yet it still wont let me turn the spindle on.

Question:
Is there any parameter i can change to remove the feature where it doesnt allow the spindle to turn on if it thinks the probe is tripped?
If i cant figure out the problem, at least fix the symptoms

thanks

update: im not totally convinced it is a problem with the probe inputs. if i have the probe plugged in, it wont let me start the spindle and displays error 9034 FAULT REMOVE PROBE FROM SPINDLE
however, in the stuck state im getting, it displays no such error, just wont let the spindle turn on
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle brake randomly wont release / CNC12 wont activate its relay output

Post by cncsnw »

First, if your video of September 25th is representative, the problem is not that the "spindle brake randomly wont release"; the problem is that in some circumstances the spindle will not start when you try to start it. I did not see OUT7 or OUT8 turn green when you seemed to be trying to start the spindle.

Since the spindle brake release logic is generally interdependent on the spindle starting and stopping, it is not surprising that the spindle brake-release output does not turn on, if the spindle run (forward or reverse) outputs are not turning on.

I would use the PLC Detective Source view to look at the "StandardSpindleStage" block (ca. lines 3040 to 3046); and maybe also at the block in JogPanelStage that calculates SpinStop_M (ca. lines 3469 to 3473). Perhaps that will show you what condition is preventing the spindle from starting.
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC 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 brake randomly wont release / CNC12 wont activate its relay output

Post by rk9268vc »

cncsnw wrote: Sun Oct 02, 2022 4:24 pm I would use the PLC Detective Source view to look at the "StandardSpindleStage" block (ca. lines 3040 to 3046); and maybe also at the block in JogPanelStage that calculates SpinStop_M (ca. lines 3469 to 3473). Perhaps that will show you what condition is preventing the spindle from starting.
Hi, thanks for the reply. sounds like a good plan

I have never figured out how to view/ edit the plc code, or what this "PLC Detective Source" is.
Where can i find more info on how to do that?

Thanks
Post Reply