What is strange is that pressing Machine (F2) does not clear the alarm. (That 
won't close the alarm notification window, you have to click the X on that 
window to make it go away.)

----- Original Message -----
From: tom-...@bgp.nu
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Tuesday, June 20, 2017 3:31:42 PM
Subject: Re: [Emc-users] following error only while homing

You guys are prolific, and I appreciate it!  Thanks for all the input.

A few things in case it hasn’t been clear...

1)  I don’t (currently) have a PID involved at all (position-mode steppers with 
encoders only).
2)  If I set FERROR=2 and MIN_FERROR=1, homing DOES complete successfully.
2) Pressing estop after the following error, and then trying to turn Linuxcnc 
back on from there does NOT help, the error persists.  Only exiting and 
restarting Linuxcnc clears it.

The Halscope trace of:  hm2_7i43.0.stepgen.02.position-cmd,  
hm2_7i43.0.encoder.02.position,  hm2_7i43.0.encoder.02.index-enable,  
axis.2.home-sw-in with trigger of axis.2.f-errored can be seen here:
http://bgp.nu/~tom/pub/enc2.png

I’m happy to help debug a (even obscure) bug if you want, but it sounds like 
I’d be better off using velocity mode and PID ANYWAY, and so should probably do 
that instead of what I have.  To wit...

> On Jun 20, 2017, at 2:04 PM, Sebastian Kuzminsky <s...@highlab.com> wrote:
> I just pushed a totally untested experimental branch named 
> "2.7-hm2-encoder-raw-position", try building that, keep home-to-index, link 
> the new .raw-position pin to axis.*.motor-pos-fb and let us know how that 
> works.

If you DO want me to test this, please remind me how I go about 
getting/building/running it.  It has been a while since I have grabbed 
branches.  This machine runs from the standard release model, so I assume I 
will need to incant git (all of which I tend to forget within a week of using 
it for some reason)…

-Tom


> On Jun 20, 2017, at 2:19 PM, andy pugh <bodge...@gmail.com> wrote:
> 
> On 20 June 2017 at 18:47, Sebastian Kuzminsky <s...@highlab.com> wrote:
> 
>> It looks like it'd be easy to add a ".raw-position" pin to the hostmot2
>> encoder.
> 
> 
> Does homing use the accumulated counts in the counter after index as part
> of the homing offset? It feels like it should.
> If it does, then this might not work.
> 
> 
> -- 
> 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


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

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