Hi,
I do not see a file attached to your project publication, I work both with Arduino and with Schneider Electric brand PLCs, I would like to know what type of devices are you considering for the control system, when you talk about solenoid valves you do not specify what type They are, if they are motorized, adjustable position, On-Off, likewise the sensors you use if they have a normalized electrical output or send the reading by communication protocol, in short there are many ways to do a control, I need more information to be able to help you .