Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: TIA Portal: Automatic Door Opener Program
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > TIA Portal: Automatic Door Opener Program

TIA Portal: Automatic Door Opener Program

Implement the Automatic Door Opener Program to detect the presence of approaching humans or other objects using the TIA portal.

Last updated: July 7, 2025 4:40 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

This article discusses the PLC program for the Automatic Door Opener system using TIA Portal software. The system is designed to detect the presence of approaching humans or other objects, then automatically open the door to allow them through. After an object passes, the door will close again automatically. Apart from that, this system also has a feature that allows it to hold the door open.

Contents
Program ObjectiveAutomatic Door Opener ProgramI/O DetailsTIA Portal

Program Objective

TIA Portal automatic door logic

Automatic Door Opening System Steps:

  1. Initialization: System is ready to operate, door is closed.
  2. Detection: The sensor detects an approaching object.
  3. Open Door: The motor moves the door until it is fully opened.
  4. Hold: The door remains open briefly for 4 seconds.
  5. Close Door: The motor moves the door until it is fully closed.
  6. Hold Mode: The door will remain Open if the Selector Switch is set in “HOLD” mode.
  7. Repeat: Return to step 2 for the next detection.

This system has a sensor to detect objects and a limit switch to limit door opening/closing movements.

Automatic Door Opener Program

TIA Portal - Automatic Door Opener Program

I/O Details

S.No.CommentInput (I)Output(Q)Memory BitsTimer
 MOTOR_SLIDER_OPEN Q0.0  
 MOTOR_SLIDER_CLOSE Q0.1  
 HOLD_SWITCHI0.5   
 LS_DOOR_CLOSEI0.4   
 LS_DOOR_OPENI0.3   
 OBJECT_SENSI0.2   
 STOPI0.1   
 STARTI0.0   
 SYSTEM_ON  M0.0 
 HOLD_DOOR  M0.1 
 IR_TIMER  M0.2 
 TIMER_OPEN   DB1

TIA Portal

Siemens PLC door automation project

NETWORK 1 : (START SYSTEM)

In this network, when the START (I0.0) button is Pressed, the memory bit SYSTEM_ON (M0.0) ​​ will be in the HIGH state. Because it uses Latching, even though the START (I0.0) button has been released the memory bit SYSTEM_ON (M0.0) will remain in the HIGH state.

If the STOP (I0.1) button is Pressed, the memory bit SYSTEM_ON (M0.0) will be in the LOW state.

NETWORK 2 : (HOLD THE DOOR)

In this network, if the NO contact of the Selector Switch HOLD_SWITCH (I0.5) and the memory bit SYSTEM_ON (M0.0) are in the HIGH state, then the memory bit HOLD_DOOR (M0.1) will be in the HIGH state.

Motion sensor based door control with PLC

NETWORK 3 : (DOOR OPEN)

In this Network, the MOTOR_SLIDER_OPEN (Q0.0) output will be ON if the NO contact of the memory bit SYSTEM_ON (M0.0) and the sensor OBJECT_SENS (I0.2) are in the HIGH state. Because it uses Latching, the MOTOR_SLIDER_OPEN (Q0.0) output will remain in the ON state even though the NO contact of the sensor OBJECT_SENS (I0.2) is in the LOW state.

Or, the MOTOR_SLIDER_OPEN (Q0.0) output will be ON if the NO contact of the memory bit HOLD_DOOR (M0.1) is in the HIGH state.

The MOTOR_SLIDER_OPEN (Q0.0) output will be OFF when the NC contact of the Limit Switch LS_DOOR_OPEN (I0.3) is in the HIGH state.

TIA Portal ladder logic for automatic door

NETWORKS 4

The TIMER_OPEN (DB1) timer will start counting when the NO contact of the memory bit SYSTEM_ON (M0.0) ​​ and the Limit Switch LS_DOOR_OPEN (I0.3) are in the HIGH state. The timer TIMER_OPEN (DB1) will count to 4 seconds.

When the timer TIMER_OPEN (DB1) has finished counting, the memory bit IR_TIMER (M0.2) will be in the HIGH state.

If the NC contact of the memory bit HOLD_DOOR (M0.1) is in the HIGH state, then the timer TIMER_OPEN (DB1) will be reset.

Object detection door opener using PLC

NETWORK 5 (DOOR CLOSE)

The MOTOR_SLIDER_CLOSE (Q0.1) output will be ON when the NO contacts of the memory bits SYSTEM_ON (M0.0) ​​and IR_TIMER (M0.2) are in the HIGH state. Because it uses Latching, the MOTOR_SLIDER_CLOSE (Q0.1) output will remain in the ON state even though the NO contact of the memory bit IR_TIMER (M0.2) is in the LOW state.

When the NC contact of the Limit Switch LS_DOOR_CLOSE (Q0.1) is in the HIGH state, the MOTOR_SLIDER_CLOSE (Q0.1) output will be OFF.

Read Next:

  • Edge Detection in PLC Programming
  • Siemens LOGO PLC Programming Course
  • D Flip Flop PLC Ladder Logic Explained
  • Why is 24 Volts Commonly used in PLC?
  • Electrical Panel Door Earth Bonding

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Types of Industrial Control Systems
How to Automatically Close Pop-up in FactoryTalk View Studio?
Micro PLC Hardware Configuration
Key Facts About RS485 Industrial Network
Instrumentation and Control Project Packages – Detail Engineering
FIFO Instruction in Allen Bradley PLC Programming
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Free Industrial Control System (ICS) Cyber Security Training Course
PLC Programming for Train Detection and Gate Operation
Automated Test Bench – Complex PLC Programming Examples
PLC Ladder Logic for Tanks Filling as per Priority
SCADA System Vulnerabilities
VFD Interview Questions and Answers – Electrical Drives
Motor Stop Interlock for Changing the Direction PLC Program
How to Create DFB in Schneider PLC? – Derived Function Block

Keep Learning

siemens plc db addressing

FB Block in Siemens PLC Programming

How Engineers Effectively do Problem-solve and Troubleshoot

How Engineers Effectively do Problem-solve and Troubleshoot?

PLC Data comparison instructions

PLC Data Comparison Instructions

Trolley and hoist PLC control

PLC Crane Movement Control with Limit Switches

Gas Turbine Temperature Control using Siemens Tia Portal

Gas Turbine Temperature Alarms using Siemens TIA Portal

PLC Instruction List Code

PLC Instruction List Program for Basic Instructions

Database in Siemens PLC

Steps to Configure TCP/IP Communication in Siemens S7-1200 PLC

PLC analog output card

PLC Analog I/O and Network I/O

Learn More

100 Instrumentation Projects for Final Year Engineering Students

100 Instrumentation Projects for Final Year Engineering Students

Communicating Delta PLC Software to Simulator

COCO Simulator

COCO Simulator: Free Process Simulation Software

PLC Program for Forward and Reverse Motor control

3 Phase Motor Control using PLC Ladder Logic

Power Electronics Objective Questions

Three-Phase Rectifier Quiz

Delta PLC Simulator

How to Work with Delta PLC Simulator?

desuperheater

Concept of Desuperheater

Comparison of Flowmeters

Difference between Different Types of Flow Meters

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?