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

PID in Siemens TIA Portal
PLC Counter Instructions
Motor Classic Control Circuits using Single Push button
PLC Program with 2 Toggle Switches and 4 Motors
Tia Portal – OB10 Time of Day Interrupt Organization Block
S7-1200 Hardware Configuration – Siemens PLC Tutorials
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

How to import GSD files into the TIA Portal? – Siemens PLC
OMRON PLC Tutorial: Car Parking System Application
PLC Programming for Weight-Based Packaging
FC Function in Siemens PLC
How to Choose a PLC for New Project? – Criteria for Selection of PLC
Car Wash Program using Functional Block Diagram (PLC)
Features of Scada Which are Must in an IoT System
Analog Measurement using Ladder Logic

Keep Learning

Studio 5000 Programming Three Motors with Fixed Priorities

Studio 5000: Programming Three Motors with Fixed Priorities

Ladder Logic Vs. Other Programming Languages - PLC Basics

Ladder Logic Vs. Other Programming Languages – PLC Basics

SCADA backup too has been configured

FactoryTalk Studio and SQL Server for Data Logging

How to Program Sequential Outputs in PLC

Timer-Based Sequential PLC Program with One Button

Simulator in S7-1200 and S7-1500 PLC

How to Work With Simulator in S7-1200 and S7-1500 PLC?

Conditional Jump instruction

Jump Instruction in Siemens Tia Portal

Free Siemens PLC Training Course

Free Siemens PLC Training Course

Address Overlapping in Tia Portal

How to Check Address Overlapping in Tia Portal?

Learn More

A Question on Density Gauge

Capacitively Coupled Multistage Transistor Amplifier

Capacitively Coupled Multistage Transistor Amplifier

Online Analyzers Questions & Answers

Online Analyzers Questions & Answers

NPT Connections

Difference Between NPT, BSPP and BSPT Seals

Hazard Identification and Risk Assessment

Hazard Identification & Risk Assessment (HIRA)

How to Measure Specific Gravity of Battery

How to Measure Specific Gravity of Battery

buoyancy level transmitter

Displacer Level Transmitter Question & Answer

Siemens PLC Organization Blocks used For Troubleshooting

Tia Portal – OB121 Programming Errors Interrupt Organization Block

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?