> the main problem is configur EMC to plug MPG

shortly:
- hook up the jogwheel to a hardware encoder counter, or to general 
purpose IO and use the software encoder counter.
- wire the encoder count to axis.N.jog-counts for all axes you want to 
be able to move
- read the rotary-switches with general purpose IO
- have one rotary switch change axis.N.jog-scale to a suitable value
- have the other rotary switch set axis.N.jog-enable true for the axis 
you want to move.

For feed-override and spindle-speed override you need to use halui, and 
the relevant pins are
- halui.feed-override.counts  and halui.feed-override.scale
- spindle-override.counts   and   halui.spindle-override.scale

there is no enable input for feed-override or spindle-override in halui, 
so you just need to set the scale to zero when you don't want anything 
to happen to FO or SO.
When running emc in verbose mode that means I get a spindle-override and 
feed-override message with scale=0.0 for every click of the jogwheel 
when jogging other axes. Annoying, but it works. Perhaps enable inputs 
for halui FO and SO could be added?

I've written more here
http://www.anderswallin.net/2006/11/jogging-emc2/

something like this should probably go in the manual since it is 
becoming a FAQ on the mailinglist.

Anders

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to