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.
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.
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.
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.
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:
Step by step and always remember, “start simple… and finish simple”.
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:
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:
Function | Address |
START | I:1/0 |
STOP | I:1/1 |
HIGH-LEVEL | I:1/4 |
LOW-LEVEL | I:1/3 |
PUMP (1) | Q:2/1 |
PUMP (2) | Q:2/3 |
HEATER | Q:2/4 |
MIXER | Q:2/0 |
THERMOSTAT | I:1/2 |
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.”
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).
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.
In the below video, the ladder logic of the batch simulator is simulated in the Logixpro PLC software.
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.
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…
The conveyor sorting machine is widely used in the packing industries using the PLC program…
Learn the example of flip-flop PLC program for lamps application using the ladder logic to…
In this article, you will learn the STAR DELTA programming using PLC controller to start…
Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…
Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…
This article explains how to blink lights in ladder logic with a detailed explanation video…