Two important questions:

1. Do you want the machine to pause if you lose pressure mid-run? (almost certainly so)

2. Do you want the machine to be able to auto-resume if pressure drops but comes back?

Danny


On 7/29/2017 1:36 PM, David Berndt wrote:
If the air pressure is related to movement of an axis (or you want to say it is...) you can use axis.N.amp-fault-in as a place to input an your error condition. The machine won't be forced to e-stop, but will not allow the power button to be pressed/stay on.

Same thing should be possible with motion.enable in bit.

For the spindle, maybe motion.spindle-inhibit in bit is what you're looking for.

If you want the machine to be totally useless then perhaps wiring it into the e-stop circuit is the way to go. Personally I'm not on board with that. But about half of the standard conventions in linuxcnc seem to rub me the wrong way, so it might be just fine with you.


Dave

On Sat, 29 Jul 2017 12:10:31 -0400, Tomaz T. <tomaz_...@hotmail.com> wrote:

I have air pressure switch to control if there is enough air pressure. Now I would like that this is also condition for enabling machine to run.

I would need a little help how to correctly add this to hal.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to