On Saturday 09 March 2019 21:01:02 andy pugh wrote:

> On Sat, 9 Mar 2019 at 16:31, John Dammeyer <jo...@autoartisans.com> 
wrote:
> > How does a simple test like:
> >
> > if (COOLANT_SWITCH == 1) PUMP1 = 1; else PUMP1 = 0;
> >
> > become abstracted through the HAL into the actual low level?
>
> Skipping all the other stuff that I can't answer....
>
> In HAL that is "net some_signal an_input => an_output"
>
> Where the => is optional.
>
> A concrete example:
>
> net coolant_on iocontrol,0.coolant-flood =>
> hm2_5i35.0.7i76.0.1.gpi0-00-out
>
That should be .0. above, not ,0.  :)
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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>



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to