How to connect siemens plc to kepware KEPserverEX OPC UA server ( TIA portal - Ethernet / IP )

  Рет қаралды 6,953

Technical Mindshare

Technical Mindshare

Күн бұрын

Whatsup everyone. In this video we will go through how to connect a siemens s7-1200 plc with TIA portal to an OPC UA server ( Kepware KEPserverEX ) using ethernet/IP
-- Useful links --
► www.ptc.com/en...
► support.indust...
-- Link to my channel --
► / @1lovgren

Пікірлер: 16
@mini-momentclips
@mini-momentclips 8 ай бұрын
Thanks for sharing Keep uploading helpful tutorials❤
@gowthampavanaskar1889
@gowthampavanaskar1889 8 ай бұрын
Very good, Thank you for sharing
@jorgeavalos4429
@jorgeavalos4429 3 ай бұрын
Thank you! Seems straight forward, imagine this.. The plc has its own internal ip, 192.x.x.x.x then I plug an ethernet cable with company ip.. Let's say 10.30.50.x so would that affect anything and will still find it? The kepware computer is in another building and not directly connected to the plc. What ip should I put in the kepware channel device thing?
@1lovgren
@1lovgren 3 ай бұрын
Hey! Thats a good question. I been thinking about the same thing but going through a virtual machine. Haven't tested it out yet myself so cant answer for sure but I would believe that the PLC need to be in same subnet range ( the first 3 parameters (192.168.50).x for example ) as your company IP. But I cant say for sure sorry. I will test this out later at some point when I get enough time. If you test it out before me and get it working I would love to hear from you!
@jorgeavalos4429
@jorgeavalos4429 3 ай бұрын
​@@1lovgren thank you! And yes let's see what you come up with, I'll also test on my side, I think I have to add a allen Bradley stratix switch, which basically does a nat 1to1 and ip translation, like a guy in the middle that makes 3 dif ip families talk to each other.
@SXRacer519
@SXRacer519 2 ай бұрын
@@jorgeavalos4429 I'd imagine you figured this out already, but for anyone else that stumbles across this: My PLC is on a separate VLAN/network and connects via a Cisco Managed Switch via the X2 port to a common network path for HMI connectivity with all PLCs in the plant. I was able to connect to my PLC across the gateway just fine, using the IP for port X2.
@jorgeavalos4429
@jorgeavalos4429 2 ай бұрын
@@SXRacer519 hey!!! i'm still messing with this thing hehe, thanks for the reply, any chance you could make us a vid tutorial dude? I normally record with power point has a free option to record the whole screen for free!! lol, also having the same issue, with a beckhoff plc using twincat3, funny that I can ping and do stuff in one building that is 10.30.40.xxx but if the PC is at building that has 10.30.17.xxx I cant see beckhoff devices :/ and IT dep is struggling to see this trough .....
@SXRacer519
@SXRacer519 2 ай бұрын
@@jorgeavalos4429 So a couple of things to check or have IT check, I don't know how big your IT department is as a whole or how intense your networking is, but to cross IP ranges that big you need to make sure your subnet allows that difference. I am far from well enough versed to say exactly what it needs to be, but if you're 255.255.254.0 it may or may not work, you could try 255.255.0.0 to see if that works, or get a number from your networking guy. I apologize if you know more than me already on this, but basically the subnet only allows a certain variance (to my understanding) depending on the binary value. so 255 means it has to be identical, and 254 allows a certain variance. 0 is anything goes, so last number has to be 0 more or less if you're using the full range. Another thing is your gateway setup; our managed switches/VLAN's use a gateway, generally the xxx.xxx.xxx.1 of each VLAN/IP range, and that allows cross plant connectivity. Ultimately your network switch should have a gateway setup, and the PC you're using should also have this under its IP settings. In my Siemens PLC, under the ethernet setup page there is an option for a "Router" which has to be filled in with the gateway IP, otherwise I can't ping my PLC from a different IP VLAN in my plant. It's possible your Beckhoff has a similar setup and that just needs to be filled in to allow you to ping across gateways, I'm not very familiar with Beckhoff as our use is very minimal and more black box than the rest of our plant. Third thing, you need to have your IT/Network guy make sure that there is connectivity between your 10.30.40.xxx and 10.30.17.xxx through the switch settings. It's possible they have this blocked, but if you can ping other things from that range, that's probably not the issue, I'd lean towards it being a gateway setup within the Beckhoff PLC or your Siemens PLC.
@archiehoo
@archiehoo 4 ай бұрын
I have a LReal data, but i don't know how to write kepserver address,can you help me😢
@John-j8q7g
@John-j8q7g 12 күн бұрын
what if I don't have a real PLC can I do this with simulation and how, please? and thanks for this great explanation.
@1lovgren
@1lovgren 10 күн бұрын
Hey I haven't tested that out yet. But if you have the TIA portal PLCsim advanced it will work for sure. But unsure about the basic edition.
@dysothearak9129
@dysothearak9129 7 ай бұрын
Can you tell me how to fix when it's bad quality and it's unknown
@1lovgren
@1lovgren 6 ай бұрын
Hey, it could be many reasons gotta make some troubleshooting to find out. Check the easiest things first like IP address should be in same subnet range on your PC as PLC etc.
@ejpixo
@ejpixo 4 ай бұрын
But movie is not about OPC UA connection but about Siemens driver connection by TCP-102
How to connect mitsubishi PLC to Kepware OPC UA server
8:06
Technical Mindshare
Рет қаралды 3,1 М.
COM06. Connect Excel to Siemens PLC via DDE of KEPServerEX (Kepware)
21:10
Electrical Automation Hands-On
Рет қаралды 5 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
TIA Portal: S7-1500 OPC UA Client Interface Tutorial
15:14
System-Restored
Рет қаралды 26 М.
PirateSoftware is right, this needs to stop
15:14
Theo - t3․gg
Рет қаралды 416 М.
What is OPC UA |How it works ? Tutorial for Beginners
10:02
IT and Automation Academy
Рет қаралды 112 М.
COM05. Connect Siemens PLC to KEPServerEX (Kepware)
26:45
Electrical Automation Hands-On
Рет қаралды 21 М.
Kepware Setup with the AB PLC via Ethernet
7:03
John Kula
Рет қаралды 36 М.
Tutorial: Getting started with TF6100 TwinCAT 3 OPC UA Server
9:33
Beckhoff Automation
Рет қаралды 1,2 М.
OPC UA Lesson 1- What is OPC UA?
12:52
Rajvir Singh
Рет қаралды 137 М.