On 17 February 2011 21:39, Igor Chudov <ichu...@gmail.com> wrote:

> In other words: when I press a certain button, I want a given axis to start
> moving in a given direction at a predetermined speed. When I release that
> button, I want movement to stop.
>
> How can I set that up.

Look at the mux4 component. define states 00 and 11 to be 0 output, 01
to be +speed and 10 to be -speed. Then link the buttons to the sel0
and sel1 pins: http://www.linuxcnc.org/docview/html/man/man9/mux4.9.html

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to