Hello Guest it is March 28, 2024, 05:30:17 AM

Author Topic: Spindle Relay Configuration Questions  (Read 5877 times)

0 Members and 1 Guest are viewing this topic.

Spindle Relay Configuration Questions
« on: April 20, 2019, 09:21:25 PM »
I've just about got my mini lathe cnc conversion complete but have stumbled a bit with configuring the BoB spindle relay.  I want to turn the spindle on and off only with Mach3.  Speed will be controlled by a pot.  I've assigned Ouput 1 for M3 and M4 as I don't anticipate needing to run the spindle in reverse.  Based on the limited information contained in the BoB instruction manual (attached) I enabled Output #1 and assigned Pin 16.  Also tried Pin 17.  Checked Active Low too with no change.  The spindle is not wired to the relay terminals.  Using a multimeter and inputing a M3 S1000 command in the MDI I don't detect continuity across the relay terminals.  The motors turn and move the carriage and cross slide as expected so I know the board is powered up.  Does the relay need a load on it to close the contacts?  Is my configuration not correct?  Bad relay?  Looking for some help and guidance to get the lathe functional.     

My configuration screen shots are attached as is the BoB manual.

Thanks 
Tom

Offline reuelt

*
  •  520 520
    • View Profile
Re: Spindle Relay Configuration Questions
« Reply #1 on: April 21, 2019, 12:22:53 AM »
YOUR BOB cannot control Spindle Speed and does NOT have opto-isolation for inputs.
It is more expensive to patch it with daughter optional boards/circuits.

Please Buy
https://www.ebay.com/p/CNC-5-Axis-Interface-Breakout-Board-for-Stepper-Motor-Driver-CNC-Mill-Mach3-Lo/930903162
and replace your BOB.

That BOB can control  spindle on/off as it has ONE relay and Spindle speed as it has a 0-10V Analogue output to control speed. Also inputs have opto-isolation.
Unfortunately it has only 1 relay so you cannot have reverse unless you add another relay.
i have the manual for it and can get you going once you have bought that BOB.
« Last Edit: April 21, 2019, 12:31:51 AM by reuelt »
"the gift of God is eternal life through Jesus Christ our Lord"
Re: Spindle Relay Configuration Questions
« Reply #2 on: April 21, 2019, 01:08:33 AM »
Thanks for your response.  It doesn't surprise me that my BoB doesn't have the features I need.  It's been kicking around my "spares" drawer for a few years now.  I'll order the board you recommended.

Tom

Offline reuelt

*
  •  520 520
    • View Profile
Re: Spindle Relay Configuration Questions
« Reply #3 on: April 21, 2019, 03:32:44 AM »
"I'll order the board you recommended"

Attached  is manual for the popular 5-axis MACH3 BOB for your download and retention.

Happy CNC ing

You can even add a cheap "single-relay board" design for Aduino if you want to implement M4 for spindle counterclockwise spin if you use the unused pins (for the unused 5th axis) to drive a Aduino relay board.
"the gift of God is eternal life through Jesus Christ our Lord"
Re: Spindle Relay Configuration Questions
« Reply #4 on: April 21, 2019, 10:07:55 AM »
Thanks for the manual.  The new BoB will be ordered today.
Tom
Re: Spindle Relay Configuration Questions
« Reply #5 on: April 30, 2019, 09:46:31 PM »
The new BoB came in today's mail.  The board relay needs 5vdc to the coil.  No problem here as I can power it with the supplied USB cable or use a 5vdc "wall wart" power supply.  My motor is rated at 110vdc so I can't wire the relay to the DC side of the motor control board because the BoB relay is rated at 30vdc or 25vdc.  The plan is to wire the relay to the AC power supply to the motor control board.  Does anyone have an opinion as to whether this will work without damaging the motor control board? 

Thanks
Tom

Offline reuelt

*
  •  520 520
    • View Profile
Re: Spindle Relay Configuration Questions
« Reply #6 on: May 01, 2019, 02:42:54 AM »
The BOB board must be powered by 12-24V otherwise the optically isolated inputs will not work.
USB connection is NOT required

The relay can take 250V AC 10Amps so can switch 110V AC directly.
Or it can also switch DC INSTEAD up to 30V also up to 10A current.

I think it is better to switch the DC side of your spindle.
The 0-10V Analog output of the BOB should connect to the ground and wiper pin of your Speed controller variable POT that now control the spindle speed.
« Last Edit: May 01, 2019, 02:47:25 AM by reuelt »
"the gift of God is eternal life through Jesus Christ our Lord"

Offline ZASto

*
  •  423 423
    • View Profile
Re: Spindle Relay Configuration Questions
« Reply #7 on: May 01, 2019, 04:05:41 AM »
Switching CD side of the spindle would be a disaster for a relay.
The killer of relay contacts in DC switching is electrical arc. It can destroy contact quickly.
DO NOT trust what is written on relay regarding DC switching. Relays do not have arc extinguisher.
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.

Offline reuelt

*
  •  520 520
    • View Profile
Re: Spindle Relay Configuration Questions
« Reply #8 on: May 01, 2019, 05:48:27 AM »
The relay is rated at 10A (resistive load)
Max AC voltage 250VAC
Max DC voltage 30VDC
The lower DC voltage (30V MAX. ONLY) permissible already caters for DC arcing. That's why you cannot use 250VDC when you can use 250VAC.

For Inductive load (motors) the max. current rating should be derated 50% meaning 5A is max if using inductive loads like a motors.
"the gift of God is eternal life through Jesus Christ our Lord"
Re: Spindle Relay Configuration Questions
« Reply #9 on: May 01, 2019, 09:48:09 AM »
The BOB board must be powered by 12-24V otherwise the optically isolated inputs will not work.
USB connection is NOT required

The relay can take 250V AC 10Amps so can switch 110V AC directly.
Or it can also switch DC INSTEAD up to 30V also up to 10A current.

I think it is better to switch the DC side of your spindle.
The 0-10V Analog output of the BOB should connect to the ground and wiper pin of your Speed controller variable POT that now control the spindle speed.


Thanks for your response.  I already have a 12vdc power supply in my electronics cabinet so providing power to the BoB will be easy.
Tom