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?
@electricalautomation3 жыл бұрын
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.
@genantamtam93643 жыл бұрын
@@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.
@electricalautomation3 жыл бұрын
@@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.
@nicoladelcolle38334 жыл бұрын
It is possibile to use this library for a connection client? No plc
@electricalautomation4 жыл бұрын
Yes, This demonstration shows the Excel running as OPC UA Client, it can connect OPC UA Server evenif it is not a PLC.
@phaman6952 жыл бұрын
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?
@electricalautomation2 жыл бұрын
I think it could be. You could test it.
@leonardonieto4917 Жыл бұрын
Thank you very much for your video it was really helpfull greetings from mexico gracias 🙏
@electricalautomation Жыл бұрын
Glad it was helpful! Welcome!
@geokou184 жыл бұрын
you rock man!
@electricalautomation4 жыл бұрын
Thanks!
@ikkusoft3 жыл бұрын
Thank you, Great tutorial. Can u do video on How to Get the values to MsAccess database using this Library?
@electricalautomation3 жыл бұрын
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.
@rangaswamy86044 жыл бұрын
Please do a video on getting data into OPC UA from RS232 devices.
@electricalautomation4 жыл бұрын
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з3 жыл бұрын
Thanks.👍👍👍
@electricalautomation3 жыл бұрын
Welcome 👍
@satheeshkumaran2744 жыл бұрын
HI, What Liscense should I have to install for the OPC in TIA?
@electricalautomation4 жыл бұрын
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.
@satheeshkumaran2744 жыл бұрын
@@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
@electricalautomation4 жыл бұрын
@@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!
@claudio13713 жыл бұрын
Thanks
@electricalautomation3 жыл бұрын
Welcome
@revolver2329 Жыл бұрын
does it work with any plc or only with s7-1500 ?
@electricalautomation Жыл бұрын
Any PLC with OPC UA functions, they should work.
@YMM_Play-Learn3 жыл бұрын
When i complete path for opc.excel but can't getendpoint ,pop up error Please advice
@electricalautomation3 жыл бұрын
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
@gabbermafia22 жыл бұрын
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?
@electricalautomation2 жыл бұрын
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.
@gabbermafia22 жыл бұрын
@@electricalautomation the problem is in excell saying "microsoft visual basic, class not registered. Runtime error"
@electricalautomation2 жыл бұрын
@@gabbermafia2Pls check the library register from 5:15.
@gabbermafia22 жыл бұрын
@@electricalautomation Got it solved, i have redone the registration via cmd again and now it works.
@electricalautomation2 жыл бұрын
@@gabbermafia2 Glad it got solved
@joonchoi54192 жыл бұрын
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).
@electricalautomation2 жыл бұрын
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.
@joonchoi54192 жыл бұрын
@@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!
@electricalautomation2 жыл бұрын
@@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.
@joymohadani93662 жыл бұрын
Pls help it's showing run time error
@electricalautomation2 жыл бұрын
Please make sure the runtime register was done correctly around 8:00
@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 Жыл бұрын
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.