Hello Igor,

For a way to add incremental moves take a look here...

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Adding_More_Controls_To_Simple_Remote_Pendant

I use the number 4 button with a joystick combination to make  incremental 
jog moves.

>From the article...


We decided to make our incremental jog mode by way of a MDI command. Seems 
simple enough all we need to do is switch from absolute mode G90 to 
Incremental mode G91, make our move G0 X.001 then switch back to G90 when we 
return. The problem is you cannot have both G90 and G91 on the same line. So 
in order to make this move we issue a MDI command G0 X.001 M102. We program 
the M102 to change the hal pin tristate to TRUE which allows EMC to process 
the MDI command G90 when we release the joypad button 4. So the signal goes 
from the joypad to MDI command one to an external program to the joypad to a 
hal pin to MDI command two and back. We are using oneshot here so we are not 
constantly sending a MDI command.

Rick G



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to