Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Product Painting PLC Program using Omron CX-Programmer
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Product Painting PLC Program using Omron CX-Programmer

Product Painting PLC Program using Omron CX-Programmer

Learn how to program product painting machines using the PLC program with Counter and Timer instructions in Omron CX-Programmer.

Last updated: September 20, 2024 4:21 pm
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

This article discusses product painting machines using Counter and Timer Instructions in CX-Programmer.

Contents
Product Painting PLC ProgramInputs and OutputsPLC Program using Omron CX-Programmer

Product Painting PLC Program

This program has 5 buttons and 3 sensors, START_SYSTEM (0.00) button is used to Turn On the system, STOP_SYSTEM (0.01) button is used to Turn Off the system, RESET_RED_COUNTER (0.05) button is used to reset data in the memory word RED_COUNTER (D0), RESET_BLUE_COUNTER (0.06) is used to reset data in the memory word BLUE_COUNTER (D1), and RESET_GREEN_COUNTER (0.07) button is used to reset data in the memory word GREEN_COUNTER (D2).

The SENS_RED (0.02) sensor is used to Turn On the Red sprayer, the SENS_BLUE (0.03) sensor is used to Turn On the Blue sprayer, and the SENS_GREEN (0.04) sensor is used to Turn On the Green sprayer.

Each product carried by the conveyor will be painted in the order of Red, Blue, and Green.

In this program, when the START_SYSTEM (0.00) button is pressed, the system will Run and the Output CONVEYOR (100.00) will be ON.

When the SENS_RED (0.02) Sensor detects the product, the RED_SPRAYER (100.01) Output will be ON for 3 Seconds and will be recorded in the memory word RED_COUNTER (D0).

When the SENS_BLUE (0.03) Sensor detects the product, the BLUE_SPRAYER (100.02) Output will be ON for 4 Seconds and will be recorded in the memory word BLUE_COUNTER (D1).

When the SENS_GREEN (0.04) Sensor detects the product, the GREEN_SPRAYER (100.03) Output will be ON for 5 Seconds and will be recorded in the memory word GREEN_COUNTER (D2).

Product Painting PLC Program using Omron CX-Programmer

Inputs and Outputs

CommentInput (I)Output(Q)Memory BitsMemory WordsTimers
START_SYSTEM0.00    
STOP_SYSTEM0.01    
SENS_RED0.02    
SENS_BLUE0.03    
SENS_GREEN0.04    
RESET_RED_COUNTER0.05    
RESET_BLUE_COUNTER0.06    
RESET_GREEN_COUNTER0.07    
CONVEYOR 100.00   
RED_SPRAYER 100.01   
BLUE_SPRAYER 100.02   
GREEN_SPRAYER 100.03   
TIMER_RED    T0000
TIMER_BLUE    T0001
TIMER_GREEN    T0002
SYSTEM_ON  W0.00  
RED_COUNTER   D0 
BLUE_COUNTER   D1 
GREEN_COUNTER   D2 

PLC Program using Omron CX-Programmer

RUNG 0 (SYSTEM_ON)

In this Rung, when START_SYSTEM (0.00) button is pressed, the memory bit SYSTEM_ON (W0.00) will become a HIGH state. Because it uses latching, the memory bit SYSTEM_ON (W0.00) remains in the HIGH state even though the START_SYSTEM (0.00) button has been Released.

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

Omron PLC painting program

RUNG 1 (CONVEYOR ON)

When the NO contact of memory bit SYSTEM_ON (W0.00) is in the HIGH state, the CONVEYOR (100.00) Output becomes ON.

RUNG 2 (RED SPRAY)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) and SENS_RED (0.02) sensor in the HIGH state, the RED_SPRAYER (100.01) Output will be ON and the timer TIMER_RED (T0000) will start counting up to 3 seconds.

The RED_SPRAYER (100.01) Output will remain ON even though the SENS_RED (0.02) sensor is in the LOW state because it uses Latching. The RED_SPRAYER (100.01) Output will be OFF when the timer TIMER_RED (T0000) has finished counting.

RUNG 3 (BLUE SPRAY)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) and SENS_BLUE (0.03) sensor is in the HIGH state, the BLUE_SPRAYER (100.02) Output will be ON and the timer TIMER_BLUE (T0001) will start counting up to 4 seconds.

The BLUE_SPRAYER (100.02) Output will remain ON even though the SENS_BLUE (0.03) sensor is in the LOW state because it uses Latching. The BLUE_SPRAYER (100.02) Output will be OFF when the timer TIMER_BLUE (T0001) has finished counting.

Omron CX-Programmer product painting PLC

RUNG 4 (GREEN SPRAY)

In this Rung, when the NO contact of memory bit SYSTEM_ON (W0.00) and SENS_GREEN (0.04) sensor in the HIGH state, the GREEN_SPRAYER (100.03) Output will be ON and the timer TIMER_GREEN (T0002) will start counting up to 5 seconds.

The GREEN_SPRAYER (100.03) Output will remain ON even though the SENS_GREEN (0.04) sensor is in the LOW state because it uses Latching. The GREEN_SPRAYER (100.03) Output will be OFF when the timer TIMER_GREEN (T0002) has finished counting.

PLC Program using Omron CX-Programmer

RUNG 5 (COUNTER)

When the NO contact of memory bit SYSTEM_ON (W0.00) and SENS_RED (0.02) sensor in HIGH state, the value in memory word RED_COUNTER (D0) will increase (+1).

When the SENS_BLUE (0.03) sensor is in a HIGH state, then the value in memory word BLUE_COUNTER (D1) will increase (+1).

When the SENS_GREEN (0.04) sensor is in a HIGH state, then the value in memory word GREEN_COUNTER (D2) will increase (+1).

RUNG 6 (RESET RED COUNTER)

In this rung, if the RESET_RED_COUNTER (0.05) button is pressed, the data in memory word RED_COUNTER (D0) will be reset to zero “0”.

Painting system logic

RUNG 7 (RESET BLUE COUNTER)

In this rung, if the RESET_BLUE_COUNTER (0.06) button is pressed, the data in memory word BLUE_COUNTER (D1) will be reset to zero “0”.

RUNG 8 (RESET GREEN COUNTER)

In this rung, if the RESET_GREEN_COUNTER (0.07) button is pressed, the data in memory word GREEN_COUNTER (D2) will be reset to zero “0”.

Read Next:

  • Studio 5000 Motor Running Hours PLC Logic
  • STAR-DELTA Auto And Manual PLC Program
  • CX-Programmer Products Sorting & Counting
  • PLC 1 Button To Activate 4 Different Machines
  • Electric Motor Forward Reverse PLC Logic
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 !
How to Protect Siemens PLC using Password?
PLC Program for Fish Feeding System
Studio 5000 Tutorial: PLC Programming for Digital Alarms
PLC Programming using Level Switches
Two Hand Control Logic using 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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Anti-static Wrist Straps

Anti-static Wrist Straps in Industrial Automation

Marking Machine

PLC SCL Program for Marking Machine

PLC analog output card

PLC Analog I/O and Network I/O

PLC automation timers and counters

Medium-Level PLC Exercise for Students in Automation

Tanks Draining Control in PLC using Functional Block Diagram

Tanks Draining Control in PLC using Functional Block Diagram

Dry Contact in PLC

What is a Dry Contact? – Basics of PLC Wiring

In this article, we will learn the difference between Machine Expert Basic and Machine Expert software in Schneider PLC.

Difference between Machine Expert Basic and Machine Expert – Schneider PLC

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

More Articles

Troubleshooting Pump Control Circuit

Troubleshooting Pump Control Circuit

Oil Burners

What are Oil Burners? Types, Advantages, Applications

HT motors Corrosion Problem

HT motors Corrosion Problem

Certification Markings

Flammable Facts

Pressure Gauge Calibration Procedure

Digital Electronics Multiple Choice Questions

Compatibility Objective Questions

Basics of Butterfly Valves

Fieldbus Segment Design

Foundation Fieldbus Segment Design

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?