Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: DaOne on December 14, 2010, 04:20:21 PM
-
Anyone know if a jog button can be used in a script?
"DoOEMButton(312)" etc don't work. It moves the axis but it locks moving until a estop. It works on a flash screen just fine but not on a normal one. Any ideas? I need the button to do a few more things before it jogs is why I need a script.
-
anyone???
-
The only way I can see this working after a fashion is to set step mode and step distance. I can't see how continuous mode could work because how would it know how far you wanted to jog? - that's the bit I don't get when you say it works in flash - how far does it jog and why?
Sorry - not much help probably.
Cheers
Ian
-
Jogs till I take my finger off the button on the touch screen.
-
OK - fair enough - but doesn't it also continually execute whatever code you preceed the doOEMButton call with?
-
It may but just adding the doOEMButton call by itself is enough to lock jog.