On 12 November 2012 02:18, John Kasunich <jmkasun...@fastmail.fm> wrote:

>  "man oneshot" from the command line should get you the documentation.

Or the HTML docs: http://www.linuxcnc.org/docs/html/man/man9/oneshot.9.html
Note that you can set it to produce a pulse on both the rising and
falling edge, so if you net-ed it to halui.machine,is-on you would get
a pulse when you turned the machine on or off (F2 key in axis)
You need to enable halui to get that pin:
http://www.linuxcnc.org/docs/html/gui/halui.html
I don't know if you get the pulse, or how long it would be, if you
exit LinuxCNC without turning the machine off.

Note that oneshot has the time resolution of the thread it is in. So
1mS resolution in the typical servo thread.
It can't run in the base thread.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to