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: PLC Programming Example on Timers Function Block
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 > PLC Programming Example on Timers Function Block

PLC Programming Example on Timers Function Block

In this article, you will learn the PLC programming example on timers function block using switch and lamps.

Last updated: April 5, 2024 7:41 am
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

In this article, you will learn the PLC programming example on timers function block using switch and lamps.

Contents
PLC Programming Example on TimersPLC Mastery VideoI/O ListLadder LogicPLC Program DescriptionSimulation Results

Note: The PLC example logic presented is for educational resource for engineering students and technicians to learn the basics.

PLC Programming Example on Timers

Problem Statement

Design a PLC ladder logic for the following application.

We are using one toggle switch to control two lamps.

When Switch 1 is ON, then

  1. Lamp 1 will be ON for 10 seconds.
  2. Lamp 2 will be ON after 10 seconds.

PLC Mastery Video

Watch the below video to master the PLC programming for beginners.

PLC Ladder Logic Example - Timers Example

I/O List

Digital Inputs:

The list of digital inputs shown below.

Switch 1: I0.0

Digital Outputs:

The list of digital outputs shown below.

Lamp 1: Q0.0

Lamp 2: Q0.1

Ladder Logic

PLC Programming Example on Timers Function Block

PLC Program Description

Here we used Normally Open Contact for Switch 1 (I0.0).

Timer Function Block Type TP is used for Lamp 1 and Time Function Block Type TON is used for Lamp 2.

In Rung 0:

1) Normally Open Contact is used for Switch 1 to Turn ON Lamp 1.

2) Timer Function Block type TP is used to Turn OFF Lamp 1 after Set time.

In Rung 1:

1) Normally Open Contact is used for Switch 1 to Turn ON Lamp 2.

2) Timer Function Block type TON is used to delay the time of Lamp 2 to Turn ON.

When Switch 1 is ON, the signal will flow through Switch 1 as Normally Open Contact is used for Switch 1 and Lamp 1 will Turn ON for 10 seconds because Timer Function Block type TP is used for Lamp1 and time is set for 10 sec.

After 10 seconds, Lamp 2 will Turn ON in Rung1 as Timer Function Block type TON is used for Lamp 2 to delay the turning ON and time is set for 10 sec.

Simulation Results

Here we show the PLC logic simulation results.

When Switch 1 is ON

When Switch 1 is turned ON, Lamp 1 will Turn ON for 10s in Rung 0 as Timer Function Block Type TP is used for Lamp 1.

How to Use Timers in PLC Ladder Logic

After 10 seconds, Lamp 1 will Turn OFF and Lamp 2 will Turn ON in Rung 1 because Timer Function Block Type TON is used for Lamp 2 which will delay the time of Lamp 2 to Turn ON for Set time.

Understanding PLC Program Commands Timers

If you liked this article, please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • PLC Ladder Logic Example with Timers
  • Motor Control Timer Circuit Explanation
  • Control PLC Output using Push Buttons
  • Boolean Logic to PLC Programming
  • PLC Program for Solenoid & Pilot Lamp
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

Case Statement in SCL Language
Various Types of Delta PLC used in Industrial Automation
Compare Online and Offline PLC Programs
Types of Script in Intouch Scada
How a 4-20mA Transmitter Works?
Communication between Factory IO and Siemens Tia Portal
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

PLC Code to Start & Stop Motor and Pump as per Logic
Tia Portal – Different Instances of Calling a Function Block
Various Causes for PLC Going in Stop Mode
How to Create New Project Using Simatic Manager
All About Fieldbus Protocols
Coil Type Timers in Siemens PLC Programming
Setpoints and Alarms in Control System
How to Use an SQL Server with Indusoft Web Studio?

Keep Learning

How to use PLC With SQL Database

How to use PLC with SQL Database? – Basics & Tutorials

Draw a ladder logic to switch ON-OFF a bulb using a toggle switch

Draw a Ladder Logic to switch ON-OFF a Bulb using a Toggle Switch ?

What is meant by a SCADA System

Troubleshoot the Status of a PLC Via CPU Indicators

Machine Indicator Lights PLC Programming Solution

Machine Indicator Lights: PLC Programming Solution

SCADA Parts

SCADA Hardware and Software

PLC Program for Conveyor Motor

PLC Conveyor Motor Ladder Logic

STAR DELTA Starter PLC Logic

STAR DELTA Programming using PLC Controller

Smart Drip Irrigation System Using PLC

Scheduled Daily Plant Watering PLC Program

Learn More

Phase Controlled Half Wave Rectifier RL Load

Power Electronics – Phase Controlled Half Wave Rectifier RL Load

working-of-pnp-transistor

Working of NPN Transistor

Shutdown Manager

What are Pre-Shutdown, Shutdown, and Post-Shutdown?

How to Select a Flow Meter

How to Select a Flow Meter

Shunt-Wound DC Motor

Shunt-Wound Motor Operation

Two solenoid valves circuit

Solenoid Valves Questions & Answers – 4

Finned Heater Leaks Sealed

Finned Tube Steam Leaks – Root Cause Analysis

Bimetallic strip thermostat

Mechanical Temperature Measuring Sensors

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?