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: PLC Mixing Process with Adjustable Timer and Valve Control
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 > PLC Mixing Process with Adjustable Timer and Valve Control

PLC Mixing Process with Adjustable Timer and Valve Control

This article discusses the PLC mixing process with adjustable timer and valve control using XG-5000 PLC Software.

Last updated: October 23, 2024 7:57 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

This article discusses the PLC mixing process with adjustable timer and valve control using XG-5000 PLC Software. This Batch Mixing System has 3 Processes, Liquid Filling Process, Mixing Process, and Draining Process. When the Tank is empty, Valve 1 will automatically Open. This system uses HIGH & LOW sensors to detect the liquid contents in the Tank. When the Tank is fully filled, the Mixer will rotate and the Mixing Process time parameters can be Set. Valve 2 will automatically Open when the Mixing Process is complete. The quantity of Mixing Processes that have been carried out will be counted and can be Reset.

Contents
Program ObjectiveLiquid Filling ProcessMixing ProcessDraining ProcessAddressing of ProjectProgramming of PLC Code

Program Objective

The PLC logic has these buttons and the following sensors:

  1. The PB_START (P00000) button is used to Start the system.
  2. The PB_STOP (P00001) button is used to Stop the system.
  3. The RESET_COUNTER (P00004) button is used to Reset the Counter value.
  4. The LOW_SENS (P00002) sensor is used to measure the lowest point of liquid in the tank. The sensor will be Active when it detects liquid.
  5. The HIGH_SENS (P00003) sensor is used to measure the highest point of liquid in the tank. The sensor will be Active when it detects liquid.

The time parameter “Set Value” for the Mixing Process in the memory word SV_TIMER_MIXER (D00010) must be Set before the system is Started.

Mixing Process with Valve Control

Liquid Filling Process

When the PB_START (P00000) button has been Pressed and the tank is empty, the LOW_SENS (P00002) sensor will be non-active and the Valve VALVE_INPUT (P00040) will be OPEN.

Valve VALVE_INPUT (P00040) will CLOSE when the HIGH_SENS (P00003) sensor is Active. This indicates that the liquid in the tank is full.

Mixing Process

When the Valve VALVE_INPUT (P00040) is CLOSED, the output MIXER (P00041) is to Mix the liquid.

The Mixing process will be completed when TIMER_MIXER (T0000) has finished counting and Output MIXER  (P00041) becomes OFF.

Draining Process

When TIMER_MIXER (T0000) has finished counting, the Valve VALVE_OUT (P00042) will OPEN to drain the liquid from Tank.

Valve VALVE_OUT (P00042) will CLOSE again when the LOW_SENS (P00002) sensor is non-active.

When the entire process has been carried out, the Counter value in the memory word COUNTER_BATCH (D00000) will increase (+1).

PLC Mixing Process with Adjustable Timer and Valve Control

Addressing of Project

CommentInput (I)Output (Q)Memory WordMemory BitsTimer
PB_STARTP00000    
PB_STOPP00001    
LOW_SENSP00002    
HIGH_SENSP00003    
RESET_COUNTERP00004    
VALVE_INPUT P00040   
MIXER P00041   
VALVE_OUT P00042   
SYSTEM_ON   M00000 
TIMER_MIXER    T0000
COUNTER_BATCH  D00000  
SV_TIMER_MIXER  D00010  

Programming of PLC Code

RUNG 1

In this Rung, when the PB_START (P00000) button is Pressed, the memory bit SYSTEM_ON (M00000) will be in the HIGH state. Because it uses the SET Coil Instruction, the memory bit SYSTEM_ON (M00000) will remain in the HIGH state even though the PB_START (P00000) button has been Released.

PLC Liquid Filling and Mixing System Using Sensors and Timers

RUNG 4

Because it uses the RESET Coil Instruction, the memory bit SYSTEM_ON (M00000) will be in the LOW state if the PB_STOP (P00001) button is Pressed.

RUNG 7

In this Rung, the Output VALVE_INPUT (P00040) will be OPEN if the NO contact of memory bit SYSTEM_ON (M00000) is in the HIGH state. The VALVE_INPUT (P00040) output will be CLOSE when the NC contact of LOW_SENS (P00002) or HIGH_SENS (P00003) in the HIGH state.

PLC Automated Filling, Mixing, and Draining

RUNG 14

In this Rung, when the NO contact of memory bit SYSTEM_ON (M00000) and the HIGH_SENS (P00003) Sensor in the HIGH state, the MIXER (P00041) Output will be ON and the TIMER_MIXER (T0000) Timer will start counting.

When the TIMER_MIXER (T0000) Timer has finished counting, the MIXER Output (P00041) will be OFF.

RUNG 22

When the NO contact of memory bit SYSTEM_ON (M00000), Timer TIMER_MIXER (T0000), and LOW_SENS (P00002) Sensor in the HIGH state, the VALVE_OUT (P00042) Output will be OPEN.

The VALVE_OUT (P00042) Output will remain in the OPEN state even though the NO contact of TIMER_MIXER (T0000) Timer is in the LOW state because it uses the Latching Function.

The VALVE_OUT (P00042) Output will become CLOSE if there is NO contact with the LOW_SENS (P00002) Sensor or memory bit SYSTEM_ON (M00000), which becomes a LOW state.

PLC-Controlled Batch Mixing System Automated Liquid Fill, Mix, and Drain

RUNG 29

The memory word COUNTER_BATCH (D00000) will increase by (+1) when the NO contacts of VALVE_OUT (P00042) and memory bit SYSTEM_ON (M00000) are in the HIGH state.

The ADD instruction will add a value (+1) to the memory word COUNTER_BATCH (D00000) each time it is activated.

RUNG 37

In this Rung, the MOV Instruction will move the zero value “0” to word memory COUNTER_BATCH (D00000) when the RESET_COUNTER (P00004) button is Pressed.

Read Next:

  • PLC Logic Train Detection and Gate Operation
  • Weighing with Labeling PLC Automation Logic
  • Functional Block Diagram Analog Alarm Logic
  • Timer-Based Sequential PLC Programming
  • PLC Programming for Baking with Auto Mode
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

Siemens PLC Course for Beginners: Problems and Solutions
Why different PLC Programming Languages were Developed?
What are High-Speed Inputs in PLC?
Rockwell PLCs for Large Scale Applications
Batch Simulator PLC Example Program using LogixPro Simulator
How to Backup and Restore from Simatic Prosave HMI?
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

Connecting Faceplate to PLC Project – HMI Tutorial
What Factors Affect the Choice of PLC Programming Software?
PLC Analog I/O Potential Problems – Troubleshooting & Issues
PLC Programming using Level Switches
Exhaust Fan Control: Example of PLC Timer Programming
Structured Text in PLC: Parking Information Systems
PLC Program for 2 Push buttons to Control 1 Output
Ladder Logic Vs. Other Programming Languages – PLC Basics

Keep Learning

Siemens S7 300 and STEP 7 PLC program using SIMATIC Software

Siemens Industrial Laptop (Simatic Field PG)

Connect to the Siemens S7 PLC

PLC Logic Example on Multiple Switches and Motors

PLC Logic Example on Multiple Switches and Motors

Concept of DCS in Industrial Automation

Concept of DCS in Industrial Automation

Liquid Temperature Control System

Siemens TIA Portal Project: Liquid Temperature Control System

Architecture of Allen Bradley PLC

Architecture of Allen Bradley PLC

PLC Example on Manufacturing Line Assembly

PLC Example on Manufacturing Line Assembly

Automatic Lamp Control in Storage Facility

PLC Program for Automatic Lamp Control in Storage Facility

Learn More

Saybolt Viscometer

Saybolt Viscometer

Turbine Meter Custody Transfer

What is Gas Meter and Regulating Station?

Electrical Machines Questions and Answers

Synchronous Machine Quiz

Layer-2 and Layer-3 Network Switches

Layer-2 and Layer-3 Network Switches

Serial Communication Error Checking Methods and Algorithms

Serial Communication Error Checking Methods and Algorithms

PLC Emergency Stop Example Program

PLC Emergency Stop Example Program

Difference Between Static and Temp Memory in Siemens TIA Portal

Difference Between Static and Temp Memory in Siemens PLC TIA Portal

Electrical Machines Objective Questions

Electrical Machines MCQ Series 19

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?