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 output might be usable, and its tristate. Figure out a way to do its .enable pin by the signal axis is sending to motion.enable. You said that once enabled it won't matter if the pressure drops. I'd disagree a bit. I'd use 2 pressure switches, or one with a large pressure gap between closing because there is enough pressure, and its opening because the pressure is too low. And I'd go ahead and stop the machine in its tracks if the pressure falls too low. If, when the switch opens, it drops a sprague clutch against the post to support the weight of the head until such time as the pressure is restored, and an initial upward move of perhaps 5 thousandths to release the clutch once the solenoid pulling it free has been re-enabled by the closing of the switch. More complex might be a disk brake, clamping a disk on the motor shaft to prevent the fall. The disk and brake pad assembly from a retired riding lawn mower (with a fresh pad) might be usable for the brake as that would not need the initial small lift to free the sprague. All this is personal prefs, with safety for both the tooling and part that would be compromised if the pressure dropped too low to adequately support the head in mind. > 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 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 > > different ways. It will only require like <5 lines. At least a dozen, once the basic desired logic is designed, the devil is in the details. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ 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