Page 2 of 3

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

Posted: Sun Sep 25, 2022 3:56 pm
by Nigelo
Looks like you have outputs 4 and 7 forced ON and OFF respectively

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

Posted: Mon Sep 26, 2022 2:09 pm
by cnckeith

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

Posted: Mon Sep 26, 2022 2:21 pm
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.

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

Posted: Mon Sep 26, 2022 6:57 pm
by cnckeith

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

Posted: Wed Sep 28, 2022 12:48 pm
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

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

Posted: Wed Sep 28, 2022 1:47 pm
by cnckeith
loose wires?

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

Posted: Wed Sep 28, 2022 4:00 pm
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

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

Posted: Sat Oct 01, 2022 9:58 pm
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

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

Posted: Sun Oct 02, 2022 4:24 pm
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.

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

Posted: Mon Oct 03, 2022 1:26 pm
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