PLC Programming Example of a Process Mixer

We will apply the five steps to a PLC programming example process mixer.
The process mixer will be programmed using ladder logic. We will discuss each step of the PLC program development.
A normally open start and normally closed stop pushbuttons are used to start and stop the process. When the start button is pressed, solenoid A energizes to begin filling the tank. As the tank fills, the empty level sensor switch closes. When the tank is complete, the full-level sensor switch closes. Solenoid A is de-energized. The mixer motor starts and runs for 3 minutes to mix the liquid. When the agitate motor stops, solenoid B is energized to empty the tank. The empty sensor switch opens to de-energize solenoid B when the tank is completely empty. The start button is pressed to repeat the sequence.
More information can be obtained on our website.
accautomation.ca/plc-programm...
See Process Mixer Test Simulation - Testing the program in a 3D environment
• PLC Example - Process ...
00:00 PLC Process Mixer Example
00:45 Five-Step Approach to PLC Program Development - Define the task
01:30 PLC Inputs and Outputs
02:10 Develop Logic Sequence of Operation - Sequence Table
04:05 PLC Program Ladder Logic Development
05:48 Testing of the Process Mixer PLC Program
We will apply the five steps to PLC Program development to our following programming example of a process mixer.
1. Define the task
2. Define the inputs and outputs
3. Develop a logical sequence of operation
4. Develop the PLC program
5. Test the program
www.accautomation.ca

Пікірлер: 76

  • @philliptwin326
    @philliptwin326 Жыл бұрын

    Good job!!! This video is very helpful, just one question, this kind of PLC programming method (sequence table) you are using, what is the reach of this programming method for complex process? I mean, where you have more inputs and outputs as well as analog in/out, thank you

  • @ACCautomation

    @ACCautomation

    Жыл бұрын

    Hi Phillip, I have used this technique on multiple programs with as many as 32 inputs and outputs, both analog and digital. Here is the latest video released today that uses sequence tables and has analog as well. PLC Programming with Pneumatic Synchronization accautomation.ca/plc-programming-with-pneumatic-synchronization/ kzread.info/dash/bejne/nZ1_scuapqWqeaw.html Thanks for the comment. Garry

  • @Archi891
    @Archi8917 жыл бұрын

    Very clean explanation, great job :)

  • @felipemurakawa8544
    @felipemurakawa85447 жыл бұрын

    Very good example thanks!

  • @vernonjones3613
    @vernonjones36135 жыл бұрын

    Easily understood very well presented hope you upload more plc videos thank you

  • @ACCautomation

    @ACCautomation

    5 жыл бұрын

    Thanks for the comment Vernon. Garry

  • @davidjones7088
    @davidjones70887 жыл бұрын

    The explanation is understandable, Very good Job friend.

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    Thanks David

  • @shahadathosen8161
    @shahadathosen81612 ай бұрын

    Thank you very much

  • @jacquedreyer5479
    @jacquedreyer54795 жыл бұрын

    Nice job - thanks for sharing!

  • @ACCautomation

    @ACCautomation

    5 жыл бұрын

    Thanks for the comment Jacque. accautomation.ca/programming/plc-beginners-guide/ Garry

  • @slimslaam560
    @slimslaam5607 жыл бұрын

    very much helpful video .... thanks alot

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    Thanks Slim

  • @Alain0775
    @Alain07758 жыл бұрын

    Thank you for your video, it's been very helpful to me especially the programming steps. This video has made programming easier. Do you any method I can use to interpret someone else's programming? Do I need to go backward? I mean from ladder programs, to sequence table and so on?

  • @ACCautomation

    @ACCautomation

    8 жыл бұрын

    +Alain Jude You are correct! In order to interpret and understand someone else's program you need to go backward if all else fails. If the program was written and documented well, it should be easy to understand as you read through the ladder. When documentation is lacking, I usually start by asking the operators or owner, the general sequence of operation for the machine. This way I get a general sense of the operation before starting to interpret and understand the actual program. Thanks for Watching! Garry

  • @mahendraparmar9568
    @mahendraparmar95683 жыл бұрын

    Thank you for video..

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    I am glad you found it helpful. Thanks for the comment Mahendra. Garry

  • @ElvinJones1981
    @ElvinJones19817 жыл бұрын

    Hey, I am pretty new to this. Do you have a video where you show step by step how to develop the blocks in the environment that you are working in? Thanks for the videos.

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    accautomation.ca/programming/plc-basics/ The above link will take you to the basic programming menu on our website. You may also find the following interesting to read: accautomation.ca/building-a-plc-program-that-you-can-be-proud-of-part-1/ Let me know if this helps you out. Regards, Garry

  • @jorgepalacios6908
    @jorgepalacios69087 жыл бұрын

    Isn't the N.O. Full Sensor for activating SOl_B_work_bit redundant? Would the program work the same without it there?

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    Hi Yoni, The full sensor indicates when to stop the filling of the tank. Without it you would have to have another method to indicate that enough liquid is in the tank. Looking at the sequence table in the post you can see that the switch is required. accautomation.ca/plc-programming-example-process-mixer/ Other ways to indicate that a tank is full is to weigh the tank using an analog input, or meter the product using a flow control pulse input. I have seen timers being used to some extent, but times can be very inaccurate because of the changes in the system. Things like pressure in the fill line will cause the tank to overfill or under fill sometimes. Hope this helps you out, Regards, Garry

  • @raffaelerimorso9671
    @raffaelerimorso96715 жыл бұрын

    very good

  • @ACCautomation

    @ACCautomation

    5 жыл бұрын

    Thank you Raffaele

  • @yazeedoo1234
    @yazeedoo12344 жыл бұрын

    Amazing video sir, I was wondering if the fbd was available for this example?

  • @ACCautomation

    @ACCautomation

    4 жыл бұрын

    Hi Paper Works, Every video has a corresponding web page with further information. Here is the page for this video. It will contain more information including a flow chart. accautomation.ca/plc-programming-example-process-mixer/ Regards, Garry

  • @mostafaelhabashy3798
    @mostafaelhabashy37986 жыл бұрын

    Thanx alot for this video. it is too helpful. i have a question about if we want that the process to restart automatically, how this can be performed??? Thanks again

  • @ACCautomation

    @ACCautomation

    6 жыл бұрын

    Hi Mostafa, Thanks for the comments. The end of the cycle resets with the X2 input (Empty_Sensor_Switch) turning off. (Water Drained Out) If we want the cycle to automatically start again then use the trailing edge one shot contact on X2 in parallel with the leading edge one shot contact X0 (Start_PB). When the water finishes draining from the tank, the input X2 will turn off. This will then act as the start input for the next cycle. Thanks for the question Mostafa. Regards, Garry

  • @mostafaelhabashy3798

    @mostafaelhabashy3798

    6 жыл бұрын

    I don't know how to thank you. Too helpful advice. Thanx again.

  • @younesstazi7702
    @younesstazi77023 жыл бұрын

    Hey Garry , Thank you for the video . i have just a question about if we can do that on advancedHMI because i m trying to do that and for empty sensor and full sensor we can use NO switch ? and also about the SOL A and SOL B we can use just simple indicator? Thank you

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    Hi youness tazi, Yes, you can use AdvancedHMI as the interface to the PLC. The NC sensor is used because if the wire or sensor was damaged you would not get a signal. This then makes it a more robust system. However, you could use a NO switch. A simple indicator on the HMI would work fine for the SOL outputs. Regards, Garry

  • @younesstazi7702

    @younesstazi7702

    3 жыл бұрын

    @@ACCautomation Thank you Garry for your help ! when i finish the graphic interface and attribute adress for each component in the plc , and i have my ladder logic for my problem of plc then how to synchronis it with my hardware im work with visual studio and click plc .

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    @@younesstazi7702 AdvancedHMI will be the Modbus Client (Master) and the Click PLC will be the Modbus Server (Slave). This Human Machine Interface will display the information in the PLC. The PLC will solve the logic based on the input conditions and the HMI will display. Regards, Garry

  • @younesstazi7702

    @younesstazi7702

    3 жыл бұрын

    @@ACCautomation okey thank you Garry , i m doing the program for this example and for the timer there is one timer with two variable T0.Done and T0.Timing because i'm trying to follow you and i need two timer for T0.Done and T0.Timing i can't did it on click programming sofware idk if there is another ways to d

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    @@younesstazi7702 The following post will explain timers in the click plc. accautomation.ca/click-plc-timers-and-counters/ You will see the Modbus addresses required by using the address picker and selecting the show Modbus addresses. I hope this helps you out. Regards, Garry

  • @keerthanap2001
    @keerthanap20012 жыл бұрын

    Can anyone tell me which sensors can be used here in implementing this

  • @ACCautomation

    @ACCautomation

    2 жыл бұрын

    Hi Keerthana P, You can use any discrete sensor that will detect what is in your tank. www.automationdirect.com/adc/search/search?fctype=adc.falcon.search.SearchFormCtrl&cmd=Search&searchquery=LIQUID+LEVEL+SWITCH&categoryId=0&TxnNumber=-1&searchqty=10 This link will show you some of the different kinds of level switches that you can use. If you send a picture of your process, mounting restrictions, etc. I can see what type of sensor would be suitable. garryshortt@accautomation.ca Regards, Garry

  • @keerthanap2001

    @keerthanap2001

    2 жыл бұрын

    @@ACCautomation tq 🤩

  • @WaysToSellOnline
    @WaysToSellOnline7 жыл бұрын

    Great video..your way of explaining is good Can u tell me from where i get this software so i can practice various examples on this

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    Hi Uzair, The software is from Automation Direct. It is called Do-More Designer Software. This is a free download and comes with a simulator so you can try out programs without purchasing hardware. support.automationdirect.com/products/domore.html Here is another link that will provide a HMI for you at no cost. AdvancedHMI. accautomation.ca/create-a-plc-with-hmi-training-and-learning-environment-free/ Regards, Garry

  • @WaysToSellOnline

    @WaysToSellOnline

    7 жыл бұрын

    That`s cool..it is a great thing to practice programs without hardware Thanks..downloading Do-More (Y)

  • @WaysToSellOnline

    @WaysToSellOnline

    7 жыл бұрын

    i have downloaded the software but now I am having the problem with simulator..when i connect my program with simulator it gives me error (resolve online/offline differences) can u tell me why?

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    Hi Uzair, The simulator is just like having the hardware. You must transfer your program to the simulator PLC before it can work. Here are some more videos that will take you through the process of using the software: kzread.info/head/PL3y71jAPOdZB5LJMMotZP36LvzfdgkgzW Regards, Garry

  • @WaysToSellOnline

    @WaysToSellOnline

    7 жыл бұрын

    It works ..:D Thank u soo much

  • @luisalbertoplata4298
    @luisalbertoplata42983 жыл бұрын

    Can somebody help me with this? I need to do this program, but I don’t understand. Well, I don’t know if this is the same. Does anyone have the same program?

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    Hi Luis, This post will go over the program and how it is written. accautomation.ca/plc-programming-example-process-mixer/ Regards, Garry

  • @blacktiger7442
    @blacktiger74427 жыл бұрын

    ?what should i do if i have 2 input Liquid

  • @ACCautomation

    @ACCautomation

    7 жыл бұрын

    What does each of the 2 inputs do? In this example we are using a high and a low input liquid level. I have seen using an additional input to slow the filling of the tank. This will give a more accurate amount. accautomation.ca/plc-programming-example-process-mixer/ Regards, Garry

  • @blacktiger7442

    @blacktiger7442

    7 жыл бұрын

    thanks

  • @rmkbrothers8698
    @rmkbrothers86983 жыл бұрын

    Hi dear, What software used for hardware design pls tell me I will interested to learn

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    The software is the Do-More Designer. This is a free download that comes with a PLC simulator. www.automationdirect.com/support/software-downloads You can download this software from the above link. Here is a series on how you can start learning this programming software. kzread.info/head/PL3y71jAPOdZB5LJMMotZP36LvzfdgkgzW On our website, you will also find the beginner's guide to PLC programming. accautomation.ca/programming/plc-beginners-guide/ This may help you out. Regards, Garry

  • @rmkbrothers8698

    @rmkbrothers8698

    3 жыл бұрын

    Thanks your fast reply I'm asking process simulator software. Not for programming.

  • @rmkbrothers8698

    @rmkbrothers8698

    3 жыл бұрын

    Pls can you share with me process simulator

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    @@rmkbrothers8698 As mentioned before, the software is the Do-More Designer. This is a free download that comes with a PLC simulator. www.automationdirect.com/support/software-downloads The PLC will simulate PID loops, Analog input/output, and Digital. So this will be a process simulator. Regards, Garry

  • @cia9070
    @cia90706 жыл бұрын

    sir gary shortt,,, do you have software for ios too?

  • @ACCautomation

    @ACCautomation

    6 жыл бұрын

    Hi Jin, This software is for windows only. However you can run windows apps on your IOS. A quick google search brought up the following link: www.zdnet.com/article/how-to-run-windows-applications-on-a-mac-without-installing-windows/ Hope this helps you out. Regards, Garry

  • @cia9070

    @cia9070

    6 жыл бұрын

    I have winebottler already.. is it still open your application on it?

  • @ACCautomation

    @ACCautomation

    6 жыл бұрын

    Hi Jin, I have not used the winebottler software. It would be interesting to see if it would work or not. Regards Garry

  • @osamaamara1437
    @osamaamara14373 жыл бұрын

    Can you explain it in Protues ?

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    Hi Osama amara, I am unsure what Protues is. Do you mean the CAD software? The logic is explained in the following post: accautomation.ca/plc-programming-example-process-mixer/ Regards Garry

  • @damiaosilva4664
    @damiaosilva46642 жыл бұрын

    Bom dia como faço a comunicação bom xl-H102 com smartstix de net pra can

  • @ACCautomation

    @ACCautomation

    2 жыл бұрын

    Hi Damiao Silva, "Good morning, how do I communicate good xl-H102 with smartstix from net to can" The SmartStix uses CsCAN. Baud Rate for SmartStix I/O is fixed at 125KBaud. The following are the specifications. Oi Damiao Silva O SmartStix usa CsCAN. A taxa de transmissão para SmartStix I / O é fixada em 125 KBaud. A seguir estão as especificações. hornerautomation.com/techdocs/MAN0897-01.pdf Cumprimentos, Garry

  • @anujpanday7371
    @anujpanday73712 жыл бұрын

    Plz make logic without start stop only use level sensor

  • @ACCautomation

    @ACCautomation

    2 жыл бұрын

    Hi Anuj Panday, Using the 5 steps to program development, you should be able to accomplish this yourself. accautomation.ca/plc-programming-example-process-mixer/ Just think of it this way. If there is no start button then what will trigger the process to begin? (Empty Condition) Regards, Garry

  • @sultanibrahim1289
    @sultanibrahim12893 жыл бұрын

    Can u give me the codes

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    Hi Sultan Ibrahim, You can download the program and Factory IO scene here. www.dropbox.com/s/azb5utlejlsiq2j/Factory%20IO%20Process%20Mixer.zip?dl=0 Regards, Garry

  • @m.n.q.1670
    @m.n.q.16703 жыл бұрын

    For Empty_Sensor_Switch and Full_Sensor_Switch, you use NO physical switches with XIO instructions. It makes sense because you want the switches to open the rung when closed physically. For Stop switch, you use NC physical switch, which is a safety thing. But why do you use XIC instruction for Stop switch? Should not it be XIO? Thank you very much.

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    Hi M.N.Q. Good question. You are correct that the Stop Switch is wired physically as an NC (normally closed). In the program, I am looking for something that will complete the rung when the stop is not selected (activated). In this case, I need open contacts in the ladder logic condition to complete the logic to the V0:0. When the stop is activated then the rung condition is false. If we needed to count the number of times that the stop button was pressed, then we would use the normally closed contacts in the ladder logic condition. This concept of input condition is something that a lot of people have trouble understanding at first. I hope this helps you out. Regards, Garry

  • @m.n.q.1670

    @m.n.q.1670

    3 жыл бұрын

    @@ACCautomation Thank you very much. It is clear to me now.

  • @ACCautomation

    @ACCautomation

    3 жыл бұрын

    @@m.n.q.1670 Thanks for the feedback. Regards, Garry

  • @arundhillon6341
    @arundhillon63416 жыл бұрын

    Here’s what my problem is I am using a scanner to scan trills.. The output of the scanner is the input of an Air gun;; I.e my scanner is an input and my air gun is the output So this is how my process works. I am scanning trills,, when a trill passes in front of a scanner, an output is given by my scanner to the Plc,, and when there is no tray no output is given to Plc,, now what I want to do is that for the trills which are slightly longer, I want my air gun to blow them away,, Now in that case the output is gonna be given by the scanner to the plc for slightly longer time,, maybe a few milliseconds longer than the ideal case(where the trill is of perfect size) What I want to do is that my air gun shall only operate when an output of the scanner was given for that’ slightly longer time, in all other cases the air gun shall stay de-energied.. I am having confusion with how to write code in between them I have mapped my scanner to x1 input on plc and air gun to y1 output. So [XIC]energise>> ()y1 I am having confusion on what to put in between if like timers how do I measure such precise time difference and how do I Initialisé my gun with scanner input and what to do to reset it again after once it was used and held for few seconds..

  • @ACCautomation

    @ACCautomation

    6 жыл бұрын

    Hi Arun, It sounds like you need a shift register. The input to the shift register will come from long trill, that needs to be rejected. Here are a couple of examples: accautomation.ca/plc-programming-example-shift-register-conveyor-reject/ Video: kzread.info/dash/bejne/fWWemKqvfqmTZdY.html accautomation.ca/plc-programming-example-sorting-station-shift-register/ Video: kzread.info/dash/bejne/i4GglKaJncLfkbg.html Hope this helps you out. Regards, Garry

  • @arundhillon6341

    @arundhillon6341

    6 жыл бұрын

    Thank you so much sir,, it all worked out,, thanks for your support and great work

  • @ACCautomation

    @ACCautomation

    6 жыл бұрын

    Thanks for the comments Arun. I appreciate them. Garry