Hello Guest it is July 16, 2019, 02:55:16 PM

Author Topic: Trouble getting external switch to operate  (Read 4150 times)

0 Members and 1 Guest are viewing this topic.

Trouble getting external switch to operate
« on: February 15, 2009, 07:33:57 PM »
Hi all,

I am trying to get an external momentary switch set up to act as cycle start. I am using port 1 and pin 15.
I set ports and pins input signals, OEM trig #1 to port 1 pin 15. Also set OEM trigger #1 code to 1000
in the hotkey menu. I have one of the switch terminals connected to pin 15 and the other terminal to ground.
It's not working. Am I missing something ??

Thanks
Al

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Trouble getting external switch to operate
« Reply #1 on: February 15, 2009, 07:56:14 PM »
Could your BOB be looking for 5v rather than a ground?
Hood
Re: Trouble getting external switch to operate
« Reply #2 on: February 15, 2009, 08:59:44 PM »
Hood,
I'm not sure. This is my 1st. attempt at trying to signal an input externally.
Maybe I don't understand it well enough yet. Pin 15 has 5v at idle. Is that
normal ? I thought if I grounded it that would signal mach to run.
Al

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Trouble getting external switch to operate
« Reply #3 on: February 16, 2009, 12:08:47 AM »
Do you have a BOB (Breakout board)? If yes what make, if not and you are connecting direct to the parallel port then grounding pin 15 should be correct.
 If you press the switch do you see the OEM Trig LED light on Diagnostics page?
Hood
Re: Trouble getting external switch to operate
« Reply #4 on: February 16, 2009, 07:58:54 AM »
No, I'm not using a breakout board. I am connecting direct to the parallel port.
I will have to check the diagnostics page tonight.
Al

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Trouble getting external switch to operate
« Reply #5 on: February 16, 2009, 08:03:44 AM »
If you still dont get it going rename and attach your xml to the thread and I will have a look. Also make sure your switch is actually working correctly.

Hood
Re: Trouble getting external switch to operate
« Reply #6 on: February 16, 2009, 07:44:44 PM »
Hood,
I don't have a OEM trig title on my diognostics page. I have a Port 1 pins current state.
This has 2 horizontal rows of 10 small square led's. When I ground pin 15 the fourth LED
from the left on the top row changes from green to black.
Maybe this is a version difference(?) and the cause of the problem.
I have attached my .xml
This is a very basic mill setup. I control 3 axis and 1 coolant output only. Spindle on/off is
done manually.

Thanks
Al

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Trouble getting external switch to operate
« Reply #7 on: February 16, 2009, 07:59:03 PM »
You have the triger set up with the port and pin but its not enabled.
Hood
Re: Trouble getting external switch to operate
« Reply #8 on: February 16, 2009, 08:05:13 PM »
Hood,
You are sooooo right.
How dumb can I be ???? I feel foolish.
It works fine now.
Thanks a ton.

Al