On Friday 31 January 2020 17:12:14 Sam Sokolik wrote: > I Don't think I am following what you want to do. (just getting over > the flu) . I can tell you how the axis estop logic works though.. > Actually if you watch this video - I think I explain it well. > https://youtu.be/hVkNtq4C1F8 >
Where is Part 2, e-stop in hardware? :) > 3 pins > *iocontrol.0.emc−enable−in* > *iocontrol.0.user−enable−out* > *iocontrol.0.user−request−enable* > > *when you try to pull out the estop loop .user-enable-out true* > *user-request-enable pulses true. (I don't remember how long)* > > *Now the estop button will actually pull out in the gui when > emc-enable-in goes high (and then linuxcnc knows the estop loop is > enabled) that is the feedback to linuxcnc.* > > *sam* > > On Fri, Jan 31, 2020 at 2:23 PM John Dammeyer <jo...@autoartisans.com> > > wrote: > > > From: nkp [mailto:nkp...@gmail.com] > > > > > > src/emc/usr_intf/axis/extensions/emcmodule.cc > > > > > > 31.01.2020 21:55, nkp ?????: > > > > linuxcnc.py does not exist ,this module is in C > > > > > > > > 31.01.2020 21:50, John Dammeyer ?????: > > > >>> -----Original Message----- > > > >>> From: nkp [mailto:nkp...@gmail.com] > > > >>> > > > >>> it is described here: > > > >>> > > > >>> http://linuxcnc.org/docs/2.7/html/config/python-interface.html > > > >> > > > >> That describes the program which is great. However a search on > > > >> "linuxcnc.py" does not turn up the source code and although > > > >> "linuxcnc" is highlighted in light blue throughout the document > > > >> there's no link to the software itself. At least not what I > > > >> could > > > > find. > > > > > > > > Ah. Too bad they didn't name it linuxcnc.cc in the extensions > > folder. That might have been a tad more logical... or... > > import emcmodule * > > and set the python naming to that > > > > History is one thing. But just as bugs are fixed periodically so > > should documentation so the programs can be self documenting. > > Instead we have to trust that the > > http://linuxcnc.org/docs/html/config/python-interface.html actually > > matches the source code. > > > > Anyway. Thank you very much for the links. I'll now have to dig > > into how a c++ program can become a python library. > > > > John Dammeyer > > > > > > > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > _______________________________________________ > 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