Hello Guest it is March 29, 2024, 09:36:13 AM

Author Topic: Spindle relay  (Read 4785 times)

0 Members and 1 Guest are viewing this topic.

Offline Kato

*
  •  11 11
    • View Profile
Spindle relay
« on: July 29, 2007, 01:02:25 PM »
Hi, I have problem with my lathe. I want to pull a relay when I command M3 or M4.
I hav eunchecked the "Disable Spindle Relay" and choosen Output 1 on both m3 and m4.
Cant make it work.
/Jim
Re: Spindle relay
« Reply #1 on: July 31, 2007, 03:09:58 PM »
Hello,
'What pin do you have the output set to? You can check this under outputs (also be sure that the port is set)

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: Spindle relay
« Reply #2 on: August 01, 2007, 06:02:18 AM »
Also check that the printer port output has the power to drive the relay.

I was connecting to my Omron inverter, but had to drive a relay with a simple transistor amp to get it going.
Not me driving the engine - I'm better looking.
Re: Spindle relay
« Reply #3 on: August 01, 2007, 07:56:17 PM »
What do you have for a breakout board?
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: Spindle relay
« Reply #4 on: August 02, 2007, 04:23:00 AM »
Brian - I don't know whether that was aimed at me - I don't have one. I got an old printer lead and identified all the wires in it with the pin numbers and soldered them, in order, on a small piece of copper clad stripboard.

The wires to the stepper motor drives go directly to those boards. The other functions I make the circuit up as required. At the moment it is just the two spindle relays for M3 and M4 commands. I have to do the coolant relays next.

I don't know how to stick a picture on this forum, or I could put one up.
Not me driving the engine - I'm better looking.
Re: Spindle relay
« Reply #5 on: August 02, 2007, 07:08:33 AM »
You will need to do some work to get that output to drive a relay :(
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Spindle relay
« Reply #6 on: August 02, 2007, 01:31:59 PM »
Hi,

The easiest way to go is, Solid-State Relays , Most of then are 3-30 volt input (Opto-Isolated) and are available in many flavors.

Thanks, Chip

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: Spindle relay
« Reply #7 on: August 04, 2007, 05:20:35 AM »
Getting the parrallel port to drive relays is fairly easy. 
The books I have are fairly old hat now, but more modern transistors can be used. I am looking at the design now - which is a BC 549 transistor, fastened to ground, with a relay up to a 12 volt line.  It is driven by the 5 volt signal ( or in actual fact the 0v signal ) from the parrallel port via a 2K2 resistor There is a diode across the relay pins (to protect against voltage spikes etc and a 3K9 resistor base to ground. Only four components.
I had suitable values in my bits box to knock up two similar circuits for the spindle motor pins. I have a resistor to cut the 24 volt power supply for my stepper circuits to 12 volt of these relays - and since only one of these is on at once, one resistor is enough for that.The relay outputs go to my Omron inverter.
I can repeat this for the coolant relays - with the advantage that the seperate circuits are completely isolated from one another - via the relays.
Not me driving the engine - I'm better looking.