Factory IO tutorial Automated Warehouse | TIA portal | S7-1200 PLC

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone in today's video we will be solving the scene automated Warehouse in Factory IO let's check out how I programmed to solve the scene I made a reusable function block for the whole stacker crane let's open it up and see how I programmed it it have a lot of rungs of codes so I split it up into two different sequences one for loading the pallets and one for unloading them the loading sequence starts from step one and ends at step 11. and the unloading sequence starts from Step 20 and ends at step 30. at step 0 is where the whole sequence will set itself as active to set the load sequence active we need to make sure the unload sequence is inactive and I made an integer tag name storage shelf value that will keep track on how many shells been loaded with pallets it had to be lesser or equal to 54. once all those criterias are true it will wait for the start signal which it gets from when the a load sensor is occupied and once I set the load bit for my HMI then the sequence will be set as active and it will do so until the sequence is done big gets triggered the whole Warehouse have 54 shells in total that we can use to store our pallets for each sequence cycle we will add 1 to the storage shelf value so it keeps track on how many pallets been stored then it moves to the next step I made the sequence so that the actuators will be set or reset here and the transitions will happen here until the right sensor gets triggered so for example in Step 1 the forks will go left and do so until the left sensor is occupied then it moves on to the next step and each step is built up the same way at step two the lift will lift up at step three the forks will release itself at step four the lift will release itself at step five we will use the storage shelf value it's the one that we add one value to for each sequence cycle then move it into the Crane's Target position it will make the crane go to the Shelf number it's given from 1 to 54. at step six the lift will go up at step seven the forks will go right at step 8. the lift will release itself at step nine the forks will release itself at step 10. we will give the target position value one hundred if we give the target position any value higher than 54 it will automatically go back to its home position and the last step is step 11. this is where the sequence is done and it will pulse out a signal to let the sequence active step know it's done let's check out how the unload sequence is made to I made it very similar to the other one first we got this Step Zero that will set the sequences active to do so we need to make sure the load sequence is not active and the storage shelf value tag should be higher or equal to one then to start the sequence cycle we need to change to unload on the HMI and also be sure that the unload sensor isn't occupied then if all those criterias are fulfilled the sequence will set itself as active until the sequence is done bit pulse itself the unload sequence will start at step 20. and at this step the first thing it will do is to take the previous counted storage shelf value from the load sequence and move it into the target position at step 21 the forks will go right at step 22 the lift will go up at step 23 the forks will release itself at step 24 the lift will release itself at step 25 we will move the value 100 to Target position to make it go back to its home position again at step 26 the lift will go up at step 27 the forks will go right at step 28 the lift will release itself at step 29 the forks will release itself step 30 is the last step and at this step we will subtract one from the storage shelf value to let the next sequence cycle know which shelf it should unload next then it pulls out the sequence's done signaled to make the sequence Loop itself again okay this is the function block I made for the conveyors let's open it up and see how I programmed it too the entry and load conveyor will start and latch itself if the entry sensor gets occupied and if the store shelf value is other than 54. and they will be latched until the upload sensor gets occupied and for the unload and exit conveyor they will latch themselves once the unload sensor gets occupied and will do so until the pallet left the exit sensor now that we've gone through all programming let's run the scene while monitoring it from Tia portal the palette will stop here and wait for my signal from the HMI foreign thank you [Music] thank you let's try to set the unload button from the HMI the load sequence will first complete its tasks before it will start unloading [Music] [Music] let's put it back to load mode again foreign [Music] [Music] [Music] [Music] all right it will keep on going until it loaded up all 54 spots as you will see now once the 54th palette will load the warning indicator on my HMI will turn red and the load conveyor will stop [Music] [Music] so now I will have to unload again [Music] [Music] foreign [Music] thank you for watching this tutorial if you liked the video give it a thumbs up and subscribe
Info
Channel: Technical Mindshare
Views: 5,490
Rating: undefined out of 5
Keywords: Factory IO, Factory IO Automated Warehouse, Automated Warehouse Factory IO, Automated Warehouse Tutorial, Factory IO Automated Warehouse Tutorial, Factory IO tutorial, Automated Warehouse, TIA portal, PLC Programming, Factory IO Software, PLC Tutorial, PLC Training, PLC Basics, Factory IO Examples, PLC for Beginners, Factory IO Setup, PLC Programming Examples, PLC Logic, PLC Programming Tutorial, Siemens S7-1200, TIA Portal Software, Advanced PLC Programming
Id: rxhT0Oh_rJY
Channel Id: undefined
Length: 13min 10sec (790 seconds)
Published: Wed Sep 20 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.