On Monday 03 September 2018 19:29:30 Phillip Carter wrote:

> I note on my machine that joint.N.motor-pos-cmd and
> joint.N.motor-pos-fb change value after every homing and bear no
> relation to the actual joint position whereas joint.N.pos-cmd and
> joint.N.pos-fb are always show the same value at the same joint
> position.
>
> Maybe the changes below will help.
>
> Cheers, Phill
>
> On 02/09/2018 23:49, Gene Heskett wrote:
> >> On Saturday 01 September 2018 16:24:20 Gene Heskett wrote:
> >> ##########################
> >> # lincurve needs input from Z position
> >> # 1st, drive the Z motor from motion.0.joint.1.pos-cmd
> >> #net Zdrive        <= joint.1.pos-cmd =>
> >> hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-cmd
>
>          net Zdrive        <= joint.1.motor-pos-cmd  =>
> hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-cmd
>
> >> # watch bwZ to see if it moves DOES
> >> # now route feedback back to motion
> >> #net    bwZ        <=
> >> hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-fb =>
> >> joint.1.motor-pos-fb
>
>          net    bwZ        <=
> hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-fb => joint.1.motor-pos-fb
>
> >> # now send real Z position to lincurve.0.in
> >> #net     bwZ         => lincurve.0.in Z-axis-track.in
>
>          net     Zactual    <= joint.1.pos-cmd => lincurve.0.in
> Z-axis-track.in
>
> >> # lincurve.0.in is Z's position
> >> # so now send lincurve.0.out to X via offset.0.offset
>
Looks like this almost works. But regardless, I have an offset in the dro 
between a supposed Xhome at 0.000 and the dro, and a touchoff to 0.00 
still leaves it at about +30 to +40 thou from 0.00 in the dro.
I have a home of -1.00 set in Z, and after finding the switch from either 
direction/state, it moves 1" to the left of the switch making every 
time, showing -1.0000 in the dro.

So I'm going to duplicate this in the joint.0 stuff and see if that kills 
this unwanted offset in the x dro. The x home_offset is 0.00000000 in 
the .ini file.

Homing x after a fresh start always get a switch error on the first home, 
but no more errors on the second home, regardless of the switches state 
at the start of the home operation, and both show the same dro offset 
within a .1 thou. So my switches seem to be working well.

But I just tried to build a table for x and y vals for lincurve and I 
think I'm seeing some thermal effects, but I'll fight with that another 
day if WHAW's 1kw doesn't want to start in the morning. Otherwise I'm 
going to take my pickup to the dealer and see if he can figure out why 
my AC isn't cooling. Fun and all that in the afternoons when the 
steering wheel is hot enough to burn your hands.

Thanks Phillip.
-- 
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

Reply via email to