Author Topic: optical switch opb917bz mach lathe index  (Read 5825 times)

0 Members and 1 Guest are viewing this topic.

Offline turbothis

  • Active Member
  • Posts: 141
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #10 on: July 18, 2013, 04:04:03 PM »
1 yes

2 the same model switch was used before and functioned great. I just swapped the computer a while back and now need to do some threading.

3 not sure what you mean there?

Offline Hood

  • Mach4 Alpha
  • Posts: 25,775
  • Carnoustie, Scotland
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #11 on: July 18, 2013, 05:24:50 PM »
3.
 I am saying remove the blue wire from the input on the BOB. Connect the positive probe to the blue wire, connect the negative probe to the Gnd pin. Turn your spindle so that the slot passes the opto and you should see a voltage.
Hood

Offline turbothis

  • Active Member
  • Posts: 141
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #12 on: July 18, 2013, 05:54:18 PM »
I get nothing.
this is a new switch that has only been wired through the 100,000k resistor for the red wire.

Offline Hood

  • Mach4 Alpha
  • Posts: 25,775
  • Carnoustie, Scotland
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #13 on: July 18, 2013, 05:58:32 PM »
100,000K?
You will get nothing through that.
Put a 220 Ohm and try again.
Hood

Offline turbothis

  • Active Member
  • Posts: 141
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #14 on: July 18, 2013, 06:06:46 PM »
cool! I get 5.57v
what now?

Offline Hood

  • Mach4 Alpha
  • Posts: 25,775
  • Carnoustie, Scotland
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #15 on: July 18, 2013, 06:12:01 PM »
Put it back to your bob and try.
Hood

Offline turbothis

  • Active Member
  • Posts: 141
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #16 on: July 18, 2013, 06:17:06 PM »
nope
I try all the setting combos I can think of in the port/pins but nothing seems to read it.
I swapped it with the estop to double check and the pin works?

Offline Hood

  • Mach4 Alpha
  • Posts: 25,775
  • Carnoustie, Scotland
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #17 on: July 18, 2013, 06:20:23 PM »
Put the opto into the EStops input and see if it E-Stops when you rotate off the slot.
Hood

Offline turbothis

  • Active Member
  • Posts: 141
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #18 on: July 18, 2013, 06:21:04 PM »
I get 1.74v to the input pin when the switch is open and 0v when blocked.

Offline Hood

  • Mach4 Alpha
  • Posts: 25,775
  • Carnoustie, Scotland
    • View Profile
Re: optical switch opb917bz mach lathe index
« Reply #19 on: July 18, 2013, 06:23:21 PM »
Sounds like the BOB is pulling it down.
Can you connect direct to the port in some way?
Hood