Spindle starts upon exit of Linuxcnc. How to stop?

More
4 years 2 months ago - 4 years 2 months ago #249073 by PCW
What DB25 pin enables the spindle?

You could try adding a say 1K pulldown resistor on that pin
(if you dont want to use the charge pump)

Did you verify that DB25 pin 16 was actually toggling?
If you cannot get the chargepump to work I would expect
a setup error of some kind.
Last edit: 4 years 2 months ago by PCW.

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

More
4 years 2 months ago #249109 by x26iclone
PCW,
I'll try adding a 1k resistor to pin 10 and report back.

So I was able to get the charge pump to work via pci parallel port card and stepconf but I couldn't verify a signal when switch over to the 5i25 card.

Thanks

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

More
4 years 2 months ago #249120 by PCW
Did you try lowering the charge pump frequency (to say .1 Hz) and then checking
DB25 pin 16 with a voltmeter/LED?

If you get no output toggle then you likely have a chargepump setup error in the hal file.

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

More
4 years 2 months ago #249191 by x26iclone
I was able to get output from pin 16. I don't remember what the final setting was but it led to 5v when LCNC was running to .02v when it wasn't running.

I then decided to start a new pncconf with just XYZ and slowly added the spindle then the chargepump. Everything worked until I added the e-stop. With the e-stop added LCNC won't come out of e-stop. If I removed e-stop then everything worked and if LCNC was closed the G540 went into fault mode.

With the e-stop added pin 15(fault to PC) would be 3.8v regardless of the e-stop switch state, but if I turned off the G540 chargepump switch then pin 15 would be 5v or 0v depending on switch state.

I used pncconf for making changes every time to avoid typing errors.

I'm going to verify my wiring when time allows. Any thoughts?
Thanks

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

More
4 years 2 months ago #249205 by PCW
I'm not sure what the G540 fault output reports. Have you considered connecting estop to a free input pin (if you have one)?

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

More
4 years 2 months ago #249237 by x26iclone
I have the e-stop wired between pins 10 and 12 as gecko recommends. I can give that a try though. Pin 15 is 3.3v or higher when in fault according to an old thread I saw.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum