On Thu, 30 Aug 2018 at 20:27, Gene Heskett <ghesk...@shentel.net> wrote:

> net bedwear5    <=      offset.0.fb-out         => joint.0.pos-fb 
> X-axis-track.in
>
> LinuxCNC -l fired up from a terminal, and this is logged as it quits:
> ./hm2-7i90-stepper.hal:262: Signal 'bedwear5' can not add OUT pin 
> 'joint.0.pos-fb', it already has OUT pin 'offset.0.fb-out'
>
> But a search of the whole 700+ LOC can't find it.
> oldtimers must be setting in, I can't see the error either. Sob.

It's on line 262, and that is probably right above, in your post.

But what I don't understand is why it is saying that joint.0.pos-fb is
an OUT pin, as as far as I can tell no such pin exists.
http://linuxcnc.org/docs/devel/html/man/man9/motion.9.html
There _is_ an OUT pin that reports the position feedback with motor
offsets removed: joint.N.joint−pos−fb OUT FLOAT

Your HAL, though, needs to have:

net bedwear2    <=      joint.0.motor-pos-cmd         => offset.0.in #
cmd from motion
#this is corrected command to x axis
net bedwear3    <=      offset.0.out            =>
hm2_[HOSTMOT2](BOARD).0.stepgen.03.position-cmd
# thats command, now fix the offset feedback back to motion
net bedwear4    <=      hm2_[HOSTMOT2](BOARD).0.stepgen.03.position-fb
=> offset.0.fb-in
net bedwear5    <=      offset.0.fb-out         =>
joint.0.motor-pos-fb      X-axis-track.in

--
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

------------------------------------------------------------------------------
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

Reply via email to