Siemens S7 TIA Profinet

Home / FactoryTalk Optix / PLC Communications

Description
Demonstration of using FactoryTalk Optix to interface with a S7-1200 or S7-1500 PLC using the S7 TIA Profinet communication driver.


Transcript
(00:01) in this video I wanted to show how we can connect Optics to a seaman S7 uh 1500 PLC in this case I’m going to use the uh Tia portal s the s7500 and then use the uh the S7 PLC Sim Advanced Simulator to uh to allow me to download some logic and connect Optics to to do some testing so basically to kind make this work I I do have my uh PLC simulator S7 simulator up uh I’ve got a CPU created with an with kind of the default IP address going here and I got that uh that system running and then real simple logic of course here just for
(00:49) demonstration A Simple Start stop circuit and then I also have a couple of tags um that are going to be attached to a slider where I can watch them um kind of watch them um update as I move it in Optics so I’m going to go go online with my um Seaman TI portal and uh go back to my logic here and we’ll go into monitor mode I think this bigger we’ll go back to the tags and we’ll monitor there too so we can see our tags changing now go to Optics so kind of have a uh kind of the basic project going here the default project um first
(01:44) I want to show that uh anytime you need help inside of op Optics you can just hit this question mark and that’ll bring up the help file and just to show you some information on the drivers we click on creating project here we can go to communication drivers drivers overview and then we’ve got the S7 TCP driver and the Tia profet driver so there are two seen drivers so the uh the S7 TCP driver will support the 1200 1500 the 300 and the 400 series whereas the profinet driver will support the 1200 and the 1500 so I’m going to go with configure
(02:30) configure Communications I’m going to say New Station I’m going to go ahead with the Tia proy net station hit next I’ll type in the IP address of our Simulator the port at 102 now I can rename this as again this is just a name for the CPU itself I can just type in PLC Sim and hit next so like we saw saw in some previous videos for the for the um you for the control Logics when we’re doing our control Logics and in logic Echo we have the ability here to do offline tag Imports or we can do online because this this does support online tag Imports so
(03:17) when I switch the online we see that it pretty much instantly populated all the tags that are currently in that controller so again if I were to come back to my Tia portal start stop running slider one slider two go back to Optics and it found all those so I can click this box hit next and that will import the tags so back over here in our project view we see com drivers S7 TI pery net we can kind of expand this out and we’ll see that all my tags have imported so I’m just going to go up to the UI for user interface I’m going to
(04:03) go to main window and I’m just going to drop a few things on here real quick just to kind of show um just you know just to kind of prove out that this actually works with the simulator so I’m going to uh right click I’m going to say new base controls we’ll start with an LED just to kind of show that the that the pump virtual pump there is actually running um I’m going to go ahead and add uh we’ll go ahead and add a um base controls we’ll add a switch to kind of start and stop I will also add a base control and a linear
(04:50) gauge now I’m going to do a copy paste once I kind of set these up just to save a few minutes uh but we’ll come to our LED first uh want it to be active so to make it active we can uh we can change this Dynamic link click on this we can scroll down until we get to our com drivers go to tags PLC table and we’re going to show that says running that way that led will light up when we’re running um for our for our slider switch here we’re going to go to checked we’re going to for under switch here we’re going to choose oops uh we’re going to choose the
(05:39) Dynamic Property and we’re going to come down count drivers again tags PLC table this I’m going to do start I’m going to right click this say copy paste this time makes it a little bit quicker it brings it right to uh the tag there and I can say stop one more thing to do is I’m going to set up these two sliders I’ll create one here first and copy it and basically I have a um the slider graph we see to come to Value we’re going to tie the dynamic link to the tag in this case I want to tie it to slider one tag which is an integer value
(06:30) [Music] tag and I’m going to go ahead and copy and paste try that again copy paste and update the dynamic link to V slider 2 so I built a real quick screen and just just a matter of a few minutes I’ll go ahead and save this um and I will start my emulator which will basically be uh the Optics uh screen running that I can actually test it I’m going to minimize my Optics studio and first I want to show the slider one slider two so again I have my my two tags here slider one slider two inside my uh s7500 PLC so if I take
(07:26) slider one and change it we see that the value is updating and if I take slider two and change it we see that the value is updating now we’ll come back to our our main ob1 and if I bring my if I bring my uh Optics window here I’m going to turn it on so there it was I turned on the bit turned on the running bit that that turned the LED on since this is a u a toggle slider I have to go ahead and turn it back off to bring it back to zero and then I’m going to go ahead and toggle on uh the stop which was tied to this one here so when I did that that
(08:16) drop out the stop bit uh the running uh coil and led dropped out so real quick real simple just a matter of a few clicks and a few minutes and I was able to kind of connect Optics to my Seaman s7500 simulator