On Sunday 18 July 2021 14:11:40 nkp wrote: > sorry for the brevity - language barrier
I wish I could read yours. However tagging the below onto /usr/bin/axis at the end, returns this (attached) when I try to run linuxcnc -l. .axisrc has been chmod +x. Is that the problem? flag = 0 And line 22 is print "except flag = ", flag And I'm lost, removing the chmod made no difference. Thank you for the prompt response. > this line should be added to the file /usr/bin/axis (if RIP version - > bin/axis ) > > ================= > > > it? What does it do? Does it work with external jog buttons? > > yes, all this code is exactly for this (including code .axisrc and > axis) > > > loadrt jogaxisget > addf jogaxisget.0 servo-thread > > net activeX jogaxisget.0.activeX axisui.user.activeX > net activeY jogaxisget.0.activeY axisui.user.activeY > net activeZ jogaxisget.0.activeZ axisui.user.activeZ > > net axis:0:kb jogaxisget.0.Xin0 axis.0.kb-jog-active > net axis:1:kb jogaxisget.0.Yin0 axis.1.kb-jog-active > net axis:2:kb jogaxisget.0.Zin0 axis.2.kb-jog-active > > net Xisactive jogaxisget.0.Xverify axisui.user.Xisactive > net Yisactive jogaxisget.0.Yverify axisui.user.Yisactive > net Zisactive jogaxisget.0.Zverify axisui.user.Zisactive > > net Xin1 jogaxisget.0.Xin1 pin_your_external_button_X > net Yin1 jogaxisget.0.Yin1 pin_your_external_button_Y > net Zin1 jogaxisget.0.Zin1 pin_your_external_button_Z > > ######## > > > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users