Spindle starts upon exit of Linuxcnc. How to stop?

More
4 years 3 months ago - 4 years 3 months ago #248728 by x26iclone
Hoping for some help.

I don't have my mill 100% yet, but noticed during some spindle calibrating that the router/spindle would turn on when I would exit out of Linuxcnc if I forgot to mash the e-stop. Is there a way to stop this?

I'm using a Mesa 5i25 card, Gecko G540 and a SuperPID. Everything seems to work as expected except for that safety concern.

I have it wired like this
Last edit: 4 years 3 months ago by x26iclone.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248731 by PCW
Are you using the G540s chargepump feature?
I would think that would disable the G540s outputs
when not driven.

Also it's strange that the estop state before exiting makes
any difference as the 6I25 outputs will all be in the same state (high)
when linuxCNC exits.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248744 by x26iclone
Thanks for the reply PCW.
Yes I am using the G540 Chargepump. Although maybe not the proper way?

This is what I have in my cutom.hal...
# ---estop signals---
net estop-ext <= hm2_5i25.0.gpio.003.in_not
net estop-ext => iocontrol.0.emc-enable-in
net estop-out <= iocontrol.0.user-enable-out
net estop-out => hm2_5i25.0.stepgen.04.enable

It does seem to work. The Emergency and Machine power buttons are both greyed out until I reset the E-Stop button.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248759 by tommylight
Gecko G540 has a small switch on the front, recessed, what side is it on? And what is written on the side the switch is on?

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248764 by x26iclone
tommylight, you were on to something. The chargepump switch was in the on position. Just for verification purposes I turned it off and then back on. Now the fault light stays on with the e-stop active or not or LCNC running or not.

Thanks for the hint. Where do I go from here? I'll see about making changes to get the chargepump working. Thanks

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #248782 by tommylight
Been long since i used charge pump, so better wait for more experinced users.

Please Log in or Create an account to join the conversation.

Time to create page: 1.283 seconds
Powered by Kunena Forum