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

PLC based Metro Automation Project
How to Design a Motor Faceplate in Graphics? – SCADA Tutorials
Emergency Stop Switch Spurious Trip
Configuration of InTouch Scada Trends
#6 PLC Best Practices – Validate Timers and Counters
Proper Earthing Practices Used for PLC Control Panel
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

Network Switch Requirement in SCADA and DCS Architecture
PLC Interview Questions and Answers
PLC Analog Input Card Resolution Effects on Accuracy
PLC Pneumatic Circuit Control
S7-1200 Hardware Configuration – Siemens PLC Tutorials
Siemens PLC Course for Beginners: Problems and Solutions
PLC Ladder Logic Example
Scale and Normalize Instructions in PLC

Keep Learning

Code Simulation of Safety Circuit

Feedback Monitoring in Safety PLC

PLC Programming for Pumping and Draining System

PLC Programming for Pumping and Draining System

The STAR-DELTA Auto And Manual Program

STAR-DELTA Auto And Manual Program using XG5000 Software

Automation Engineers Interview Questions

Industrial Automation Engineers Interview Questions

Mixing Process with Valve Control

PLC Mixing Process with Adjustable Timer and Valve Control

How to Get a PLC Programming Job With No Experience

How to Get a PLC Programming Job With NO Experience?

Redundant Power Supply

How Does Redundant Power Supply Work?

PLC Program

Example PLC Program

Learn More

Induction Motors Faults and Protection

Technical Evaluation for DCS and ESD - Distributed Control System

Technical Evaluation for DCS and ESD – Distributed Control System

Simplified Induction Motor - Cross Section

Siemens Standard Drives Application Handbook (PDF)

Basic Transistor Amplifier Circuit Principle

Basic Transistor Amplifier Circuit Principle

Quiz on Optical Fiber Cable

Quiz on Optical Fiber Cable, Splice, Connector

Difference Between Circuit Breaker and Disconnector

Difference Between Circuit Breaker and Disconnector

Advanced Skills Required for a PLC Programmer to Get a Job

Advanced Skills Required for a PLC Programmer to Get a Job

Electrical Contactor, Switch, Circuit Breaker

Difference between Solid Conductor and Stranded Conductor

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?