COM03. OPC UA - Microsoft Excel (OPC UA Client) and PLC (OPC UA Server)

  Рет қаралды 38,712

Electrical Automation Hands-On

Electrical Automation Hands-On

Күн бұрын

Пікірлер: 50
@BallAndBeam
@BallAndBeam 4 жыл бұрын
Best tutorials of automation, Thank you!
@electricalautomation
@electricalautomation 4 жыл бұрын
Thanks, Happy New Year!
@genantamtam9364
@genantamtam9364 3 жыл бұрын
One question... do i have to create server interface? 10:17 I heard that OPC works even without any server interface. It's enough to check ✔ the "access to OPC" Mark in the tags in DBs. Is that correct?
@electricalautomation
@electricalautomation 3 жыл бұрын
I would recommend the manual "support.industry.siemens.com/cs/document/109775168/opc-ua-server-of-the-s7-1200-cpus?dti=0&lc=en-WW". Also I recommend using server interface if you are using S7-1200. For S7-1500, making OPC in DB and Server interface all workable.
@genantamtam9364
@genantamtam9364 3 жыл бұрын
@@electricalautomation Thanks for taking your time and sending me the manual. Yes iam using S7-1500 in TIA Portal v14, in that case i dont need to create "Server interface"? So the Server interface is only a tag talble to external communication right? what if i USE server interface in s7 1500 and put some tags there, will the other tags outside the interface not communicate with external comunnication? Thanks again for the professional way of explaining, i will hit the subscribe button.
@electricalautomation
@electricalautomation 3 жыл бұрын
@@genantamtam9364 For new version S7-1500, using server interface and DB OPA UA check both work. Personally I recommend using a server interface. However, TIA Portal V14 and its supported hardware firmware are a little bit old, I am not quite sure the specific firmware functionalities. how about do a quick try and see which way works better for you. I think both ways workable. Thanks for subscribing.
@nicoladelcolle3833
@nicoladelcolle3833 4 жыл бұрын
It is possibile to use this library for a connection client? No plc
@electricalautomation
@electricalautomation 4 жыл бұрын
Yes, This demonstration shows the Excel running as OPC UA Client, it can connect OPC UA Server evenif it is not a PLC.
@phaman695
@phaman695 2 жыл бұрын
I appreciate your video very much, can I ask, can I use 2 software on the same computer with the same OPC server (PLC) at the same time?
@electricalautomation
@electricalautomation 2 жыл бұрын
I think it could be. You could test it.
@leonardonieto4917
@leonardonieto4917 Жыл бұрын
Thank you very much for your video it was really helpfull greetings from mexico gracias 🙏
@electricalautomation
@electricalautomation Жыл бұрын
Glad it was helpful! Welcome!
@geokou18
@geokou18 4 жыл бұрын
you rock man!
@electricalautomation
@electricalautomation 4 жыл бұрын
Thanks!
@ikkusoft
@ikkusoft 3 жыл бұрын
Thank you, Great tutorial. Can u do video on How to Get the values to MsAccess database using this Library?
@electricalautomation
@electricalautomation 3 жыл бұрын
I am not familiar with MsAccess. I would recommend you could use the OPC/OPC UA software running as the interface between PLC and MsAccess.
@rangaswamy8604
@rangaswamy8604 4 жыл бұрын
Please do a video on getting data into OPC UA from RS232 devices.
@electricalautomation
@electricalautomation 4 жыл бұрын
Hello, you could use S7-1200 runs as a bridge, RS232 device S7-1200 + RS232 Signal board, then S7-1200 runs as OPC UA Server to communicate with any other OPC UA Client. S7-1200 PLC can play diversities roles, it is real handy controller with cost effective price.
@РусланЖаныбеков-ч7з
@РусланЖаныбеков-ч7з 3 жыл бұрын
Thanks.👍👍👍
@electricalautomation
@electricalautomation 3 жыл бұрын
Welcome 👍
@satheeshkumaran274
@satheeshkumaran274 4 жыл бұрын
HI, What Liscense should I have to install for the OPC in TIA?
@electricalautomation
@electricalautomation 4 жыл бұрын
As I know, likely there is no physical file needed to be in TIA Portal. The license is a certificate paper. For more specific, I would recommend asking Siemens support.
@satheeshkumaran274
@satheeshkumaran274 4 жыл бұрын
@@electricalautomation Thank you! and I made it work now, Further if I use UDT in the excel at read struct udt tab the values are not updating cyclically.? any suggestions
@electricalautomation
@electricalautomation 4 жыл бұрын
@@satheeshkumaran274 I didn't try UDT in the list before. But if you find once you use the udt, then the communication will not work, then you'd better use a normal way. I recommend that not paying to much time on this try, because it might be the limitation on the current firmware of the CPU. Good luck!
@claudio1371
@claudio1371 3 жыл бұрын
Thanks
@electricalautomation
@electricalautomation 3 жыл бұрын
Welcome
@revolver2329
@revolver2329 Жыл бұрын
does it work with any plc or only with s7-1500 ?
@electricalautomation
@electricalautomation Жыл бұрын
Any PLC with OPC UA functions, they should work.
@YMM_Play-Learn
@YMM_Play-Learn 3 жыл бұрын
When i complete path for opc.excel but can't getendpoint ,pop up error Please advice
@electricalautomation
@electricalautomation 3 жыл бұрын
Use another OPC UA Client software for a test, e.g. UaExpert. Review every setting shown in the video. Also, turn off the windows firewall and anti-virus software
@gabbermafia2
@gabbermafia2 2 жыл бұрын
i'm having a problem when i want to get the endpoints in excell, i did the command prompt, i enabled the opcua in tia portal and i have made a opcua server. do i need to do anything else?
@electricalautomation
@electricalautomation 2 жыл бұрын
You could use UaExpert OPC UA Client software for a test, then you could have a rough idea if the Excel side has issue or you server side has issue.
@gabbermafia2
@gabbermafia2 2 жыл бұрын
@@electricalautomation the problem is in excell saying "microsoft visual basic, class not registered. Runtime error"
@electricalautomation
@electricalautomation 2 жыл бұрын
@@gabbermafia2Pls check the library register from 5:15.
@gabbermafia2
@gabbermafia2 2 жыл бұрын
@@electricalautomation Got it solved, i have redone the registration via cmd again and now it works.
@electricalautomation
@electricalautomation 2 жыл бұрын
@@gabbermafia2 Glad it got solved
@joonchoi5419
@joonchoi5419 2 жыл бұрын
Hey man, thanks for your awesome tutorial. I've been using this library since 2021 and everything seems to be ok except for a little issue I have. for some reason the excel client seems to crash every 3-4 hours a day and the only work around I have is to manually reconnect to the database. I'm currently using WinCC Unified Runtime v17 (OPC UA Server) running on Windows Server 2022. Have you ever had the same issue like mine? I am using an allen bradley PLC as well and everytime this happens I can see crash logs for Excel.exe and WCCILpah.exe (libAllenBradleyEip.dll_unloaded).
@electricalautomation
@electricalautomation 2 жыл бұрын
Hi Joon, I didn't have this issue. Sorry for hearing this issue. May be you could try to use VB script to 'save as' the excel every 2 hours. also try to increase the RAM of your computer.
@joonchoi5419
@joonchoi5419 2 жыл бұрын
@@electricalautomation My RAM's 16GB I think i have enough ram, about saving, I think excel itself does auto saving quite often so I'm not quite sure your suggestion to 'save as' by VBS may help. I can try regardless. Thanks!
@electricalautomation
@electricalautomation 2 жыл бұрын
@@joonchoi5419 Except the software compatibility issue, I am slightly concern the buffer of the Excel is gradually increased. So "save as"/ or close-reopen can alternately release the RAM resources.
@joymohadani9366
@joymohadani9366 2 жыл бұрын
Pls help it's showing run time error
@electricalautomation
@electricalautomation 2 жыл бұрын
Please make sure the runtime register was done correctly around 8:00
@virlocloic
@virlocloic Жыл бұрын
Hello. I am using an B&R OPC server I know that the certificat for the connection should be tranfert. Is it automatic. By clicking on "get point" I have an error message. Erreur d'exécution '-2147221164 (80040154)':
@electricalautomation
@electricalautomation Жыл бұрын
You could use another OPC UA Client for a test to connect your B&R OPC Server. This can validate if the problem comes from client or server.
@leozhou65
@leozhou65 3 жыл бұрын
您是中国人吗?
@electricalautomation
@electricalautomation 3 жыл бұрын
我是中国人,北京人
@leozhou65
@leozhou65 3 жыл бұрын
@@electricalautomation 谢谢你的回复,你的视频做的非常好!
@electricalautomation
@electricalautomation 3 жыл бұрын
@@leozhou65 欢迎!多谢!
@rudishen2222
@rudishen2222 2 жыл бұрын
@@electricalautomation 谢谢!Good Job! 我也刚想问,听得出来
COM02. OPC UA - Three OPC UA Client Tools For Free
16:39
Electrical Automation Hands-On
Рет қаралды 19 М.
TIA Portal: S7-1500 OPC UA Client Interface Tutorial
15:14
System-Restored
Рет қаралды 26 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 23 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 942 М.
Каха и дочка
00:28
К-Media
Рет қаралды 2,2 МЛН
What is OPC UA |How it works ? Tutorial for Beginners
10:02
IT and Automation Academy
Рет қаралды 111 М.
Intouch SCADA and Siemens S7 300 PLC communication via OPC Server Kepware
15:30
IT and Automation Academy
Рет қаралды 40 М.
OPC UA Lesson 1- What is OPC UA?
12:52
Rajvir Singh
Рет қаралды 137 М.
COM05. Connect Siemens PLC to KEPServerEX (Kepware)
26:45
Electrical Automation Hands-On
Рет қаралды 21 М.