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: CX Programmer Example: Perfume Mixing and Filling System
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 > CX Programmer Example: Perfume Mixing and Filling System

CX Programmer Example: Perfume Mixing and Filling System

Learn about a sequential Batch Perfume Mixing & Filling system that can be used as a learning medium for beginner PLC programmers.

Last updated: September 24, 2024 4:34 am
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

This article discusses the Sequential Batch Perfume Mixing & Filling system which can be used as a learning medium for students or beginner PLC programmers.

Contents
Perfume Mixing and Filling SystemPLC Inputs and Outputs DetailsCX-Programmer Example

Perfume Mixing and Filling System

This PLC system has 2 buttons, the START_SYSTEM (0.00) button is used to Turn ON the system, and the STOP_SYSTEM (0.01) button is used to Turn OFF the system.

When the START_SYSTEM (0.00) button is pressed, the Output VALVE_INPUT_PERFUME (100.00) will OPEN to carry out the Liquid Filling process. The Output VALVE_INPUT_PERFUME (100.00) will CLOSE when the Mixer tank has been filled to 100kg.

When the Filling process is complete, the MIXER Output (100.01) will be ON to carry out the Mixing process for 15 seconds. When the MIXER Output (100.01) is OFF, the system will be in Standby Mode.

This PLC system has 3 sensors which are used to detect VAT Perfume.

When VAT_SENSOR1 (0.02) is HIGH because it detects VAT Perfume, the Output VALVE_OUT_PERFUME1 (100.02) will OPEN for 5 seconds to drain liquid into VAT Perfume.

When VAT_SENSOR2 (0.03) is HIGH because it detects VAT Perfume, the Output VALVE_OUT_PERFUME2 (100.03) will OPEN for 5 seconds to drain the liquid into VAT Perfume.

When VAT_SENSOR3 (0.04) is HIGH because it detects VAT Perfume, the Output VALVE_OUT_PERFUME3 (100.04) will OPEN for 5 seconds to drain liquid into VAT Perfume.

The system will turn OFF when the liquid in the Mixer tank is empty.

CX Programmer Example Perfume Mixing and Filling System

PLC Inputs and Outputs Details

CommentInput (I)Output(Q)Memory BitsMemory WordTimers
START_SYSTEM0.00    
STOP_SYSTEM0.01    
VAT_SENSOR10.02    
VAT_SENSOR20.03    
VAT_SENSOR30.04    
VALVE_INPUT_PERFUME 100.00   
MIXER 100.01   
VALVE_OUT_PERFUME1 100.02   
VALVE_OUT_PERFUME2 100.03   
VALVE_OUT_PERFUME3 100.04   
TIMER_MIXER    T0000
TIMER_PERFUME1    T0001
TIMER_PERFUME2    T0002
TIMER_PERFUME3    T0003
SYSTEM_ON  W0.00  
STANDBY_MODE  W0.01  
SYSTEM_OFF  W0.02  
PERFUME_WEIGHT   D0 

CX-Programmer Example

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. 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 or when the NC contact of the memory bit SYSTEM_OFF (W0.02) in the HIGH state.

Perfume filling system PLC program

RUNG 1 (PERFUME INPUT VALVE)

The VALVE_INPUT_PERFUME (100.00) Output will be OPEN when the NO contact of memory bit  SYSTEM_ON (W0.00) in HIGH state and the value in memory word PERFUME_WEIGHT (D0) is less than “100”.

RUNG 2 (MIXING TIME)

In this Rung, when the NO contact of memory bit  SYSTEM_ON (W0.00) in HIGH state and the value in memory word PERFUME_WEIGHT (D0) is greater than or equal to “100”, then the MIXER (100.01) Output will be ON.  The timer TIMER_MIXER (T0000) will count up to 15 seconds.

The MIXER (100.01) Output will be OFF when the NC contact of memory bit SYSTEM_OFF (W0.02) and timer TIMER_MIXER (T0000) in the HIGH state.

PLC example for perfume mixing and filling

RUNG 3 (STANDBY MODE)

When the NO contact of the memory bit SYSTEM_ON (W0.00) and the timer TIMER_MIXER (T0000) in the HIGH state, the memory bit STANDBY_MODE (W0.01) changes to the HIGH state.

RUNG 4 (VALVE OUT PERFUME 1)

When the NO contact of memory bit STANDBY_MODE (W0.01) and the sensor VAT_SENSOR1 (0.02) in the HIGH state, the VALVE_OUT_PERFUME1 (100.02) Output will be OPEN and the timer TIMER_PERFUME1 (T0001) will Start counting up to 5 seconds.

The VALVE_OUT_PERFUME1 (100.02) Output will be CLOSE when the NO contact of sensor VAT_SENSOR1 (0.02) in the LOW state or the NC contact of timer TIMER_PERFUME1 (T0001) in the HIGH state.

Automatic perfume PLC logic

RUNG 5 (VALVE OUT PERFUME 2)

When the NO contact of memory bit STANDBY_MODE (W0.01) and the sensor VAT_SENSOR2 (0.03) in the HIGH state, the VALVE_OUT_PERFUME2 (100.03) Output will be OPEN and the timer TIMER_PERFUME2 (T0002) will Start counting up to 5 seconds.

The VALVE_OUT_PERFUME2 (100.03) Output will be CLOSE when the NO contact of sensor VAT_SENSOR2 (0.03) in the LOW state or the NC contact of timer TIMER_PERFUME2 (T0002) in the HIGH state.

RUNG 6 (VALVE OUT PERFUME 3)

When the NO contact of memory bit STANDBY_MODE (W0.01) and the sensor VAT_SENSOR3 (0.04) in the HIGH state, the VALVE_OUT_PERFUME3 (100.04) Output will be OPEN and the timer TIMER_PERFUME3 (T0003) will Start counting up to 5 seconds.

The VALVE_OUT_PERFUME3 (100.04) Output will CLOSE when the NO contact of sensor VAT_SENSOR3 (0.04) in the LOW state or the NC contact of timer TIMER_PERFUME3 (T0003) in the HIGH state.

Omron PLC mixing system

RUNG 7 (SYSTEM OFF)

When the NO contact of memory bit STANDBY_MODE (W0.01) in HIGH state and the value in memory word PERFUME_WEIGHT (D0) is equal to zero “0”, then the memory bit SYSTEM_OFF (W0.02) changes to HIGH state.

Read Next:

  • Automatic Vacuum Cleaner PLC Programming
  • STAR-DELTA Auto And Manual PLC Program
  • Electric Motor Forward Reverse PLC Logic
  • Product Painting with Omron PLC Program
  • Attendance System Program in Omron PLC
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

Single Push button to ON and OFF a Bulb using Ladder Logic
Transmitters 4-20mA Current Failure Alarm Limits
PLC Programming Example for Motor Forward and Reverse Control
PLC Code to Start & Stop Motor and Pump as per Logic
Jump Instruction in Siemens Tia Portal
Omron PLC Logic for Washing Machine Automation
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 Program to Simulate Gate Array Logic
Write a PLC Program for Selector Machine using Structured Text
Configuration of Input and Output Tags in Siemens Scada and PLC
Ladder Diagram Example using Memory Bits and Set Coils
PID in Studio 5000
Tank Filling and Emptying using Intouch Scada Script
Basics of Loop Checks
Connect to the Siemens S7 PLC

Keep Learning

Namur Digital Input Card

What is Namur Digital Input Card?

Controlling of Tank Level Using Proportional Controller in PLC

Controlling of Tank Level Using Proportional Controller in PLC

PLC Program for Valves

PLC Pump Permissive Interlocks

SCADA System Vulnerabilities

SCADA System Vulnerabilities

PLC Program three-phase electric motor

Identify the Problem in the PLC Program

PLC Programming Examples using Timer

Basic PLC Ladder Programming Example

Burning Oven PLC Program

PLC Program for Ceramic Burning Oven Conveyor System

SCADA Interview Questions

SCADA Interview Questions and Answers

Learn More

Industrial Light Fittings and Street Light Poles Corrosion Problems

Industrial Light Fittings and Street Light Poles Corrosion Problems

Sealed Bellows Temperature Sensors

Bellows Pressure Sensors Working Principle Animation

Water Fountain Control Logic

Water Fountain Control Logic – PLC Exercises and Solutions

PLC program for VFD Drive Multiple Speeds

Drive Multiple Speeds with Different Reference using PLC

Power Transmission And Distribution

Electrical Power Transmission And Distribution

Organization block Siemens

Tia Portal – OB30 Cyclic Interrupt Organization Block

Power Electronics Objective Questions

AC Voltage Controllers Multiple Choice Questions

Automatic Motor Forward and Reverse Control using Timer

Automatic Motor Forward and Reverse Control using Timer

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?