Re: [Emc-users] How to add additional condition for enabling machine

2017-07-30 Thread Gene Heskett
On Sunday 30 July 2017 05:50:57 Tomaz T. wrote: > newsig pressureOK bit > linksp pressureOK <= ppmc.0.din.09.in I think newer ways to say the above would be: net pressureOK <= ppmc.0.din.09.in => signaltarget.in Look at man 9 tristate_bit to see if that might be useful as signaltarget. Its

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-30 Thread Tomaz T .
newsig pressureOK bit linksp pressureOK <= ppmc.0.din.09.in now, how to properly implement this pin to condition powering up machine? >Electrically you need a way to get this signal on a pin. > >Past that, it well within the capabilities of the HAL to code up that >this pin reading "TRUE" is a

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Danny Miller
Electrically you need a way to get this signal on a pin. Past that, it well within the capabilities of the HAL to code up that this pin reading "TRUE" is a condition for running. It will not matter if "TRUE" is high or low. The HAL can be used to integrate this signal, in like a dozen

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Gregg Eshelman via Emc-users
You could simply connect it in series with the e-stop circuit. -- Original Message -- From: "Tomaz T." <tomaz_...@hotmail.com> To: "emc-users@lists.sourceforge.net" <emc-users@lists.sourceforge.net> Sent: 7/29/2017 10:10:31 AM Subject: [Emc-users]

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Tomaz T .
Some more explanation pressure switch is a simple NO switch which is triggered at certain pressure (5.5bar in my case) and that is minimum I need to operate my machine (Z-axis counter weight cylinder). So every time I want to use my machine I (manually) have to open valve for air. I doesn't

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Danny Miller
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

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread David Berndt
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

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Gene Heskett
On Saturday 29 July 2017 12:10:31 Tomaz T. 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. This is not your problem of

Re: [Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Nicklas SB Karlsson
On Sat, 29 Jul 2017 16:10:31 + Tomaz T. 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. Emergency stop loop

[Emc-users] How to add additional condition for enabling machine

2017-07-29 Thread Tomaz T .
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