resetting pins through E-Stop

More
03 Apr 2023 19:16 #268195 by HeikoCorpInc
resetting pins through E-Stop was created by HeikoCorpInc
I'm wondering if there is a way to reset pins when E-Stop is pressed.

1) It should work the way as the coolant pins on axis are working. When E-Stop is pressed they are not only disabled they even get switched off.

2) I would like to have the pins on my page to work in a similar way.

Is it possible to do that in some way?
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
03 Apr 2023 22:39 #268209 by tommylight
Replied by tommylight on topic resetting pins through E-Stop
Yes it is, in general:
loadrt the AND component, with the instance number you would need
addf each of those AND to servo period
then in hal, wire
one input form all the AND to e-stop or machine-is-enabled
the other input to whatever control the bed and hot end heaters (remove hardware pins)
each AND outputs to each of the heater pins
linuxcnc.org/docs/2.8/html/man/man9/logic.9.html
Not much, but it is a start.

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

More
04 Apr 2023 12:31 #268261 by HeikoCorpInc
Replied by HeikoCorpInc on topic resetting pins through E-Stop
Ok understood. The only way is to prevent the real output from getting true.

I tested the logic AND in HAL. I didn't like it in this case. When you hit the E-Stop the output goes low, which is good.
But when resetting the E-Stop the output goes high again. There could be a long time between hitting the E-Stop and resetting it again, which could create a tense relationship between the printer and the operator.

Since it is all logic, I tried to figure out something in classicladder. By checking the rising edge, one has to activate the heater again after each E-Stop.

Maybe it could be a future development task to add a property to each pin in the xml file, which then adds that pin to the already existing handler as for the coolant pin. I guess I assume that the implementation of the coolant pins is done in the same way as custom pages - don't know if that is the case. But it could increase the safety of manual machine operation. 
Attachments:
The following user(s) said Thank You: tommylight

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

Time to create page: 0.057 seconds
Powered by Kunena Forum