2.0 Interfacing Weintek HMI with Siemens PLC

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] in this video we will talk about how to interface wine tech H my model CMT 3:07 one with Siemens PLC s7 1200 and the good thing about this HMI is it supports one click PLC tag mapping this will help to tag the PLC tags very quickly and flexibly with the HMI so let's see very various steps involved in linking the PLC with the HMI so let's see what other hardware required in this case you need a PLC of course so I'm using s7 1200 Siemens PLC and then you need an HMI so I'm using the model CMT 3:07 one with that you need an Ethernet cable to link that together and in the software you need easy builder pro this is a software from vine tech and you can also download it for free and you can also practice your edge of my screens here and then you need C Mencia portal and aversions because you need to make a PC program for your Siemens alright so let's see what are the radius steps step 1 it says you have to configure the PLC and write a program now to configure the PLC I mean there is an option in the PUC you have to permit access via podcast communication so if you see this here you have to enable that alright and then you have to make a PLC program so let's do this simultaneously so I'm going to I'm going to make this screen like this and we go to tier folders so the first time it says I have to configure the PLC and write the program so there's this option you will find in the controller if you go to device configuration this is your controller here and if you go to its properties here you can see the protection just go to the protection in the controller properties and if you drag down you will see this option here you have to check this alright this is mandatory for flexible communications and then you have to write a logic in your PLC if you see I have made a very simple basic logic I have an input read input contact it is energizing a timer and timer has time right now two seconds 500 milliseconds and it is energizing an output which let's say it's a murder so I'm using a data block here so if you see my data blog it has an input I start and I time is a parameter to enter the time then queue time is a time which is running in the timer and queue motor which is the output that's here so I'm using this db2 link with my PLC program and then I have readwrite value function this is just a small function to move the value from DB to my PLC tag okay so this is a very basic basic program this is just for explanation that how you can link it now if you if you notice my tags here if I show you all my tags I just have one tag which is a queue motor and output tag and less of the tags I have it in my DB all right now I will just would like to download this program again in my PLC so this this was my program download the device and hardware and software and I would like to check my PNC IP address just in case you can see in the video I'm using this PLC and thus PLC has an IP address I need to cross-check 1:07 actually 1:07 and I have to download this to my controller if you if you are pretty much aware of Siemens PLC programming this would not be a big task you just have to download the logic so this is downloading the logic so now my PLC has this logic right here okay so if I go to online again and just to make sure if you can see the status on the output I will actually I will energize the input input is on timer is running and you can see an output is turned on in my plc the first output okay this is v8 what we are going to do from the HMI now so coming back to the presentation we use the program we have made now the next step is say set up the DB or demise block access alright one more thing if you're going to access the DB in your age of mine the wine takechi my I'm going to go to the properties and I have to disable this optimize by default it will be enabled this is by default you have to check it out okay this is required because we are doing absolute addressing okay now this is this is this is showing some symbols because we made some changes but let's make sure nothing is changed so I'm going to download this again it will initialize shalini now I will tell you why we do that in the DB we have two types of addressing symbolic and absolute and if you see here if you are tagging your DB tags using this names like I start I time this is called symbolic addressing but if you are referencing these tags using this offset this is called absolute tagging absolute addressing so in this case we are going to use absolute addressing okay I will tell you where this option comes in the HMI but you have to make sure your DB and should not be optimized it should be unchecked okay this was the second second condition and it also says this will activate the offset addresses in DB so you can see that if this is not checked you have this offset addresses here so these second step is complete let's move ahead third step it says add the wise and easy builder pro and you have to select the controller from the list so now we go to easy builder browse often our PLC programming is running so I will make a new file and I will select my HMI model which is this one this is the HM I'm using quick okay and now this is the first pop-up which will come and this your HMI is located in the devices now we need to add one more device because we are working with the PLC so let's add a new device now here you will find all the controllers they have 300 plus PNC controllers so I will go to Siemens although the Siemens is by default selected but I just want to show you Siemens is here not the Siemens these are the various options you can link you have Siemens 403 with 200 and then 1200 and of course 1500 so I would select s7 s7 1200 and 1500 absolute addressing okay this will help me to link my DB quite easily so I go with absolute addressing and I have to check my IP addresses now the IP address of my PLC not the PC so I'll cross check again this IP addresses 192 168 I can maybe show you here one line 2 1 6 8 1.1 0 7 so going back here and go to settings here we will select 1 0 7 so this is the IP address make it default 1 0 2 port is default for our Siemens PLC so this IP address is added click OK and click OK so your device is added here now the next step is let's go back to the presentation we have added the device now we have also added the IP address port number now we have to add the tags using one click tag function now what is that that's mini-monsters again now here you will find import tags ok click on import Tides now this is if you remember if you know these are the extensions of PLC program for Siemens ok if you want to a be 1 3 1 4 1 5 despite this option you can upload the Siemens PLC program into the HMI just to get the tags ok and these are the extensions for SC l and DB database if we have these files you can also do that but to make it easy I will use this function so click OK and now it is asking me for a PLC program okay now PLC program is currently running so I have to close this so I will save this project so this is located here and textile project demo project close this because otherwise you cannot import the tags so I will go to my pin C program so it was indexed top project Mayan tech demo program 1.1 here so this will automatically select the tax you can see that all the tags are now here oh I think this is this is a wrong project hold on a second import tags okay maybe project one now here you can see these are the tags I start I time cuter and cue motor and this was the force only tagging PLC so you can select which tags you want to import I would prefer to select all of them so just click here once and click OK save into library yes import successfully now the tags are imported this was the very simple option how you can import the tags because otherwise you may have to write each and every tag so this saves a lot of time click OK and now the tags are imported now we will design the screen so just for your explanation I would like to have a white background now what we gonna do is we are going to open the TI portal again because I want to show you what we are going to do exactly basically we need a switch to actuate the input so let's open this program project view so coming here again programming block main program so here if you see here we have first input as an anal contact so I will take a switch to actuate this input then I need a time input to enter the time and I need it I need an output to actuate the motor all right and I also want to display the time so in this case it's very simple you just have to go to objects here you'll find all the objects okay you have shapes you have picture you have table you have different elements and then you have switches so I have already made this made this edge of my screen but just to show you an example I will just take one button here toggle switch and now it is asking for addressing okay so what you have to do is go to settings and go to tag library and I want to select my input this is my input like okay click OK and click OK very simple you have your switch here okay now let's just try to put this in the HMI and see how does it affect the program but before putting in the HMI I can also simulate that this is also the beauty of the software you have a simulation so I will save this project by name project tool so it will compile the project and then it will show you a simulation window where you can actuate the switch so I will open the PLC program and this here as well notice the time is 0 milliseconds so outer will be on immediately so when I click this one the output is on you can also see the output on the PLC but this is just using simulation this this will make me sure that yes my HRM program is good I can download it alright this is a simple example now I will open my project which I have already made just to save the time and I will go to file and my project one should be here so this is the project I have made similarly and I have a switch with some text here and this text you can take from here if you go to object you can use the text and you can make this black rectangle from here this is the switch and this is the numeric entry you can also take this from here numeric and this is a meter you can also display some meter which should not be a problem and we have to look for where we can find a meter shot yeah you can find some meter display from here all right and this is a graphic this is a graphic of a motor you can have it from the picture library because this software has a very very huge picture library I will show you once if I go to picture and if I go to visual library and these are the various libraries we have here so I have added more libraries for for motor I can show you here so I have different types of motors here yeah this one I took this motor because this motor has two states this is a zero state and this is a state one so you can use this motor and you can simulate the motion of the motor in the HMI so once again I will just again go to project and online simulation and one more thing I have to make sure before I go to simulation I need to check my Siemens PLC parameters so this is 100 I was changed to 107 so every project has a device configured in that so this is the new project which I opened and I was just checking my PLC all right let's go to online simulation again to check if everything looks ok and then we will finally download it into our H mind so here you can see that the time is 0 millisecond I'm going to change that to let's say 2500 this is a millisecond and price enter and you will see 2 second 500 millisecond time is entered pressing the input and now the time started meter is running at 2.5 output is on and you can see that motor is running here so here I can stop it I can change the time immediately to one second start the motor the motor will be on after once again you can see that meter and you can see the motor and simulation so when everything runs fine I'm pretty much confident now manage my project is great so go to your project and then you have to download pc to HMI now in this case my H my is connected at this Ethernet port one 92168 art 1.10 three I have shown you in the video one how we can configure that so if you want you can again search and it will update which HMI are available in my local network so this is available click download so it will compile the whole project again and it will download it to your HMI so we have to wait a couple of few seconds before it download and we can see in our HMI it says stop project now and it is downloading the project you can see the status here 45 46 so once it's completed we will check the operation so it is almost downloaded you can see on the HMI it says wait for project ready and once it's ready we can actuate it so my project is in the HMI I can close this and now you can see the status here you can also see the status on my PLC what we just wait for the novice now you can see that the graphics are here now if I start the PLC again it is having 1000 milliseconds I will start it a meter is running and motor is on you can see that here it's quite pretty smooth simulation here I can also change the time now I have put 5 seconds all right the meter is completely at 5 seconds it's a full scale of 5 second I run the input the meter is running and after 5 seconds the output will be on like that okay I hope this video makes sense and you have understood how you can link the Siemens PLC with wine tech HMI and you can quickly target ask for your application so one last step which I wanted to explain this is what I have already explained down with the screen and run the last thing you should know how to download the screen while web interface now suppose you don't have to easy build a pro in your site and you just want to download the HMI everything is tested how you can do that this is using a vibe web interface now this is very a good feature of wine tech HMIS and their software now for example I make some changes interfacing wine tech HMI okay I will just change it to see MT 3:07 1 this model so I made a change in my project and I just have to save it I will save as a project 3 alright now once you made the changes you have to compile the project this is very important because when we combined the project we get a file with the extension is CX o beams I will compile this project and we need this file to use in our web interface nazi MTP so I'm going to compile this project the project is compiled it say succeeded close it now I will go to my web interface in project management users go to update project choose file and here you can find CX OB file in in EB project 3 that's my project click open and upload now this will upload the project from my computer to the web interface and from my web web interface to my HMI and this will take a couple of seconds and you can see the status here uploading 45% 52% so once it's fully uploaded you can view this project in your HMI so we'll see that ma needs once it's 100% so the project is uploaded and it will take a couple of seconds for HMI to extract it and make it usable so it says wait for project ready and we know that we have just made a slight change in the project I wrote the H my model number and we should be able to see that now all right you can see on the HMI the changes are here so this is one of the way you can update the program using web interface so just to verify I just like my input and after five seconds the output will be on okay so this was about how you can use wine tech HMIS CMD t071 and quickly interface with Siemens BNC using one-click tab and going back to my presentation this is all I have for this video one click is all it take to map Siemens PLC tags and if you need more information about this HMI or some tutorials or some manuals you can visit this website and the link of this website is also in the video description so thank you for watching I'll see you soon in the next video [Music]
Info
Channel: Rajvir Singh
Views: 24,604
Rating: undefined out of 5
Keywords: PLC Tutorials, PLC Training, PLC Simulator, PLC Projects, PLC Lessons, PLC Lectures, ''nfiautomation'', Weintek HMI, Weintek HMI cMT3071, Weintek HMI Lessons, Weintek HMI with Siemens PLC, Weintek HMI interfacing with Siemens, Weintek HMI with Siemens S7-1200 PLC
Id: 35CcTV63Brc
Channel Id: undefined
Length: 20min 39sec (1239 seconds)
Published: Fri Mar 22 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.