One Water System, Two Independent Controllers
A pharmaceutical purified-water system where generation and distribution shared a single PLC. Sheridan Automation split them into two independent Siemens systems, so either one can be powered down while the other keeps running.
The challenge
Three panels, one controller. An S7-300 in the RO panel ran the whole purified-water plant — pre-treatment, buffer tank, chemical dosing, four reverse-osmosis units, and the CEDI panel wired directly to it — and also the hot and ambient distribution loops that feed the compounding rooms. The client wanted to be able to power either half down for maintenance while the other kept running.
- One S7-300 running both purified-water generation and the hot and ambient distribution loops
- Distribution devices on a Profinet remote I/O rack that existed only as an extension of the generation PLC
- Distribution logic interleaved with the RO program — sanitization, shutdown and warning routines shared
- A second water generator on an Allen-Bradley platform that also had to answer fill requests from the same loops
Make the remote I/O panel its own system.
Sheridan Automation added a Siemens IM151-8 CPU to the existing ET200 rack in the remote I/O panel, turning it into a stand-alone Water Distribution System with its own HMI. Because the new CPU is in the same S7-300 family, the distribution logic was moved across rather than rewritten; the original controller, with the RO and CEDI panels, was reduced to purified-water generation only, its generation routines untouched.
An Allen-Bradley conversion was quoted as an alternative. The client chose to stay on Siemens, keeping the existing generation hardware and program in service at a fraction of the cost.
How the two systems talk
Separate controllers. Coordinated tanks.
Distribution watches the hot and ambient tank levels and asks for water; generation fills. Every request is interlocked at both ends, and both links are heartbeat-monitored so a lost connection drops the request rather than leaving a valve open.
Siemens to Siemens — Profinet
Put/Get communication between the generation PLC and the new distribution PLC, with heartbeat monitoring on both sides. All generation alarm status crosses to distribution; tank fill requests and interlocks cross back.
Siemens to Allen-Bradley — gateway
A protocol gateway links the distribution PLC to the plant’s second, Allen-Bradley water generator: a five-second heartbeat, water-quality-good, sanitization mode, filling and valve-position status one way; heartbeat, critical stop and fill-valve interlocks the other.
Fill interlocks
A fill request is only sent when communication is live, neither system is in alarm, the generator is not in a clean or sanitization cycle, both “water is okay” signals are on and the tank is below its stop level. The two generators start at different times so the level reading isn’t disturbed.
The system
Generation panel, distribution loop.
The RO panel stays the main control panel for water generation, with the CEDI panel alongside it. The distribution loop — heat exchangers, TOC and conductivity, loop flow, sanitization — now belongs to its own controller.
Scope of work
Hardware, rewiring, logic and documentation — one team.
Drawings were updated and issued for approval before the work; every programming change was documented on a change-approval form and sent for approval.
Distribution PLC & I/O
IM151-8 CPU on the existing ET200 rack, two 8-channel digital input, two 8-channel digital output, four 2-channel analog input and one 2-channel analog output modules, sized with 20% spare, plus an industrial Ethernet switch as the communication hub.
Signal migration
Nine signals rewired from the RO panel to the distribution panel: hot and ambient tank levels and rupture discs, pre- and post-heat-exchanger loop temperatures, steam valve position feedback and command, and the water-okay-to-use relay.
Logic migration
Fourteen routines moved out of the RO PLC and into the distribution PLC without rewriting — loop pumps, UV, solenoids, control valves, the sanitization cycle and shutdown & warning — with the memory map re-based for the new controller.
Redesigned distribution HMI
A new operator interface for the Water Distribution System: tank fill in auto and manual, loop status, dispensing, alarms and sanitization.
Dispensing control
Water control for the compounding mixers belongs naturally with distribution, so it moved with it: hot and ambient purified water to three compounding mixers and a liquid vessel, each on a 3-way valve with two pressure sensors and two solenoids. Only one unit per water type draws at a time; the rest queue until it finishes.
Generation PLC changes
Main program, shutdown and I/O mapping trimmed to generation only; a communication routine added; the security-system alarm relay re-based on generation logic. Twenty pump, valve, UV and CEDI routines and the RO sanitization cycle left exactly as they were.
Why Siemens, not a platform change
Both options were priced. Staying in the S7-300 family meant the distribution logic could be moved to the new CPU without a rewrite, the generation controller and its program carried on unchanged, and the work reduced to adding a CPU, I/O and a switch to a panel that was already there. Converting the plant to Allen-Bradley would have replaced the distribution logic and hardware wholesale — and cost roughly twice as much.
Capabilities used
Two processes on one controller?
Send us the panel list and the program backup. You’ll be talking to the engineers who’ll separate them — and document every change.