Ronny,
Here is the way to do it, the way your wanting to:
Goto Config>ports and pins>input tab:
Enable Input1, Input2 and Input3 leave the port/pin at 0/0, put a check in emulate, then set your hot key for Input 1, 2, and 3 to f5, f6, f7
leave an X in active low. Hit apply, then ok.
goto operator>VB scripter, open it and paste in the following, then goto File>save as and put the file name as: "Macropump.m1s", close the window (make sure that the macropump is saved in the macro folder for your profile).
'Macropump.m1s
a=GetUserDRO(2000)
b=GetUserDRO(2001)
c=GetUserDRO(2002)
If IsActive(INPUT1) And a=0 Then
SetOEMDRO(3,100)
x=GetOEMDRO(3)
SetUserDRO(2000,1)
Message("Slow Jog Rate set to 3")
Else
SetUserDRO(2000,0)
End If
If IsActive(INPUT2) Then
SetOEMDRO (3,20)
y=GetOEMDRO(3)
SetUserDRO(2001,1)
Message("Slow Jog Rate set to 20")
Else
SetUserDRO(2001,0)
End If
If IsActive(INPUT3) Then
SetOEMDRO (3,2)
z=GetOEMDRO (3)
SetUserDRO(2002,1)
Message("Slow Jog Rate set to 2")
Else
SetUserDRO(2003,0)
End If
Then: goto config>general and check the enable macropump, hit ok then close and re-open Mach.
now when you hit the f5, f6, or f7 keys you will see a message scroll across the bottom that shows what your slow jog % rate is.
You can also watch the dro itself by hitting the tab key and looking at the slow jog rate % DRO.
scott