On Thursday 30 August 2018 16:23:05 Gene Heskett wrote: > On Thursday 30 August 2018 15:52:26 andy pugh wrote: > > 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 > > So the missing word was "motor". Fixing thar led to a duplicate error, > elsewhere in the file, and fixing that makes it run. But now I've a > couple chops in the skillet and the rest of dinner laid out for the > microwave, so it will be after dinner before I get a chance to check > it. > > One thing is bothering me about the halmeter readings from > lincurve.0.out though they look as if they've been subjected to a > large multipier, 1000 x or so and the max programmed is .x-val-01 is > 0.0065", mainly to test the polarity of the corrections. > LCNC now loads but somethings off yet, I am getting a following error within .0005" of x movement. Like the offset.0.fb-out isn't getting back to motion.
Clues, cuesticks upside the head? Thanks Andy. -- 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