Skip to product information
1 of 1

Building automation

Regular price €29,00 EUR
Regular price Sale price €29,00 EUR
Sale Sold out

Description

This function block is a true all-rounder: It combines the control of lighting, heating, ventilation, and blinds in a single, well-designed module – including manual operation, automatic control, and window alarm. Written in Structured Control Language (SCL), the code can be used directly in the Siemens TIA Portal. Ideal for smart homes, offices, industrial facilities, or modern building automation.

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

The module starts each cycle by initializing all outputs. After that, the four central functional areas interact:

  • Lighting control
    Depending on the operating mode, switching is either manual via a button (with edge detection) or automatic via movement and twilight – including a follow-up time.
  • Heating control
    Either manually activated via a button or automatically temperature-controlled – but only when the window is closed. This saves energy without sacrificing comfort.
  • ventilation
    In automatic mode, the ventilation only switches on when the window is open and the temperature is sufficient. Alternatively, it can also be switched on and off manually using a button.
  • Blind control
    Move up or down manually or fully automatically at specified times – with integrated end position monitoring to protect the drive.

Window alarm included:
If a window is left open for too long, the module detects this over a configurable time and reports it via an alarm flag – until the user actively resets it.

Technical details

  • Manual operation: All button commands are processed via set/reset edge triggers and stored as markers.
  • Light delay & window alarm: Controlled by two separate TON timers.
  • Automatic times: The blinds react to times with a 1-second tolerance.
  • Limit values: Lux, temperature and time parameters can be set as input variables.
  • Safety: Limit switches prevent mechanical overruns of blinds.

All actuators output clean TRUE/FALSE signals – ideal for PLC outputs or HMI displays.

Possible applications

Whether in an office, conference room, smart home, or production building – this module is perfectly suited for any central room control system. Its versatility and practical utility also impresses in training courses or model systems. Thanks to its clearly structured logic, integration into HMI or control systems is child's play.

compatibility

  • Siemens S7-1200 & S7-1500
  • TIA Portal version V13 or higher (recommended: V16 or higher for simulations and HMI)
  • PLCSIM compatible for complete testing without hardware

Scope of delivery

You will receive a complete .scl file with:

  • all declared inputs and outputs
  • Trigger instances for each function
  • Timer configurations for run-on and alarm
  • extensively commented code sections
    The download link is available immediately after purchase.

Support

I am happy to help – whether with:

  • adaptation to your building concept
  • the extension to include visualization and remote access
  • or integration into central control platforms

Simply contact us via email or shop support – and we will implement your desired solution.