← Simulation Lab

🛢️ Program a PLC tank level control

Electrical & Electronics

A PLC starts the pump at the low level and stops it at the high level. A narrow band starts the motor too often and burns it out; a wide one risks running dry or overflowing.

⭐ Level 1: Trainee0 XP · next level at 300
🎯 Pump 100 L/min, plant 60 L/min: 6 starts an hour or fewer, level kept between 20% and 90%.
Controls
Results
Control band100 L
Pump runs for✓ 2.5 min
Pump starts per hour✗ 14.4
Lowest level✓ 40%
Highest level✓ 50%

Too many starts: widen the band so the motor rests.

📘 How it works

On/off control needs a gap (hysteresis) between the START and STOP levels, or the pump would chatter on and off. A wider band means fewer motor starts, but the level swings more. In a PLC this is two comparisons and a latch (set/reset) in ladder logic.

Band = (stop − start)% × 1000 L · cycle = band ÷ (pump − draw) + band ÷ draw · starts/h = 60 ÷ cycleA simplified textbook model for learning. Real designs follow the full codes and standards.