CO₂ monitoring with room control
Couldn't load pickup availability
Description
This SCL function block FB_CO2_Lueftung monitors the CO₂ content in indoor spaces, automatically controls ventilation, offers a manual override mode, and takes window status into account. Ideal for optimal air quality, it's ready to run in the Siemens TIA Portal.
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
- Fault detected → Fan off, CO₂ alarm on, HMI “FAILURE”, RETURN
- Manual ventilation active → Fan permanently on, CO₂ alarm off, RETURN
- CO₂ value > CO2_ThresholdMax → Fan on, CO₂ alarm on, HMI "ALARM: CO2 > Limit"
- CO₂ between CO2_ThresholdAlarm and CO2_ThresholdMax →
• WindowOpen = FALSE → Fan on, HMI “AUTO: Ventilation ON”
• WindowOpen = TRUE → Fan off, HMI “Window open – no fan” - CO₂ ≤ CO2_ThresholdAlarm → Fan off, CO₂ alarm off, HMI "OK"
Technical details
• Inputs: Fault, ManualVentilation, CO2_ppm, CO2_ThresholdAlarm, CO2_ThresholdMax, WindowOpen
• Outputs: FanOn, CO2_Alarm, StatusText_HMI
• PRIORITY: Fault → Manual → Automatic
• IF/ELSIF logic for three-stage CO₂ assessment and window testing
• RETURN in case of fault or manual operation ends logic
Possible applications
• Classrooms, offices, conference rooms, laboratories
• Retrofitting in existing buildings
• Training and demonstration facilities for PLC environmental monitoring
compatibility
• Siemens S7-1200 & S7-1500
• TIA Portal V13 or higher; recommended V16+ for HMI visualization and PLCSIM
Scope of delivery
• .scl file with input/output declarations, CO₂ thresholds, window and fault logic
• Header comments for threshold values and HMI texts
• Download link immediately after purchase
Support
I can help you adjust your CO₂ thresholds, integrate additional sensors or HMI displays, and integrate them into your automation architecture. Get in touch anytime via shop message or email.