Hello Guest it is March 29, 2024, 03:57:49 AM

Author Topic: Configuring Start Button as Push Button  (Read 14258 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #20 on: May 02, 2012, 05:52:34 PM »
Yes you will need to tell Mach which port and pin you have the switches set to, so say you have a button set to port 2 pin 2 you would then set OEM Trig 1 to port 2 pin 2. Then you would go to Config menu then system Hotkeys and enter the OEM code for the actionyou want that button to do, for example if you set OEM Trig to 1000 it would be the Start button.
Hood
Re: Configuring Start Button as Push Button
« Reply #21 on: May 02, 2012, 06:08:06 PM »
Already done it several times and also with different pin #, but no results.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #22 on: May 02, 2012, 06:24:11 PM »
If you do it then pass the xml I will look, should work fine if done correctly.
Hood
Re: Configuring Start Button as Push Button
« Reply #23 on: May 02, 2012, 06:56:26 PM »
Hi Hood, isn't it the one I've sent 4 posts ago?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #24 on: May 02, 2012, 07:11:21 PM »
That xml did not have any OEM triggers set up.
Hood
Re: Configuring Start Button as Push Button
« Reply #25 on: May 02, 2012, 07:19:36 PM »
Ho! I'm sorry, I didn't understand that right away. I'll try to get it done and send by tomorrow. Thanks
Re: Configuring Start Button as Push Button
« Reply #26 on: May 03, 2012, 01:26:17 AM »
Hellow Hood, attached is the modified xml file with OEM trigger 1 set to start cycle as an example of how I am setting these.
Thanks
Marting

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #27 on: May 03, 2012, 03:10:34 AM »
You dont need the Emulated chosen, that is only if you wish to use a keyboard key to emulate a signal. Have you tried with Active High?
Otherwise it looks like it should work so if its not then it would seem the signal is not getting through to Mach.
Hood
Re: Configuring Start Button as Push Button
« Reply #28 on: May 03, 2012, 05:09:08 AM »
Yes, I have tried Active high as well. I am suspecting that iether I need to upgrade to the latest version of Mach3 or else I will have to use to original input pins 10, 11, 12, 13 and 15 (as it states at the bottom of the window in the "Input Signals"). The problem is that pin 10 & 11 are occupied by the fine positioning encoder and pin 12 is occupied by the probe. Now I will try to use pin 13 for the Start and 15 for the Stop commands but would still fall 1 switch short for the Z axis auto zero command. On the otherhand .... now that I'm thinking of other possibilities ..... maybe another alternative is reroute/declare other pins (eg pin 2 & 3 of port 2) in the Encoder/MPG's window for the fine positioning encoder ..... I think this should work!!! I'll keep you posted.
In the mean time, any remarks or ideas are always welcome.
Thanks
Marting
« Last Edit: May 03, 2012, 05:11:20 AM by marting »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #29 on: May 03, 2012, 05:29:52 AM »
Your Mach version will not matter and also port 2 Pins 2-9 work fine as inputs as long as you have that option chosen, which you do. It could be a few things, it may be is if you are using a breakout board then that may not be configurable for these pins to be used as Inputs, some bobs can be used that way others cant. It may also be that your second port is not capable of being set EPP which I would think it would require.
I had that problem a long time ago when I did my first machine, the way I got around it was to use the onboard port as Port 2 and the PCI port as Port 1, the onboard port could be set in the BIOS to EPP
Hood