Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 08:24:54 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Jog button in a script?
Pages: 1   Go Down
Print
Author Topic: Jog button in a script?  (Read 461 times)
0 Members and 2 Guests are viewing this topic.
DaOne
Active Member

Offline Offline

Posts: 229



View Profile
« 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.
Logged
DaOne
Active Member

Offline Offline

Posts: 229



View Profile
« Reply #1 on: December 16, 2010, 02:17:51 AM »

anyone???
Logged
stirling
Global Moderator
*
Offline Offline

Posts: 1,190

UK


View Profile WWW
« Reply #2 on: December 17, 2010, 05:26:50 AM »

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
Logged
DaOne
Active Member

Offline Offline

Posts: 229



View Profile
« Reply #3 on: December 17, 2010, 05:30:14 AM »

Jogs till I take my finger off the button on the touch screen.
Logged
stirling
Global Moderator
*
Offline Offline

Posts: 1,190

UK


View Profile WWW
« Reply #4 on: December 17, 2010, 05:41:44 AM »

OK - fair enough - but doesn't it also continually execute whatever code you preceed the doOEMButton call with?
Logged
DaOne
Active Member

Offline Offline

Posts: 229



View Profile
« Reply #5 on: December 17, 2010, 05:43:47 AM »

It may but just adding the doOEMButton call by itself is enough to lock jog.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!