On Wed, 28 Nov 2018, Gene Heskett wrote:
Date: Wed, 28 Nov 2018 10:16:07 -0500
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] For PCW
On Wednesday 28 November 2018 06:31:30 andy pugh wrote:
On Wed, 28 Nov 2018 at 04:26, Gene Heskett <ghesk...@shentel.net>
wrote:
And that brought cr1 back on, and an attempt to run LCNC now shows two
gpio's as serial tx and rx, but doesn't show anything that from my
understanding, should be there on that subcircuit. And should there
not be 2 such on adjacent pins pairs, a total of 3 per 7i76?
If the HAL pins show as TX and RX and have not reverted to GPIO then
that means that they have found the 7i76 smart-serial channel.
You won't see the other ones without a smart-serial remote on the 7i76
expansion connection.
Hmm, makes sense.
The 7i76 field-IO doesn't show in dmesg. You should see it with halcmd
show pin.
I hadn't considered that, thanks. And it works. Lots and lots of i/o.
Saved and printed. Should be helpfull but will need translation from
gpio-nn to tb-#-# to use. Go feed the missus and input some more coffee
and get to it, starting with getting the other bob for 5i25-p2 powered.
Looks like this will get me going as soon as another standoff kit gets
here, promised tomorrow evening. The box is 3" tall, so I'll mount the
cards about 2" high, and take all the cableing to the machine out under
the boards, so the terminals are not buried in wire. And I'll have a
kajillion of these to fix:
twopass: Error in file ./GO704fast.hal:
setting parameter 'hm2_5i25.0.gpio.007.is_output' to 'true'
parameter or pin 'hm2_5i25.0.gpio.007.is_output' not found
Hmmm, ack that printout, it almost exist, but is_output does not, only
invert and open_drain. Since that is also the stepgen #3 step output,
that line can be nuked in favor of an open_drain, which is how I've
driven the steppers anyway.
The 7I76's 5 step/dir outputs are buffered 5V signals so open_drain is not
appropriate, invert is typically not used either because you have differential
pairs for each of the 7I76's 5 step/dir signals so you just choose the correct
(+ or -) output for the type of drive you have (or swap +,- outputs for
diffentially driven drives)
I take it the ability to change a gpio's direction was lost in the 7i76?
Abd I just discovered that none of the 7i76 stuffs made it to the save
all output. I guess I'll toss these printouts and make the pin file with
screen copy pasted to geany, which added 60 more lines to the printout.
Laborious, but I'll get there.
Thank you Peter. Now for that 2nd cuppa. And feed the missus. Then make
more coffee, this is yesterdays leftovers. :)
--
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
Peter Wallace
Mesa Electronics
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users