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: Automatic Highway Lights Program using RTC in Omron PLC
Share
Notification Show More
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 > Automatic Highway Lights Program using RTC in Omron PLC

Automatic Highway Lights Program using RTC in Omron PLC

Learn the RTC function on the Automatic Highway Light program using the Omron PLC CX-Programmer software for beginners.

Last updated: September 22, 2024 4:17 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

Learn the RTC function (Real Time Clock) on the Automatic Highway Lights program using the Omron PLC CX-Programmer software for beginners.

Contents
Automatic Highway LightsInputs and OutputsProgram in Omron PLC

Automatic Highway Lights

This PLC program has 5 buttons and 1 Selector Switch, The START_SYSTEM (0.00) button is used to turn ON the system, the STOP_SYSTEM (0.01) button is used to turn OFF the system, and the LAMP1_BUTTON (0.03) button is used to turn ON Lamp 1, the LAMP2_BUTTON (0.04) button is used to turn ON Lamp 2, the LAMP3_BUTTON (0.05) button is used to turn ON Lamp 3.

Selector Switch SELECTOR_MODE (0.02) is used to select Manual or Auto system mode.

By default, the PLC system will Run in Manual mode. The system will be in a standby state when the START_SYSTEM (0.00) button is Pressed, and the system will be OFF when the STOP_SYSTEM (0.01) button is Pressed.

Manual Mode

When the system is Running in Manual mode all outputs can only be turned ON using the buttons. Output LAMP1 (100.00) will be ON if the LAMP1_BUTTON (0.03) button is Pressed, Output LAMP2 (100.02) will be ON if the LAMP2_BUTTON (0.04) button is Pressed, and Output LAMP3 (100.03) will be ON if the LAMP3_BUTTON (0.05) button is Pressed.

Auto Mode

In general, highway lights will turn On in the evening (17.00) and will automatically turn OFF in the morning (06.00). So the time parameters need to be set in the memory words SV_HOUR_ON (D0-D1) “D0 = 0000 & D1 = 0017” and SV_HOUR_OFF (D10-D11) “D10 = 0000 & D11 = 0006”.

Automatic Highway Lights Program using RTC in Omron PLC

Inputs and Outputs

CommentInput (I)Output (Q)Word MemoryMemory Bits
START_SYSTEM0.00   
STOP_SYSTEM0.01   
SELECTOR_MODE0.02   
LAMP1_BUTTON0.03   
LAMP2_BUTTON0.04   
LAMP3_BUTTON0.05   
LAMP1 100.00  
LAMP2 100.01  
LAMP3 100.02  
SV_HOUR_ON  D0-D1 
SV_HOUR_OFF  D10-11 
SYSTEM_ON   W0.00
MANUAL_MODE   W0.01
AUTO_MODE   W0.02
IR_LAMP1   W0.10
IR_LAMP2   W0.11
IR_LAMP3   W0.12
IR_AUTO   W0.13

Program in Omron PLC

RUNG 0 (SYSTEM ON)

In this Rung, when the START_SYSTEM (0.00) button is pressed, the memory bit SYSTEM_ON (W0.00) changes to the HIGH state. The memory bit SYSTEM_ON (W0.00) will remain in the HIGH state even though the START_SYSTEM (0.00) button has been Released because it uses Latching.

If the STOP_SYSTEM (0.01) button is Pressed, the memory bit SYSTEM_ON (W0.00) will change to a LOW state.

Omron PLC real-time clock street lighting program

RUNG 1 (AUTO & MANUAL MODE)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) in the HIGH state and the Selector Switch SELECTOR_MODE (0.02) in the LOW state, the memory bit MANUAL_MODE (W0.01) will change to the HIGH state.

When the Selector Switch SELECTOR_MODE (0.02) is changed to HIGH state, the memory bit AUTO_MODE (W0.02) will become HIGH and the memory bit MANUAL_MODE (W0.01) will become LOW state.

RUNG 2 (LAMP 1 MANUAL BUTTON)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) in the HIGH  state and the LAMP1_BUTTON (0.03) button is pressed, the memory bit IR_LAMP1 (W0.10) will become a HIGH state.

RUNG 3 (LAMP 2 MANUAL BUTTON)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) is in the HIGH  state and the LAMP2_BUTTON (0.04) button is pressed, the memory bit IR_LAMP2 (W0.11) will become a HIGH state.

RUNG 4 (LAMP 3 MANUAL BUTTON)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) is in the HIGH state and LAMP3_BUTTON (0.05) button is pressed, the memory bit IR_LAMP3 (W0.12) will become a HIGH state.

highway lighting control

RUNG 5 (RTC AUTO)

In this Rung, when the NO contact of memory bit AUTO_MODE (W0.02) in the HIGH state and the RTC time is above “17.00”, then the memory bit IR_AUTO (W0.13) will change to the HIGH state.

The memory bit IR_AUTO (W0.13) will change to LOW state when the RTC time is above “06.00”.

RUNG 6 (OUT LAMP1)

The LAMP1 (100.00) output will be ON if the NO contact of memory bit IR_LAMP1 (W0.10) or IR_AUTO (W0.13) is in the HIGH state.

RUNG 7 (OUT LAMP2)

The LAMP2 (100.02) output will be ON if the NO contact of memory bit IR_LAMP2 (W0.11) or IR_AUTO (W0.13) is in the HIGH state.

Highway lights automation using Real-time-clock

RUNG 8 (OUT LAMP3)

The LAMP3 (100.03) output will be ON if the NO contact of memory bit IR_LAMP3 (W0.12) or IR_AUTO (W0.13) is in the HIGH state.

Read Next:

  • PLC Product Sticker Machine with Weighing
  • Automatic Exhaust Fan XG5000 PLC Program
  • Perfume Mixing and Filling System PLC Logic
  • Waste-Burning System OMRON PLC Logic
  • Water Pump PLC Program CX-Programmer

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

What is Multi-touch Technology? – Industrial Automation
Bread Oven Control in Auto and Manual Modes PLC Program
PLC Ladder Logic Example
Interposing Relay Panel (IRP) – Wiring and Testing Requirements
Timers using Statement List (STL) PLC Programming
Cybersecurity in PLC
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 Timer Instructions
PLC Program for Trash Compactor
Ladder Logic Example with Timers
Siemens TIA Portal Free Version Download
How to Read the PLC Datasheet? – Important Notes About PLC
Tutorial: Siemens Communication between PLCs using I-Device
Best Way to Build Troubleshooting Mindset for Automation Engineer
UPS Working Principle and Types – Offline and Online UPS Systems

Keep Learning

Conditional Jump instruction

Jump Instruction in Siemens Tia Portal

Automatic Liquid Mixing Application

PLC Program for Automatic Liquid Mixing Application

Remote Factory Acceptance Test

Remote Factory Acceptance Test

Marking Machine

PLC SCL Program for Marking Machine

How to troubleshoot the PLC Hardware faults

Hardware Troubleshooting Steps for PLC Automation Systems

Relay Motor Logic Circuit

Motor Control Circuits

Star-Delta PLC programming with 1 button

How to Program a Star-Delta System using 1 Button in PLC?

Causes of PLC Stop Mode

Various Causes for PLC Going in Stop Mode

Learn More

Using Kirchhoff’s Voltage Law to find Current with Multiple Battery Sources

Kirchhoff’s Laws

Electrical Machines Questions and Answers

Alternator Voltage Regulation Quiz

Reset Logic for pump Run Hours

PLC Program to Count Running Hours of any Equipment

Smart Transmitter Calibration Tutorial

Smart Transmitter Calibration Tutorial Part 1

Digital Logic Gates TruthTables

Logic Gates

testing-thermocouples-and-rtds

Testing thermocouples and RTDs using Multi-function Calibrators

GSD File installation in Simatic Manager

How to Install GSD File in Step 7 PLC using Simatic Manager?

Types of Industrial Control Systems

Types of Industrial Control Systems

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?