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: Omron PLC Timer Example Explained
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 > Omron PLC Timer Example Explained

Omron PLC Timer Example Explained

Dive into the Omron PLC timer example featuring TIM, TIMX, TTIM, and TTIMX instructions for timing-based control applications.

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

This article will discuss the use of various types of timer instructions in the Omron PLC. A timer is an instruction used to delay or control the execution time of an operation in a program. The timer operates based on a predefined duration (preset time). The CX-Programmer software includes four commonly used timer instructions: TIM, TIMX, TTIM, and TTIMX. To test their use, in this program, each timer instruction will be applied to turn ON a lamp with a specific preset time.

Contents
Program Objective1. TIM Instruction2. TIMX(550) Instruction3. TTIM(087) Instruction4. TTIMX(555) InstructionOmron PLC TimersSimulationMapping DetailsOmron PLC Timer Example

Program Objective

PLC Timers with Practical Examples

1. TIM Instruction

The TIM instruction is a countdown-type timer with a maximum preset time range of 0–9999.

  1. This instruction counts time in BCD (Binary Coded Decimal) format, so the preset time parameter must be written with the “#” prefix.
  2. The TIM instruction has only one input parameter to activate the instruction and will turn Off if it does not receive a trigger signal.
  3. TIM operates with a time interval of 0.1 seconds (100 ms) and does not retain historical time data.
  4.  In this program, the timer’s preset time is set to 10 seconds by writing #100, and it will turn On Lamp 1.

2. TIMX(550) Instruction

The TIMX(550) instruction is a countdown-type timer with a maximum preset time of 0–65535 in decimal format or #0000–#FFFF in hexadecimal format.

  1. The preset time must begin with an “&” if written in decimal format or with a “#” if written in hexadecimal.
  2. The TIMX instruction has only one input parameter to activate the instruction and will turn Off without a trigger signal.
  3. TIMX has a time interval of 0.1 seconds (100 ms) and cannot store time history.
  4. In this program, the timer is set to 10 seconds using the value &100, and it will turn on Lamp 2.

3. TTIM(087) Instruction

The TTIM(087) instruction is a count-up timer, also known as a Totalizing Timer, with a maximum preset time of 0–9999.

  1. This instruction also uses BCD (Binary Coded Decimal) format, requiring the preset time to be written with the “#” prefix.
  2. TTIM(087) has two input parameters: one to activate the instruction and one to reset the stored timer history.
  3. TTIM(087) operates with a 0.1 second (100 ms) interval and can save time history.
  4. In this program, the preset time is set to 10 seconds using #100, and it will turn On Lamp 3.

4. TTIMX(555) Instruction

The TTIMX(555) instruction is a count-up timer, also known as a Totalizing Timer, with a maximum preset time of 0–65535 in decimal or #0000–#FFFF in hexadecimal.

  1. The preset value must be prefixed with “&” for decimal or “#” for hexadecimal format.
  2. TTIMX(555) includes two input parameters: one to activate the instruction and one to reset the timer’s stored history.
  3. This timer operates at 0.1 second (100 ms) intervals and can save time history.
  4. In this program, the timer is set to 15 seconds using &150, and it will turn On Lamp 4.

Omron PLC Timers

Omron PLC Timers

Simulation

In the video below, we simulated this PLC program of various timers and results displayed.

Omron PLC Timers Simulation

Mapping Details

S.No.CommentInput (I)Output(Q)Timer
1TRIG_TIMER10.00  
2TRIG_TIMER20.01  
3TRIG_TIMER30.02  
4RES_TTIM0.03  
5TRIG_TIMER40.04  
6RES_TTIMX0.05  
7LAMP1 100.00 
8LAMP2 100.01 
9LAMP3 100.02 
10LAMP4 100.03 
11TIMER_BCD  T000
12TIMER_BIN  T001
13TIMER_TOTALIZING_BCD  T002
14TIMER_TOTALIZING_BIN  T003

Omron PLC Timer Example

Omron PLC Project Using Timer Instruction

RUNG 0 (TIMER BCD)

In this Rung, if the TRIG_TIMER1 (0.00) button is pressed, then the TIMER_BCD (T000) timer instruction will start counting down for “10” seconds, and when it has finished counting, the TIMER_BCD (T000) timer instruction will be ON.

The TIMER_BCD (T000) timer instruction will be OFF if the TRIG_TIMER1 (0.00) button has been released.

RUNG 1 (OUT TIMER BCD)

In this Rung, the LAMP1 (100.00) output will be ON if the NO contact of TIMER_BCD (T000) is in the HIGH state.

How to Use TIM and TIMX in Omron PLC Programming

RUNG 2 (TIMER BIN)

In this Rung, if the TRIG_TIMER2 (0.01) button is pressed, then the TIMER_BIN (T001) timer instruction will start counting down for “10” seconds, and when it has finished counting, the TIMER_BIN (T001) timer instruction will be ON.

The TIMER_BIN (T001) timer instruction will be OFF if the TRIG_TIMER2 (0.01) button has been released.

RUNG 3 (OUT TIMER BIN)

In this Rung, the LAMP2 (100.01) output will be ON if the NO contact of TIMER_BIN (T001) is in the HIGH state.

RUNG 4 (TIMER TOTALIZING BCD)

In this Rung, if the TRIG_TIMER3 (0.02) button is pressed, then the TIMER_TOTALIZING_BCD (T002) timer instruction will start counting up to “10” seconds, and when it has finished counting, the TIMER_TOTALIZING_BCD (T002) timer instruction will turn ON.

The TIMER_TOTALIZING_BCD (T002) timer instruction will only turn OFF if the RST_TTIM (0.03) button has been pressed.

Practical Timer Application in Omron PLC

RUNG 5 (OUT TIMER TOTALIZING BCD)

In this Rung, the output LAMP3 (100.02) will be ON if the NO contact of TIMER_BCD (T002) is in the HIGH state.

RUNG 6 (TIMER TOTALIZING BIN)

In this Rung, if the TRIG_TIMER4 (0.04) button is pressed, then the TIMER_TOTALIZING_BIN (T003) timer instruction will start counting up to “15” seconds, and when it has finished counting, the TIMER_TOTALIZING_BIN (T003) timer instruction will be ON.

The TIMER_TOTALIZING_BIN (T003) timer instruction will only be OFF if the RST_TTIMX (0.05) button has been pressed.

RUNG 7 (OUT TIMER TOTALIZING BCD)

In this Rung, the LAMP4 (100.03) output will be ON if the NO contact of TIMER_BIN (T003) is in the HIGH state.

Omron PLC Timers Project

Read Next:

  • Introduction to Functional Block Diagrams
  • How to Insert Block Calls in SCL Language?
  • PLC FOR DO Statement in SCL Language
  • Automation System for Hazardous Environments
  • Mitsubishi FX3U PLC with Weinview MT6071iE HMI

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

Which Language is Best for PLC Programming?
Normally-Closed Contacts for Stop Buttons
#17 PLC Best Practices – Log PLC Uptime and Trend it on HMI
PLC Based Industrial Conveyor Ladder Logic
Raw Counts to Engineering Units : Conversion Formula
Data Handling Instructions in 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

Download Free HMI software – CODESYS
How to Interchange ON Delay Timer and OFF Delay Timer in a PLC
1 to 8 Demultiplexer PLC ladder diagram
PLC Based Product Sorting Machine System – Lift Control
Augmented Reality and Virtual Reality in Industrial Automation
PLC Programming Examples on Industrial Automation
Free InTouch SCADA Tutorial Course for Beginners
Ladder Diagram Example using Memory Bits and Set Coils

Keep Learning

PLC Program to Control Level of Two Tanks

PLC Level Control of Two Tanks

S7 1200 PLC Program

Siemens S7 1200 PLC configuration in TIA Portal

PLC Water Project

Smart Spray System using Wecon PLC

Studio 5000 Logix Emulate Controller

How to Create New Project in Studio 5000?

Timer-based vacuum cleaner in Schneider PLC

Schneider Electric PLC Timer Problem: Vacuum Cleaner

PLC Lamp Control using Logic Condition

Lamp Control using PLC Logic Condition

PLC Logic to identify empty bottles in Packing

Automatic Empty Bottle detection using PLC Logic

Top 5 Advantages of Human-Machine Interface (HMI)

Top 5 Advantages of Human-Machine Interface (HMI)

Learn More

Valve Face to Face Dimension

Face to Face Dimension of Control Valve

CPU Communication Ports in Siemens PLC

Types of CPU Communication Ports in Siemens PLC

Electric Bell Working animation

Electric Bell Working animation

Fieldbus Analog Input Function Block

Factors Affecting Inductance

Factors Affecting Inductance

How to Apply on Online JOB Portal Website

How to Apply on Online JOB Portal Website?

Chemical Reactor Vessel P and ID

Questions on Chemical Reactor Vessel P & ID

Program to implement T Flip Flop logic

T Flip Flop PLC Ladder Diagram

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?