Hello Guest it is May 08, 2021, 06:19:19 AM

Author Topic: Input or output  (Read 4272 times)

0 Members and 1 Guest are viewing this topic.

Offline johnv

*
  •  43 43
    • View Profile
Input or output
« 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

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input or output
« Reply #1 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

Offline johnv

*
  •  43 43
    • View Profile
Re: Input or output
« Reply #2 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

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input or output
« Reply #3 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

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input or output
« Reply #4 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

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input or output
« Reply #5 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
Re: Input or output
« Reply #6 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?

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input or output
« Reply #7 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

Offline johnv

*
  •  43 43
    • View Profile
Re: Input or output
« Reply #8 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

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input or output
« Reply #9 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