The machine is currently running Linuxcnc 2.7, but the Mesa cards, are 
significantly older, dating back to the Linuxcnc 2.5 era.

I'm not sure how comfortable a feel about updating this machine to current at 
the moment.  It is running 32-bit RTAI, and I'm not confident I'll be able to 
achieve the necessary latencies with the currently available mainstream 64-bit 
real time kernels required for the current version of Linuxcnc on the machine's 
current computer.  

All of my actively running Linuxcnc machines are still on 2.7.  I am in the 
midst of a major overhaul of one machine that will be current version of 
Linuxcnc.  But I'm very hesitant to pull the other running machines out of 
production to upgrade until after I have more experience working with the newer 
versions.  (JA and the move to requiring 64-bit kernels were very big changes.)

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-----Original Message-----
From: Peter Wallace <p...@mesanet.com> 
Sent: Wednesday, April 17, 2024 1:09 PM
To: Todd Zuercher via Emc-users <emc-users@lists.sourceforge.net>
Cc: Todd Zuercher <to...@pgrahamdunn.com>
Subject: Re: [Emc-users] Home to index triggers following error

[EXTERNAL EMAIL] Be sure links are safe.

On Wed, 17 Apr 2024, Todd Zuercher via Emc-users wrote:

> Date: Wed, 17 Apr 2024 17:00:31 +0000
> From: Todd Zuercher via Emc-users <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" 
> <emc-users@lists.sourceforge.net>
> Cc: Todd Zuercher <to...@pgrahamdunn.com>
> Subject: Re: [Emc-users] Home to index triggers following error
>
> Sorry to hijack the thread, but I've had to live with this on a machine that 
> I'm using cascaded double PID loops on.  I have the velocity loop PIDs 
> running in a fast floating point base thread to help with the tuning of some 
> cantankerous torque mode servos.  The position loops are still in the servo 
> thread (because I can't run the whole servo thread as fast as I can the 
> floating point base thread.)  Reading/writing to the Mesa hardware in a 
> faster loop than the servo thread seems to break the f-error disable for the 
> encoder reset.  I think because the encoder reset doesn't always occur when 
> the it is expecting it or something to that effect.  I've tried just running 
> a faster servo-thread, but I can run the lighter floating point base thread 
> about 4x faster than I can the whole servo-thread.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031

What LinuxCNC version?


There was a bug in the hostmot driver index handling that was fixed fairly 
recently (a couple of years ago)

>
> -----Original Message-----
> From: andy pugh <bodge...@gmail.com>
> Sent: Wednesday, April 17, 2024 8:47 AM
> To: Enhanced Machine Controller (EMC) 
> <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Home to index triggers following error
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> On Wed, 17 Apr 2024 at 12:45, Tomaz T. <tomaz_...@hotmail.com> wrote:
>
> now it doesn't trigger following error any more (homing completes
>> successfully), interesting thing is, that on first attempt of homing 
>> after fresh starting LinuxCNC I see quite large spike on f-error when 
>> hitting index pulse, this large spike doesn't accrue on any more on 
>> second attempt of homing or later, only after fresh start and on first one.
>
>
>
> It will only trigger the f-error  if the difference between the current 
> encoder position and the zero position is larger than the f-error limit.
> Once you have homed once jump will be at most a few encoder counts.
>
> --
> 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, 1912
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Caabbda5a92bc456d94f908dc5f01089e%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638489705254573705%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=lQy1UeoeN80M7tWPYw5Dn5zQ7h6kCmXWUFT6iXsEPqs%3D&reserv
> ed=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2
> Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ct
> oddz%40pgrahamdunn.com%7Caabbda5a92bc456d94f908dc5f01089e%7C5758544c57
> 3f47cebee96c3e0806fb43%7C0%7C0%7C638489705254582556%7CUnknown%7CTWFpbG
> Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%
> 3D%7C0%7C%7C%7C&sdata=%2B%2B3zezrWIsuDQ6dkuMvAJJeGqiK4NQ0XqmScHe6k2fc%
> 3D&reserved=0>
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz%
> 40pgrahamdunn.com%7Caabbda5a92bc456d94f908dc5f01089e%7C5758544c573f47c
> ebee96c3e0806fb43%7C0%7C0%7C638489705254588956%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 0%7C%7C%7C&sdata=6H3L%2FPtsqyGpKAerIWL63bCQYKYU49vXVHxjc8cPgZc%3D&rese
> rved=0
>

Peter Wallace
Mesa Electronics


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to