Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Gregg Eshelman via Emc-users
Nothing wrong with asynchronous processing in control of machinery, as long as there are checks built in to ensure that events that must happen in a specific order cannot be executed out of order due to things like race conditions or operators inputting parameters and hitting the go button too

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread gene heskett
On 4/17/24 13:02, Todd Zuercher via Emc-users wrote: 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

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Peter Wallace
On Wed, 17 Apr 2024, Todd Zuercher wrote: Date: Wed, 17 Apr 2024 18:14:10 + From: Todd Zuercher To: Peter Wallace , Todd Zuercher via Emc-users Subject: RE: [Emc-users] Home to index triggers following error The machine is currently running Linuxcnc 2.7, but the Mesa cards

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Todd Zuercher via Emc-users
Henry Street  Dalton, Ohio 44618 Phone:  (330)828-2105ext. 2031 -Original Message- From: Peter Wallace Sent: Wednesday, April 17, 2024 1:09 PM To: Todd Zuercher via Emc-users Cc: Todd Zuercher Subject: Re: [Emc-users] Home to index triggers following error [EXTERNAL EMAIL] Be sure

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Peter Wallace
On Wed, 17 Apr 2024, Todd Zuercher via Emc-users wrote: Date: Wed, 17 Apr 2024 17:00:31 + From: Todd Zuercher via Emc-users To: "Enhanced Machine Controller (EMC)" Cc: Todd Zuercher Subject: Re: [Emc-users] Home to index triggers following error Sorry to hijack the thread, bu

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Todd Zuercher via Emc-users
)828-2105ext. 2031 -Original Message- From: andy pugh Sent: Wednesday, April 17, 2024 8:47 AM To: Enhanced Machine Controller (EMC) 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. wrote: now

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread gene heskett
On 4/17/24 07:40, Tomaz T. wrote: There is an arbitrarily large position jump when the index pulse is detected. The position counter is set from whatever has accumulated during the home move to zero. My PPMC driver detects index_enable going from 1 to 0 and suppresses any velocity on the next

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread andy pugh
On Wed, 17 Apr 2024 at 12:45, Tomaz T. 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

Re: [Emc-users] Home to index triggers following error

2024-04-17 Thread Tomaz T .
>There is an arbitrarily large position jump when the index >pulse is detected. The position counter is set from >whatever has accumulated during the home move to zero. My >PPMC driver detects index_enable going from 1 to 0 and >suppresses any velocity on the next servo cycle. It still

Re: [Emc-users] Home to index triggers following error

2024-04-16 Thread andy pugh
On Tue, 16 Apr 2024 at 11:10, Tomaz T. wrote: > > linksp Bindex <= ppmc.0.encoder.04.index-enable > linksp Bindex => axis.4.index-enable > You may need linksp (or net) Bindex=> pid.B.index-enable. https://linuxcnc.org/docs/stable/html/man/man9/pid.9.html#PINS -- atp "A motorcycle is a

Re: [Emc-users] Home to index triggers following error

2024-04-16 Thread Tomaz T .
> Is your PID also connected to index-enable (so that it can ignore the > step-change in inputs) Now it is done like this: linksp Bindex <= ppmc.0.encoder.04.index-enable linksp Bindex => axis.4.index-enable ___ Emc-users mailing list

Re: [Emc-users] Home to index triggers following error

2024-04-16 Thread andy pugh
On Tue, 16 Apr 2024 at 10:27, Tomaz T. wrote: > What could be reason that home to index triggers following error Is your PID also connected to index-enable (so that it can ignore the step-change in inputs) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for

[Emc-users] Home to index triggers following error

2024-04-16 Thread Tomaz T .
What could be reason that home to index triggers following error (rotary axis), as it is shown in HAL scope plot: https://i.ibb.co/FgN61cd/HOME-TO-INDEX-ERROR-1.jpg [https://i.ibb.co/FgN61cd/HOME-TO-INDEX-ERROR-1.jpg] INI: HOME_OFFSET= 0 HOME_SEARCH_VEL= 0 HOME_LATCH_VEL = 2