techkarlsson
Member
I'm currently working on a centralized water system in an industry and I figured this could be a good moment to practise some ST with arrays.
The system consist of 7 refillvalves which opens on command from a level sensor. A flow sensor confirms the function of the valves.
What I'm trying to write with ST is a function that triggers an alarm if one valve is commanded open and another flow sensor also senses flow. The output needs to be an array of all 7 valves/sensors in order to reduce troubleshooting time.
Summary: During refilling of one water tank two (or more) flow sensors registers flow, a fault (valve specific alarm) will be sent and the system shuts down.
Please ask if I've missed out some important parts...
The system consist of 7 refillvalves which opens on command from a level sensor. A flow sensor confirms the function of the valves.
What I'm trying to write with ST is a function that triggers an alarm if one valve is commanded open and another flow sensor also senses flow. The output needs to be an array of all 7 valves/sensors in order to reduce troubleshooting time.
Summary: During refilling of one water tank two (or more) flow sensors registers flow, a fault (valve specific alarm) will be sent and the system shuts down.
Please ask if I've missed out some important parts...