On Mon, 14 Sep 2020, Gene Heskett wrote:
Date: Mon, 14 Sep 2020 17:40:36 -0400
From: Gene Heskett <ghesk...@shentel.net>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Setting up two home switches on Y
On Monday 14 September 2020 17:16:36 andy pugh wrote:
On Mon, 14 Sep 2020 at 20:52, Gene Heskett <ghesk...@shentel.net>
wrote:
One of the rules for the net command is that only the first of that
name in your hal file, is allowed to be an input.
That's not true. They can be allocated in any order, but only one pin
in the net can be a "writer". All the others must be readers.
(except for the bidirectional index-enable pins)
I got bit by that, and was told that, probably a decade back. Now I
guess it either does pay attention to the arrow pairs, or looks at arg2
to see if its input or output?
Cheers, Gene Heskett
The arrows dont do anything nor is the order of any importance
In fact there is no issue with making an undriven signal (all hal input pins)
Though I believe one of the hal file parsing utilities can check for undriven
signals
AFAIK signals are stored in memory locations that connected hal input pins read
from and hal output pins write to (so more than one writer is disallowed)
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users