On Wednesday 21 July 2021 08:44:17 andy pugh wrote:

> On Wed, 21 Jul 2021 at 00:59, Gene Heskett <[email protected]> 
wrote:
> > > Only in the HAL.
> >
> > That didn't work either. So it looks like its something more
> > fundamental.
>
> If you got the exact same error, then you fixed the wrong file.

John K. won't let me post the code, and I don't understand it well enough 
to fix it myself.

So I've been playing on the sheldon,. which is currently my only machine 
with non-keyboard based jogging controls, letting me operate it by hand 
just as if I was turning screws with a cranks. I can see the dial 
changing as I turn it. So I ought to be able to use an edge detector to 
generate an Activat.N. signal to feed back into axis or axisui to effect 
a change in the active axis radio buttons.

But first, motion ignores the dials when the machine is moving from other 
signal src's, so the 5 minute timeouts I originally put in, disabling 
the jog after 5 minutes of inactivity, is effectively a non-operation 
that can be removed. Maybe, I have an aversion to that as I want any 
jogging to be 100% intentional.

This will still let me push the button to change the "scale" of the jog.

It may be that the new module, jogaxisget.comp, generating jogaxisget.so 
is not even needed to affect this fix. I also see that the 
default .axisrc generates 6 new pins designated as inputs and which I 
can see changing state when jogging from the keyboard. So something is 
driving them now.

But I also use the encoder watching that dial to effect the size of the 
jog, which is then displayed by pyvcp. And that use of the dial should 
probably not trigger a change in the radio button status. Only a dial 
turn that actally moves the machine should update the radio buttons. A 
couple and2 gates will fix that.

Am I on the rght track?

Thanks.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to