I know that the operation of the PLC is based on passing the driving electrical signal or not passing it according to the sequence of its program. If I'm connecting a 24vdc solenoid valve to a PLC and a 220 VAC motor to the same PLC what driving signal shall I apply to my PLC, 24vdc or 220vac?