Control a solenoid valve 24V with Labjack T7 and SSR | LabJack
 

Control a solenoid valve 24V with Labjack T7 and SSR

10 posts / 0 new
Last post
Jojugoba
jojugoba's picture
Control a solenoid valve 24V with Labjack T7 and SSR

Hi, I am new to labjack and I currently have a Labjack T7-Pro and I want to control a 24vdc solenoid valve. I am using a SSR Crydom DC60S3 and a 24 vdc power supply to simulate the solenoid valve. I believe I need to connect the 24 vdc from the power supply to the input of the SSR and the output to the VS and to FI06 of the Labjack CB37 board, or how can I connect it?

http://www.digikey.com/catalog/en/partgroup/dc60-series/1109

Jojugoba
jojugoba's picture
I want to connect the power

I want to connect the power supply to an input of the Labjack T7 Pro, I am trying to simulate the 24vdc solenoid valve with the power supply, it this possible to connect the power supply to the input of the T7 through the crydom relay?

LabJack Support
labjack support's picture
The output terminals of the

The output terminals of the SSR act like a switch.  You can put the switch on the high side or low side of your load.

High-side switching:
PowerSupply+ to Output+
Output- to Solenoid+
Solenoid- to PowerSupply-

Low-side switching:
PowerSupply+ to Solenoid+
Solenoid- to Output+
Output- to PowerSupply-

See the following about controlling relays.  For direct control with a digital line you would use the sinking configuration, so connect VS to Input+ and connect Input- to FIO0.  Then set FIO0 to output-low to turn the SSR on, and set it to input to turn the SSR off.

https://labjack.com/support/app-notes/controlling-relays

Jojugoba
jojugoba's picture
I have a 24vdc power supply,

I have a 24vdc power supply, the crydom relay and the labjack T7. Is there a way I can test the power supply (simulating the 24vdc solenoid valve) by connecting the + Power supply to the Crydom Input + and the -Power supply to the - Input on the SSR. Then connect the + SSR Output to the Vs on the T7 and the - SSR Output to the FI06? or how can I do it? I want to use the solenoid valve or in this case the power supply as an input to the T7

LabJack Support
labjack support's picture
I don't understand.  If you

I don't understand.  If you want the T7 to control the SSR, then connect the T7 I/O to the "Inputs" on the SSR.  The "Outputs" on the SSR are for your load.

You said you want to connect PowerSupply+ to SSRInput+ and connect PowerSupply- to SSRInput-.  The SSR allows a control voltage up to 32V, so yes you can connect your 24V supply to the SSR control inputs in that manner.  If your power supply is on, the SSR output will be enabled.

You said you want to connect T7-VS to to SSROutput+ and connect SSROutput- to FIO6.  You can do that, but I don't see where that will do anything.  I think FIO6 will likely read high whether the SSR is enabled or disabled.

LabJack Support
labjack support's picture
The solenoid is your load. 

The solenoid is your load.  If you want to simulate the solenoid, I would use a resistor.  If you use a 1k resistor you will get about 24mA through the resistor when the SSR is enabled:

PowerSupply+ to SSROutput+
SSROutput- to Resistor+
Resistor- to PowerSupply-

VS to SSRInput+
FIO6 to SSRInput-

Set FIO6 to input and you will measure (use a DMM if you want) about 0V drop across the resistor because the SSR is disabled and not allowing current to flow.

Set FIO6 to output-low and you will measure about 24V drop across the resistor because the SSR is enabled and allowing 24mA to flow through the 1k resistor.

Jojugoba
jojugoba's picture
I just want to use the power

I just want to use the power supply as a reference and turn it on/off and see the FI06 input in Kipling to go high and low. 

LabJack Support
labjack support's picture
Okay.  Do the following:

Okay.  Do the following:

PowerSupply+ to SSRInput+
PowerSupply- to SSRInput-

VS to SSROutput+
SSROutput- to Resistor+
Resistor- to GND
FIO6 to SSROutput- or Resistor+

Jojugoba
jojugoba's picture
Thank you.

Thank you.

I am trying to acquire the signals from the on/off of the solenoid with this circuit, is there a code example I could use to incorporated in my macro in excel?

Thanks again.

LabJack Support
labjack support's picture
You can just use a call to

You can just use a call to eReadName to read the state of FIO6.  Put that in a loop to get repeated readings.  Start here:

https://labjack.com/support/software/examples/ljm/visual-basic