On Tuesday 05 October 2021 22:10:37 Gene Heskett wrote:
> Greetings all;
>
> I went thru this whole thread:
>
> https://www.mail-archive.com/emc-users%40lists.sourceforge.net/msg8704
>5.html
>
> Without finding any indication of what line the axis addition in the
> original added line of "Flag = 0" is added to the /usr/bin/axis code?,
> and of course that line is lost and should be restored anytime
> LinuxCNC is updated.
>
> Does anyone know the line number of /usr/bin/axis where that might be
> inserted, as applied to the current master version?
Working from a different premise, I have commented out those lines
in .axisrc that cause the errors, so I can run it long enough for
halshow to show me what I have.
And I now have, from halshow:
19 bit OUT FALSE axis.x.kb-jog-active ==> axis:0:kb
19 bit OUT FALSE axis.z.kb-jog-active ==> axis:1:kb
134 bit IN FALSE axisui.user.Xisactive <== Xisactive
134 bit IN FALSE axisui.user.Yisactive # is a lathe
134 bit IN FALSE axisui.user.Zisactive <== Zisactive
134 bit IN FALSE axisui.user.activeX <== activeX
134 bit IN FALSE axisui.user.activeY # is a lathe
134 bit IN FALSE axisui.user.activeZ <== activeZ
Which is all FALSE because axis_letter is undefined according to the
showstopper errors. But it is in /usr/bin/axis, so I have to assume I
have a syntax error in the code now commented out.
I also put a print statement in .axisrc in an attempt to discover what
vars looks like, but all I get from that is an address in memory where
vars lives. Every 20 ms, a steady stream Not hellpfull.
But the Xisactive and Zisactive signals are not the signals I intend to
use as update triggers. However halshow will not allow me to "sets" them
to exercise them because they already have a src. So disconnecting those
is next. Also, setp-ing the above inputs has no effect on the axisui
outputs.
Obviously I'm lost and don't have a clue what I'm doing. Does anyone have
this jogaxisget.comp code actually working to control the active axis
display buttons?
All I really want is a set of input pins that are or'd into the keyboard
signals that do control the display. If active high, net-ting them to
existing signals would be a 2 line edit in my .hal file. Problem solved.
And its ok, but I just found they don't work from a logged in keyboard,
only from the machines own keyboard.
Thank you.
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, 1940)
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