Breast pump control
Couldn't load pickup availability
Description
This SCL function block FB_PumpControl controls a pump with dry-running protection, optional cleaning mode, and tank monitoring. Runnable in the Siemens TIA Portal, it ensures safe and maintenance-friendly pump operation.
Note: All modules are designed exclusively as a learning and optimization basis and are not approved for live operation. System modules, in particular, must be finally tested and commissioned by qualified personnel before productive use.
How it works
- TankLeer = TRUE → Pump off, alarm on, StatusText = "Dry run - Pump OFF", RETURN
- Cleaning mode = TRUE → Pump on, timer (PT=T#2m) is running, pump off after 2 minutes, status text = "Cleaning completed", RETURN
- Normal operation:
- StartAuto = TRUE OR ManuStart = TRUE AND TankVoll = FALSE → Pump on, StatusText = "Pump running"
- TankFull = TRUE → Pump off, StatusText = "Tank full – Pump OFF"
No release → Pump off, StatusText = "Waiting for start"
Technical details
• Inputs: TankEmpty, Cleaning Mode, StartAuto, ManuStart, TankFull
• Outputs: Pump (BOOL), Alarm (BOOL), StatusText (STRING)
• ON-TONE timer (PT=T#2m) for cleaning mode
• RETURN under safety conditions to immediately abort all actions
Possible applications
• Irrigation, dosing and conveying systems
• Retrofit for dry-running protection in existing pump systems
• Training and demonstration projects on PLC safety and maintenance procedures
compatibility
Siemens S7-1200 & S7-1500; TIA Portal V13 and higher (V16+ recommended for HMI & PLCSIM)
Scope of delivery
.scl file with input/output declarations, timer instance, state logic, and header comments; download link after purchase
Support
Adjustment of cleaning intervals, additional protection functions or HMI layouts on request via shop message or email.