Skip to product information
1 of 2

Garage door control

Regular price €3,90 EUR
Regular price Sale price €3,90 EUR
Sale Sold out
Description

This function block enables reliable door control – including opening, closing, stopping, and light barrier monitoring. Developed in Structured Control Language (SCL) and FBD , the code is available directly in the TIA Portal and can be easily integrated into PLC projects for door or hall vehicle control systems.

Note: All modules serve solely as a learning and optimization basis and are not approved for live operation. Plant modules, in particular, must be reviewed and approved by qualified personnel before productive use.

How it works

After power-up, all outputs are reset. The module then responds to the following inputs via edge detection:

  • Open
  • Close
  • stop
  • light barrier

The control is based on a finite state machine (FSM) with unique status values.

In idle mode, the stop LED is active. If an open signal is detected, the door moves upwards until:

  • the upper limit switch is reached,
  • a stop signal occurs or
  • a change command (e.g. close) is detected.

In closing mode, the door moves downwards. As soon as the photocell is interrupted or a user command is given, the process stops immediately and switches to opening mode.

Technical details
  • State control: Finite state machine (FSM) with INT status
  • Trigger: Edge detection via standard trigger function blocks
  • Limit switch: Automatic return to rest state when end positions are reached
  • Light barrier: Safety interruption when closing with automatic retraction
  • Outputs: Clear setting of motor and LED signals to avoid conflicting states
  • Code: Written entirely in SCL, modular and commented
Possible applications
  • Simulation of garage, hall or access doors
  • Integration into model systems, laboratories or training areas
  • Practical example of FSM logic in automation
  • Expandable for roller shutters, barriers or other drive types

Thanks to the clear separation of motor and sensor logic, the module can also be adapted for other mechanical applications.

compatibility
  • Siemens TIA Portal version V13 or higher (recommended: V16 or higher)
  • Runs on S7-1200 and S7-1500 controllers
  • Testable with PLCSIM
  • Standardized input and output variables
Scope of delivery
  • Complete SCL source code as .scl file
  • Including all entry/exit declarations
  • Trigger instances and state changes fully documented
  • Brief description of the operation in the header area of ​​the file

The file can be imported and used directly in the TIA Portal.

Support

Digital shipping will occur immediately after purchase.

Optionally, I offer support with:

  • Integration into your existing project
  • Extension of safety functions (e.g. soft stop, priority control)
  • Adaptation to other PLC systems or installation scenarios

Feel free to contact us via email or shop message. Individual requests can be realized through customization.