Hi Guys. I have a Saitek P800 joypad configured as a mill control. It
is awesome.

It has one parameter pre-set:

setp halui.jog-speed   30       # desired maximum jog speed mm/min

Then I have a few buttons configured for jogging:

net velX input.0.abs-rz-position => joyhandle.0.in
net velXout joyhandle.0.out => halui.jog.0.analog
net velY input.0.abs-z-position => joyhandle.1.in
net velYout joyhandle.1.out => halui.jog.1.analog
net velZ input.0.abs-y-position => joyhandle.2.in
net velZout joyhandle.2.out => halui.jog.2.analog


And I have some buttons configured for misc stuff:


# Flood on and off buttons 1 and 2
net floodOff input.0.btn-thumb2 => halui.flood.on
net floodOn input.0.btn-trigger => halui.flood.off

and so on.

What I want to do is to change the default jog speed from the joypad.
Somehow I want two buttons, one for decreasing halui.jog-speed and one
for increasing. Say I have them called example1 and example2 buttons.

Could I say something like

net increaseJog input.0.btn-example1 => halui.jog-speed.increase
net increaseJog input.0.btn-example2 => halui.jog-speed.decrease

Clearly my syntax is wrong, but is there some way of changing max jog
speed from the joypad itself?

Thanks a lot. I am loving every minute of using EMC2.

i

------------------------------------------------------------------------------
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