Hello Guest it is March 29, 2024, 11:02:40 AM

Author Topic: X Axis won't stop when pushing external OEM button  (Read 8033 times)

0 Members and 1 Guest are viewing this topic.

Re: X Axis won't stop when pushing external OEM button
« Reply #10 on: June 11, 2008, 05:56:18 AM »
So I wrote the code with Brain Editor and with X axis right and left jogging and same thing happen, Axis keep moving and will not stop, have to press escape to stop it.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: X Axis won't stop when pushing external OEM button
« Reply #11 on: June 11, 2008, 06:10:49 AM »
What if you release and press and release again? will it stop?
seems like its latching the jog on, seem to remember this from way back, cant remember if there was a resolution.
Let me know what happens when you try the above.

Hood
Re: X Axis won't stop when pushing external OEM button
« Reply #12 on: June 11, 2008, 01:18:09 PM »
Hi, once I press the pushbutton, axis move and will not stop no matter if I press button many times. If I push in X++ button, axis move in that direction even if I hit X- button. The only way it will stop, it's by pressing ESC on keyboard or Emergency stop.

Jeff

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: X Axis won't stop when pushing external OEM button
« Reply #13 on: June 11, 2008, 01:24:27 PM »
Sounds like it is not going to be possible to have external Jog buttons, I know trying to work some system buttons by VB script can be problematic and this looks similar. I will see what Brian says.

Hood

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: X Axis won't stop when pushing external OEM button
« Reply #14 on: June 11, 2008, 04:59:28 PM »
You can't call the jogs form a VB button edited in Mach but you can go in screen 4 and assign the button the OEM code and it will stop on release.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: X Axis won't stop when pushing external OEM button
« Reply #15 on: June 11, 2008, 07:24:22 PM »
Well I just talked with Brian and he said to use the Jog Inputs. I never even knew there was such a thing, shows how much I pay attention. So basically all you should need to do is go to ports and pins then Inputs, scroll way down and enter the pins you have your buttons connected to into the X++, X-- etc

Hood
Re: X Axis won't stop when pushing external OEM button
« Reply #16 on: June 12, 2008, 04:35:17 AM »
Hi, thanks for this reply, I did not think that it could be so simple, will try it.