Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: johnv on May 11, 2010, 03:35:18 PM

Title: Input or output
Post by: johnv on May 11, 2010, 03:35:18 PM
Hi All,
I'm trying to get an external switch to trigger OEMCode 327 (Select MPG Jog Mode). Should I be using an input or output?
Johnv
Title: Re: Input or output
Post by: Hood on May 11, 2010, 03:44:19 PM
Should be an Input, more specifically you want to use one of the OEM Triggers and then once you have that set up go to Config menu then System Hotkeys. Once there click in the box beside the OEM Trigger you have just set up and enter the OEM code you want, 327 in your case.
Hood
Title: Re: Input or output
Post by: johnv on May 11, 2010, 04:19:20 PM
Thanks Hood!  I'll give it a try..... Works like a charm. Still having a problem with getting a remote Led to follow the page 1 Reset LED.
Johnv
Title: Re: Input or output
Post by: Hood on May 11, 2010, 04:24:50 PM
Still having a problem with getting a remote Led to follow the page 1 Reset LED.
Johnv

You would need to use a macropump or Brain to do that. Brain probably the simplest, you would just connect the LED to an Output pin and set it up as an Output in Ports and pins. In the Brain have the Reset LED as the first block, Pass through as next and termination as the OutPut you have chosen. Enable and reload the Brain from Brain Control and that should be it.
Hood
Title: Re: Input or output
Post by: Hood on May 11, 2010, 04:31:08 PM
Just tried it and looks like all outputs are off when in reset so will have to think about that.
Hood
Title: Re: Input or output
Post by: Hood on May 11, 2010, 04:54:08 PM
Only thing I can think of at the moment is have a relay with LED connected to the normally closed contacts and use the enable signal to control the relays coil.
Hood
Title: Re: Input or output
Post by: cjmerlin on May 12, 2010, 11:09:21 AM
Hi, Using a brain, there is a way to invert the signal if I remember. Would this help?
Title: Re: Input or output
Post by: Hood on May 12, 2010, 04:16:43 PM
Hi, Using a brain, there is a way to invert the signal if I remember. Would this help?

Not really as it would just mean the LED would be on when not in Reset.
However it has me thinking, if the enable was used and the Active Low was chosen I wonder if  it would go High when in Reset.
Hood
Title: Re: Input or output
Post by: johnv on May 12, 2010, 07:24:47 PM
HI.
How does Mach3 handle the fact that the Reset button alternates red & green when at fault, but a solid green when reset or enabled?
johnv
Title: Re: Input or output
Post by: Hood on May 12, 2010, 07:48:55 PM
It is an option in the screen designer to have the LED as either a solid LED or a Flashing. The reason the LED flashes Red/Green is the image file is green for inactive state and red for active so when its active it flashes between these two states, when inactive its not flashing so is green.
Hood