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: Batch Simulator PLC Example Program using LogixPro Simulator
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 > Batch Simulator PLC Example Program using LogixPro Simulator

Batch Simulator PLC Example Program using LogixPro Simulator

In this article, you will learn Batch Simulator PLC Example Program using LogixPro Simulator software.

Last updated: November 16, 2022 4:47 pm
Hussien Ghareb
PLC Tutorials
No Comments
Share
8 Min Read
SHARE

Welcome back with our Basic “PLC Programming Training” in the previous post we learned how to download and install LogixPro software and how to deal with the software platform.

Contents
What is meant by the Batching Process?Basic steps for PLC programmingBatch Simulator using LogixPro PLC SimulatorThe Application I/O Signal ListTranslating the batching process conditions into Ladder instructionsWatch the PLC SimulationCommissioning the PLC Program at the SitePLC Exercise for Yourself

Today we are going to proceed with the first PLC example in our training by programming the Batch Simulator.

The main advantage of this series is that we will not learn the programming of just the Batch process or the programming of traffic simulation, today and for the next posts, we will put together a few Basic Rules that would boost your programming skills in general.

What is meant by the Batching Process?

The operation of a batch-size production mill is simple and effective. The raw material that would be cooked has to be placed with grinding media in a stationary, jacketed tank.

Batch Simulator using LogixPro PLC Simulator
Figure 1

After carrying out some industrial processes such as (heating, mixing, …) the whole mixture is ejected from the tank by a discharging pump.

This kind of process is commonly used in many factories with the difference in the type of material being mixed.

Basic steps for PLC programming

As we said before PLC programming does not need a talented engineer as much as it needs an organized person, here we have basic steps that we need to follow for coding any PLC application:

  1. Clarifying the operation sequence and interlocks in the form of short and concise sentences “AFD”.
  2. Identifying the application Input/output signals “making an I/O list”.
  3. Start by converting the AFD to the Ladder Logic Instructions.

Step by step and always remember, “start simple… and finish simple”.

  • Commissioning the PLC program by downloading your code to the PLC and troubleshooting the bugs and errors, then with swift editions now your code is ready.

Batch Simulator using LogixPro PLC Simulator

As we discussed earlier in the operation of the batching process, now we are going to start with the first step by summarizing the whole application shown in Fig. (2) in the form of short sentences:

What is meant by the Batching Process
Figure 2
  • By pressing the start push button, “PUMP_ (1)” which is responsible for filling the tank, should turn on to start the filling operation.
  • Once the level of the fluid reaches to the HIGH_LEVEL_SWITCH, “PUMP_ (1)” should turn off. Fig. (1)
  • Then the HEATER should operate till the thermostat reaches the set point.
  • Then using the MIXER for mixing the fluid for 30 Sec.
  • Finally, the whole fluid should be discharged using “PUMP_ (3)”

The Application I/O Signal List

Now and after we have discussed and summarized the batching process operation the next step is to clarify the Input and Output signal list as followed:

FunctionAddress
STARTI:1/0
STOPI:1/1
HIGH-LEVELI:1/4
LOW-LEVELI:1/3
PUMP (1)Q:2/1
PUMP (2)Q:2/3
HEATERQ:2/4
MIXERQ:2/0
THERMOSTATI:1/2

Translating the batching process conditions into Ladder instructions

Always remember that programming is not as hard as you imagine all you need is to start step by step and whenever you feel that your PLC code becomes to be complicated and not organized, be sure that you are on the wrong path.

NOTE

“Before we start to discuss our solution, it is very important to give it a try by yourself for just 15 min.”

  • Now by starting with the first condition which is by pressing START, PUMP-(1) should turn on.

As we can see in Fig. (3) for the first rung “000” whenever we press the START button it will energize the Latching coil for the output that is responsible to operate PUMP-(1).

  • Regarding the application AFD, PUMP-(1) should be turned ON till it fills the tank (HIGH_LEVEL energized).

So, for the second rung (001) as you can see when the HIGH_LEVEL switch will indicate the level it will de-energize the filling pump “PUMP-(1)” and also it will latch the HEATER to increase the fluid temperature.

  • And now is the role of the THERMOSTAT when the temperature of the fluid reaches the setpoint temperature that is represented in Fig. (1), the THERMOSTAT NO contact will be closed and it will de-energize the heater operation and it will energize the MIXER to start mixing the fluid as shown in rung No. (002)
  • Notice that there is an interlock between the heater and the mixer represented in Fig. (2) rung No. (001), as you can see there is an NC contact for the mixer on the HEATER coil so the heater can not be turned on when the mixer is ON.
  • Now as shown in rung No. (003) the mixer will initialize a timer (T4:0) to calculate 30 Sec. of working for the mixer then the timer will de-energize the mixer as shown in rung No. (004)
LogixPro Batch Simulator PLC Logic
Figure 3
  • At the same time and after the timer stopped the mixer, it will energize the discharging pump “PUMP-(3)” as shown in rung (005) till the tank get empty and the low-level switch will de-energize the discharging pump as shown in rung No. (006)
  • The whole process will be repeated if we press start again.

Watch the PLC Simulation

In the below video, the ladder logic of the batch simulator is simulated in the Logixpro PLC software.

Batch Simulator using Logixpro Simulation PLC Programming

Commissioning the PLC Program at the Site

Now we have the last step, to download our PLC code and to try it on the real site.

You may have some problems at the beginning but if your code is organized and simple this step will not cost you a big deal of time.

PLC Exercise for Yourself

You will never learn to program if you are just satisfied with watching, you have to try by yourself.

So, we did not mention how to stop this operation?

If we need to stop this operation at any stage (Filling, Heating, Mixing, Discharging) by pressing the stop push button and by pressing start again the operation should proceed where it stopped, what we need to edit in our code to make that possible??

Write your solution in the comments below and let us see if can you do it or Not…

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

Example PLC Program
Mis-conceptions of PLC Ladder Logic
Ferrules and Cross Ferruling
Delta HMI and VFD Control with Modbus
Sequential Operation of Output Bits using Two Push buttons
Safety Door Interlock PLC Program
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

Identify the Problem in the PLC Program
Applications of PLC Programming in Bottle Filling Process
PLC Automatic Door Control System – Programming Example
Instrumentation Engineer in Process Plant Project
#12 PLC Best Practices – Validate Inputs based on Physical Plausibility
Top 5 Advantages of Human-Machine Interface (HMI)
PLC Program for Bank Counter Application
Latched and Momentary Operation of Motor PLC Program

Keep Learning

PLC Program for Water filling and Discharging Process

PLC Program for Water filling and Discharging Process

How to Program Sequential Outputs in PLC

Timer-Based Sequential PLC Program with One Button

HMI screen for operator

#8 PLC Best Practices – Validate HMI Input Variables at PLC Level

PLC datasheet

How to Read the PLC Datasheet? – Important Notes About PLC

PLC Program for Automatic Heating and Mixing of Products

Heating and Mixing of Products using PLC Example Tutorial

Difference Between Microcontroller and PLC

Difference Between Microcontroller and PLC

Electrical Ladder Diagram Control using Timers Example

Electrical Ladder Diagram Control using Timers Example

Programmable Logic Controller Practice Tests

Programmable Logic Controller Practice Tests

Learn More

Non-variable reducing valves

What is Reducing Valve ?

plc-analog-signals-wiring-techniques

PLC Analog Signals Wiring Techniques

port-guided globe valve plug

What is Port-guided Globe Valve ?

Silicon-Controlled Rectifier (SCR)

Introduction to Thyristor – History, Types, Principle, Advantages

PLC based Automatic Packaging System

PLC based Automatic Packaging System

Thermistors and Resistance Temperature Detectors (RTDs)

Thermistors and Resistance Temperature Detectors (RTDs)

Retentive ON delay timer using PLC Logic

Retentive ON Delay Timer using PLC

Sick Flow meters

Flare Ultrasonic Flow Meter – SOPAS Engineering Tool

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?