E-Stop

More
6 years 9 months ago #155100 by jhavanki
E-Stop was created by jhavanki
Can't seem to get my E-Stop working.

The board is a CNC4PC C35S and I am sending 5v through a NC E-Stop switch to Input Pin 10.In StepConf I am setting Input Pin 10 to E-Stop. The odd thing is that the E-Stop button in Axis toggles on/off when I press the E-Stop switch, but my C35S is not enabled; no green Enable LED. I'm stumped. I have attached a HAL that works (my-mill) and the one that doesn't (E-Stop_Test). Any recommendations?

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

More
6 years 9 months ago #155113 by curtisa
Replied by curtisa on topic E-Stop
Looks fairly similar to the config on my machine. I might be stating the obvious but when I hit E-stop, to enable the drive outputs again it's a two stage process - reset the E-stop and toggle machine power (F2).

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

More
6 years 9 months ago - 6 years 9 months ago #155148 by jhavanki
Replied by jhavanki on topic E-Stop
So I've done some more reading and ran several different HAL configs to see if I can figure out what is going on.

I have Pin 17 Output set for Charge Pump in StepConf and I have an LED on the C35S that indicates the status of Pin 17..

Running the My-Mill HAL, Pin 17 goes hi/low as it should when I press and release the E-Stop button in Axis. I also get the accompanying Green Enable LED on the C35S. All axis move and everything seems to work as it should.

Running the E-Stop_Test HAL, Pin 17 never goes hi and of course no Green Enable LED. The BOB is not getting the Charge Pump signal. When I press/release the external E-Stop switch, the e-stop button in Axis switches on and off so seems there is no problem with Pin 10 Input from the BOB and NC external E-Stop switch.

I'm still learning, but seems as though the external E-Stop switch is not sending the Charge Pump signal to the BOB. Something is missing in the HAL, but I don't know what it is...help ! LOL
Last edit: 6 years 9 months ago by jhavanki.

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

More
6 years 9 months ago #155150 by arturod
Replied by arturod on topic E-Stop
This is a hardware issue, and it is completely unrelated to any setting or configuration in the software while you are not using the Safety Charge Pump, which I suggest you disable it on the board for now for troubleshooting purposes.
Please go through this: www.cnc4pc.com/faq/article/i-cannot-get-...n-the-breakout-board
3 conditions must be met to get the enable LED:
• The board must be properly powered. Check the documentation on the board, as a misunderstanding on how it is powered is very possible.
• The board must be connected to a PC/Motion Controller which is connected to the power system. The board has a ground detection circuit using pins 18 and 19 that disables the output is the board is not connected. This is a cable disconnect detection feature. Check the cable. There are some cheap cables out that that only use pins 1-17.
• There should be a jumper (or wired it parallel to e-stop) between the EN terminal and the +5vdc next to it.
On boards with a Safety Charge Pump, there is a 4th condition.
• The SCHP must be disabled on the board or enabled and configured in the control software.
Once you get the green LED without the SCHP, then we can check the configuration to make the SCHP signal to activate the green LED.
Please check this and let me know how it goes.
Arturo Duncan
cnc4pc.com

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

More
6 years 9 months ago #155153 by jhavanki
Replied by jhavanki on topic E-Stop
Before I started messing with the external e-stop, everything seemed to work fine. With the SCHP jumper enabled and Pin 17 set to Charge Pump in StepConf, the Green enable light comes on with internal e-stop disabled and goes out with internal e-stop enabled.All 3 axis move when Green enable light is on (internal e-stop disabled) and do not move when Green enable light is off (internal e-stop enabled).

So everything was okay until I tried to wire the external e-stop to Pin 10.

For anyone following this post, Arturo has been a HUGE help in getting me to the point I am at now...customer service from Arturo and CNC4PC is awesome!

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

More
6 years 9 months ago #155155 by arturod
Replied by arturod on topic E-Stop
Thanks for your words.
OK, so you do get the green LED without the SCHP and E-Stop. So, the problem is when you configured and wired e-stop. OK, I am sorry for the confusion on my part. OK, here are some thoughts:
- The idea with this boards, is that you connect the e-stop pin using a high in parallel with the EN terminal, which acts as the hardware enable. So, when e-stop opens, the first thing that happens is that all outputs get disabled. This is at hardware level. Then software gets notified through the e-stop signal of the e-stop condition. The idea behind this is that you do not relay on the software to stop your system, but on the wiring. As a software failure could be one of the reasons why you are pressing the e-stop button.
- If you are wiring like I described above, the common for e-stop and EN must be +5vdc. The same +5vdc that you used in the first place for the EN and the input pin must be set to pull-down. This way when it is in the air, then the input will be a low.
- You can use a multimeter to verify you have the +5vdc on the EN and input pin for e-stop when the switch is closed and to see 0vdc when open.
- Maybe you need to change the active high/low used for e-stop.
- What happens if you move the jumper back on the board to disable the outputs?
Check that and let me know how it goes.
Arturo Duncan
cnc4pc.com

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

Time to create page: 0.096 seconds
Powered by Kunena Forum