Open ReeseWang opened 7 years ago
I tried the config created by the stepconf file, and I agree that the behaviour seems unexpected. However, clicking the E-stop release (X) button in Axis does appear to turn on the charge pump. (the unexpected behaviour is that external e-stop activation on pin 11 does not turn the charge-pump off.
@andypugh In my Axis 2.7.11 the e-stop button is always not pressed (with the configuration above), and the chare-pump.enable pin is always 0 no matter what I do.
Have you tried pressing the button? (on-screen?). What is the value of your pin 11 input?
@andypugh Yeah, sure, tried everything I could. My pin 11 input is high in the normal state (non-estop), low when the e-stop button on my machine is pressed.
Here are the steps I follow to reproduce the issue:
This is what I expected to happen:
The charge pump is enabled, The machine moves.
This is what happened instead:
The machine doesn't move because the charge pump isn't enabled. By looking into the Syil_X5.hal file (link above) I found the enable pin of charge-pump is still connected to the estop-out signal (line 10), the same as when I didn't configure an e-stop input in stepconf. It should have been connected to estop-ext as I'm using an external e-stop switch and I did configure an e-stop input in stepconf.
Seems that the e-stop signal changed from estop-out from estop-ext, but charge-pump.enable forgets to follow.