Expanding this project a little quicker than expected I will have to also add some control for operating 4 hydraulic valves. 2 of the valves are straight forward enough, 24v to one of two pins - to pin1 for CW/Left, Pin2 for CCW/right. The other 2 valves are proportional and have a 24v supply voltage to them along with a control signal that varies from 6v - 18v with 12v the mid stationary position of the valve.
I will need 5 different voltages for each valve, I expect I will need to trim the voltages to balance both valves, as I will need to operate the valves in 2 directions at two different rates. i.e. 6v, 9v, 12v, 15v, 18v.
I was planning to use a simple voltage divider circuit with trimmer pots for fine adjustment to achieve the voltage rails (unless someone has a more elegant recommendation) however to switch these signals using my PLC outputs is going to cause me to run over the maximum permitted number of output channels for this model of controller. The cost of using the next spec up of controllers makes the project a no go so I was wondering about switching the voltages on my PCB. What would be the best way forward for this? Multiple transistors/Mosfets etc, relays or is there some kind of digital switch in an IC package? (I don't know what these are called if they do exist)
Thanks again for any pointers.
Richard
Edit, forgot to mention although each valve pulls 0.3a the control signal to be switched is only around 7ma.