Siemens application example showing how to automate greenhouse irrigation with a SIMATIC S7-1200 CPU, valves, float switches and a pump.
This Siemens application example (contribution ID 109757060, V1.0, 05/2018) shows how to automate the watering of plants in a greenhouse using a SIMATIC S7-1200 CPU. The area to be watered is divided into four modular zones, each controlled by a 24 V solenoid valve, with a water tank monitored by two float switches.
The example covers project design in TIA Portal, programming of the PLC, HMI and web server, and operation via WinCC or the web server. It focuses on the software solution and does not cover irrigation-specific hardware. This manual is written in German.
| CPU | 1212C DC/DC/DC, article number 6ES7212-1AE40-0XB0 |
|---|---|
| HMI | KTP900 Basic, article number 6AV2123-2JB03-0AX0 |
| Valves | Commercially available 24 V solenoid valves, one per zone, connected to outputs Q0.0-Q0.3 |
| Float switches | Two commercially available 24 V float switches; floatTop on I0.0, floatBottom on I0.1 |
| Pump | One commercially available multi-stage submersible pump |
| Zones | Four modular zones, each with its own parameters such as watering duration |
The tank is monitored with two vertically arranged float switches. The upper switch floatTop is connected to input I0.0 and the lower switch floatBottom to I0.1.
The monitoring switches to the state "red" and the watering is interrupted in both the manual and automatic modes. It resumes only when the level rises above the upper float switch and the status turns "green".
The system offers two operating modes: manual operation, in which zones can be started, paused and aborted via the HMI, and automatic time-controlled operation, where the start time is set by the CPU system time.
The zones can be controlled via a time switch or manually. Operation is possible over several parallel connections, for example via a panel, the web server, push buttons or reed contacts.