Simple spindle on/off relay wiring

greg

Greg
I've found dumb questions are cheap to assume releases the "magic smoke"

I have a CRYDOM solid state relay part # H12WD4850 that just turns my spindle on and off.

Input voltage 4 to 32 volts, minimum input trigger current 7ma. Max input current 10 ma.

Will this work off of Spindle pin 1? If it will, do I set the Masso to PWM or VFD?

Greg
 

masso-support

MASSO Support
Staff member
had a look at the H12WD4850 datasheet and found the below diagram. As this module has an optically isolated input, this should work fine with MASSO.

You will need to wire it to Pin 2 of the MASSO spindle connector and the other side to the -ve/ground of the MASSO power supply. As this device can only switch ON/OFF, by connecting to Pin 2 it will switch ON with M3 command and switch OFF with M5 command.
 

Attachments

  • H12WD4850-Wiring.png
    H12WD4850-Wiring.png
    120.4 KB · Views: 39

greg

Greg
That does not work AT ALL! Spindle starts up before the Masso even finishes booting up.

I tried the invert on the F1 page. Yes I rebooted after making changes.

It does not respond to MDI commands M3, M03, M5, M05 etc. spindle keeps running!

Also the E-stop has no effect on it

If it's this hard to just turn a relay on and off, How much aggravation am I facing with setting up the rest of it.
 

evermech

evermech
@greg. Don't get discouraged even qualified electricians have difficulty with automation unless specially trained. The knowledge base on this forum will get you through problems as they arise. Could be as simple as the wiring to the relay they can be confusing. Maybe a pic or diagram of how you have it wired might help

Guy
 

masso-support

MASSO Support
Staff member
Is there an LED indication on the solid state relay lighting up to indicate it is receiving an input from Masso. If so is it lit up?

With your meter can you measure the voltage across the Solid State input when the spindle is on (M3) and the voltage you see when the spindle is off (M5)

Can you also repeat the test with the relay disconnected and measure the voltage with the spindle both on and off.

Let us know the results.

Cheers

Peter
 

greg

Greg
This is how I have it wired per the second post in this thread.

Greg
 

Attachments

  • 20190718_110802.jpg
    20190718_110802.jpg
    1.7 MB · Views: 31
  • 20190718_110925.jpg
    20190718_110925.jpg
    2.4 MB · Views: 28
  • 20190718_110813.jpg
    20190718_110813.jpg
    2.4 MB · Views: 31
  • 20190718_111155.jpg
    20190718_111155.jpg
    2.6 MB · Views: 32

evermech

evermech
Hi @greg

its a little hard to see what is going on with the ac side of the relay. If the relay is a used one you could pull the wires off of the ac side and check continuity on pins 1 and 2. Should be nothing going through between those terminals until relay is energized. If there is continuity then the relay is fried

Guy
 

greg

Greg
Guy,

Relay is OK. With everything powered up I pulled the signal wire off of SPINDLE PIN #2 and the spindle shut down.

I re-attached the signal wire and the spindle came back on. I did a continuity check like you said and confirmed it.

If I go into SETUP, SPINDLE, and set it to PWM there's no output from PIN 2 What so ever. Set it to VFD, spindle will run.

So with the setup set for VFD, in the PROGRAM PAGE, if I click on SPINDLE CW the spindle shuts off. If I click on SPINDLE STOP or SPINDLE CCW, it turns on.

It does not respond to MDI commands M3, M03, M5, M05 etc. spindle just keeps running! The scary thing is that the E-STOP won't even shut it down.

I appreciate every ones help, but if I can't get this machine up and running by tomorrow night I'll have to buy another one of those Bill Gates Evil Boxes (PC) and get my Mach3 system put back in.

I have a large job that I MUST start cutting on Monday.

It's interesting that Masso support isn't being more proactive with this problem, and THAT concerns me.

Greg
 

masso-support

MASSO Support
Staff member
@greg you need to set the spindle control type to VFD and not PWM, anyways you can't measure or see PWM signals with a multimeter, you will need an oscilloscope.

as Peter suggested, did you measure the voltages and what did you see?
 

greg

Greg
Guy,

My relay is not the H12WD4850-10 zero voltage model.

I wired in my volt meter between PIN 2 and the negative power terminal and when I flip the master switch it reads 4.91 volts immediately...long before the Masso even boots up.

I'll wait until morning, if I don't get a solution from Masso support, I'm returning it and will demand a full refund.

Thanks for your help!

Greg
 

greg

Greg
F1 is set to VFD.

I tried BOTH yes and no on the CW output pin.

When set to yes spindle comes on before Masso boots.

When set to NO spindle won't come on while booting.

BUT!... neither YES or NO setting allows control of the spindle with the on screen buttons OR MDI commands.
 

evermech

evermech
When entering an M3 command in mdi are you including an rpm s number

M3 s200.

Not sure if that's needed for you but worth a try. I need this on all machines I am running

Guy
 

greg

Greg
Guy,

You stumbled on to something. I entered an rpm value and the spindle came on, BUT, subsequent tries, I don't have to enter a value and it's responding to all the buttons and all MDI commands !?

AND, the E-STOP kills the spindle like it should.

So here is what I have now

SETUP page, SPINDLE, set to VFD

CW, PIN 1, set to NO

Yes I saved the configuration!

Now on to the rest of it! I only have 3 days!

Greg
 

greg

Greg
Me again!

I'm having problems with the Z homing. It won't move off the home limit switch. It throws a hard limit alarm and the only way out of it is to re-boot the machine.

The X and the Y are homing properly.

All 3 axis respond to the jog buttons correctly as far as direction is concerned.

I've spent the last 3 hrs fiddling around with the "invert" combinations.

Any ideas!?
 

Attachments

  • 7191.jpg
    7191.jpg
    1.3 MB · Views: 28
  • 7192.jpg
    7192.jpg
    1.6 MB · Views: 30
  • 7193.jpg
    7193.jpg
    1.3 MB · Views: 31
  • 7194.jpg
    7194.jpg
    2.3 MB · Views: 34
Top