My OPC Client is an application for accessing OPC Server.
The features of this application:
1. List active OPC Servers in Local and Remote computer.
2. Connect to Local and Remote OPC Server.
3. Browse OPC Items.
4. Monitoring values of OPC Items.
5. Can write value to OPC Items.
Preview of My OPC Client
List OPC Server and Browse OPC Item
Add OPC Item to Monitoring
Set Monitoring On
Write value to OPC items
Value Changed from WinCC Runtime
==========================================================
My OPC Client v3
In this version, there are some modifications, ie:
> start connection to OPC Server with double-click, or via popup menu.
> a popup menu shows when right-click on OPC Server list, for Connect and Disconnect.
> fix a bug while try to browse OPC items.
> fix a bug while add OPC items to monitoring list.
> since version 2, My OPC Client can connect to multiple server and monitoring the values.
Here is a new display:
Here the links for latest My OPC Client (v3) :
for executable file of this program, click here..
for source code of this project, click here..
==========================================================
My OPC Client v4
In this version, there are some modifications, ie:
> DLL for Reference.
> repair Read button.
Note:
+ DLL file OPCDAAuto.dll must be registered in your PC. So we include a folder and there is a file update_OPCdaauto.bat to simplify the registration.
+ if your PC is 64-bit, please refer to this article, to register the DLL.
Here the links for latest My OPC Client (v4) :
for executable file of this program, click here..
for source code of this project, click here..
====================================
My OPC Client v5
Versi lanjutan dengan fitur Auto Read/Write to XML file, silahkan lihat disini:
http://hadiscada.blogspot.com/2015/08/my-opc-client-xml.html
========
My OPC Client v6
Versi lanjutan dengan fitur Export & Import Text file, silahkan lihat disini:
http://hadiscada.blogspot.co.id/2017/01/my-opc-client-v6-export-import.html
I am happy that this project (My OPC Client) is the most viewed article in this blog. Thank you.. :)
ReplyDeleteThere is a bug, My OPC Client can not read (browse) a tag which is located outside of group.
So, I edit a source code. In this sub program :
Private Sub treeOPC_NodeMouseClick
I remove this condition:
If e.Node.Nodes.Count = 0 Then
and its 'else' and 'end if'
Finally the program runs well.
I change this project from using VS 10 to VS 10 Express.
And I have updated the download link to the latest project.
Best regards.
Which opc server brands this program can read? Simens, Yokogawa, ...
ReplyDeletei have tried it to OPC server of WinCC Siemens, OPC Server of RSLinx Rockwell. I have not tried it on Yokogawa and others, but i think that is similar as long as that use OPC protocol.
DeleteThanks.
fauzan azima comment on 25 Mei 2015 05.47
Delete"its very simple OPC Client software,
i have tried with Yokogawa Stardom, and working good.
keep it up bro"
I have tried it on Kepware it worked.... but it is not able to connect to Remote Kepware. on local machine it worked perfactly... do you have any solution for remote kepware
DeleteSorry, the links are dead can you re-upload them ?
ReplyDeleteFrom here, all link is Ok. Please try again.
DeleteIve tried to check the links, but, both are down!
ReplyDeleteWe will try to send the files via email. Please send your email address to us here or to hadiscada@gmail.com
DeleteHow do you get your program to use the dll? I can't run the exe because it gives a Windows error, and the source code can't find 'Imports OPCAutomation'.
ReplyDeleteHi,
Deleteyou need OPCAutomation.dll installed on your PC. The DLL is in My_OPC_Client folder, but unfortunately it can not be registered manually (by using RegSvr32).
The DLL (OPCAutomation.dll) is created by OPC Foundation, and distributed by Vendors like Rockwell, Siemens, KepWare, and automatically installed while installing their HMI/SCADA softwares.
we get the DLL, installed in our PC because we install WinCC.
So, what you needed is install one OPC Server on your PC.
Hi.
ReplyDeleteI try to use Your client (with Moeller Easy OPC server), I can connect to server, I see variables, I can add them to datagridview, but read button does't work (null exception), but write button works fine (I can save values in PLC).
Can You check once again read button?
Regards
Andrzej
Hi,
DeleteThank you for your information. Please download the latest version (v4), I already fix that bug. Here is the link: http://goo.gl/bz69Hc
Hi,
ReplyDeleteyour OPC client is perfect, but I have a problem. I can not programming in Visual Basic, so I transferred your the project to C #, but there compiler writes error:Error 1 An assembly with the same simple name 'Interop.OPCAutomation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side. Interop.OPCAutomation.dll My OPC Client.
Can you help me please?? Thanks
Hi, i am sorry, my experience in C# is poor. But i think this link will help you: http://stackoverflow.com/questions/3160634/an-assembly-with-the-same-simple-name-has-already-been-imported-error-without
DeleteHi,
DeleteHans, I have same problem.
could u solve it ?
Hey! Great program, thanks!! I'm not very experienced in this business, so I want to know if this software is freeware? Is it allowed to modifiy it and use it for similar funktions ;) ?
ReplyDeleteGreeting!
Kristian
Hi..!
DeleteYes, this software is a freeware, you can modify and use it for your own projects/functions.
Thanks.
Great! That makes me really happy :D
Deletegreat !
ReplyDeleteHello Hadi,
ReplyDeleteI'm trying to connect to a server from my laptop, the server is located on another PC. I'm unable to connect and as IP I give the IP of the network adapter of the server PC. The firewalls are off. Is there something I need to do specially? How to set the interface of my laptop?
Hello..
DeletePlease try to access shared folder located on remote PC.
Some OPC server must have a same username and password.
This comment has been removed by the author.
ReplyDeleteHello,
ReplyDeleteI downloaded your project and tried to connect to the Softing classic opc demo server. It works fine, but when I disconnect, the opc server doesn't close. I have to close the client for the server to close.
This is not the case with other opc clients (where source code is not available).
Do you have the possibility to try this scenario? Maybe there ist something wrong with my opcdaauto.dll ...
Hai,
DeleteI am sorry, i have no suggestion for your problem, but can you share the link for Softing Classic OPC Demo Server..? i want to try that.
Thank you.
Here is the link:
Deletehttp://industrial.softing.com/en/products/software/opc-development-toolkits/opc-classic-development-toolkits/opc-classic-da-ae-xml-da-client-and-server-toolkit-for-windows.html
Downloads -> OPC Classic Demo Server
Thank you
its very simple OPC Client software,
ReplyDeletei have tried with Yokogawa Stardom, and working good.
keep it up bro
good info.
Deletethank you..
Versi lanjutan dengan fitur Auto Read/Write to XML file, silahkan lihat disini:
ReplyDeletehttp://hadiscada.blogspot.com/2015/08/my-opc-client-xml.html
I used the same dll to read the data from kepware server and everything is working fine but the reading process is very time consuming.I read some articles and found read from opc cache may optimize the reading time,so i change my code to read fr opc cache and yes it optimize the reading process but the value i get is always unknown,it seems like kepware does not update the cache, any idea to fix this?
ReplyDeleteHi Faiz,
Deletewe are sorry, we have no idea for the problem. we have no (not yet) experience with OPC cache.
we hope you will find the solution soon.
Regards.
Hi Hadi,
ReplyDeleteI am using your client , its working grt but when i use this client in fresh OS , After clicking 'List of server' its producing an exception like 'Error HRESULT E_FAIL has been returned from a call to a COM component', Please can give any solutions for this, Its too urgent for me to get solution. Thanks.
Hi..
DeleteMaybe you must cek the OPC Server is able to receive connection. You can try first with other OPC client software.
hi mas hadi...
Deletesaya masih pertama kali memakai aplikasi ini.ketika koneksi masalah sm sperti yg diatas. utk cek seting opc server yg receive connection disebelah mana ya?
saya memakai siemens simatic pcs 7
Please describe more detail and send the screenshots to email: hadiscada@gmail.com
DeleteThank you.
same problem here, did u find a solution?
Deleteis the DLL to be registered OPCDAAuto.DLL
Yes, the DLL (OPCDAAuto.DLL) must be registered.
Deletemantap mas hadi tutorialnya.. kebetulan saya juga sedang mempelajari opc server ini. saya pakai plc siemens s7-300.
ReplyDeletesaya mau tanya, bagai mana untuk ngepopulate semua item secara hardcode. saya sudah coba buat Myopcitem-nya menjadi array, namun menjadi eror ketika read.
terimakasih.
silahkan lihat di artikel terbaru: My OPC Client v6 - Export & Import
Deletethanks for your efforts the topic is very helpful
ReplyDeletecan you please advise the method for read and write for many tags with text value,(as project my simple opc client)
as i want to enter the tags inside the source project
and each tag have text box for read and write
can you help me for this issue
thanks again
i repply your question to your email. please check it.
DeleteAre you looking for Best HMI, Drives and Networking training in Delhi. HMI Training Courses & Classes in Noida deliver by DIAC Corporate trainers with placement assistance. Call @9310096831.
ReplyDeleteNo, this is OPC DA client, not UA.
ReplyDeletethanks.
Hello. I try connect Opc client to Kepware with internet. It error
ReplyDeletethank you its a great work but there is an error reading ond writing negative values example -5 thanks to correct the error please
ReplyDeletethank you for your info..
Deletei will check it.
i already check it, MyOPCClient is able to read negative values..
DeleteIts a wonderful post and very helpful, thanks for all this information. You are including better information.
ReplyDeleteNetworking Training in Delhi
Awesome post. You Post is very informative. Thanks for Sharing.
ReplyDeleteSCADA Training in Noida
I have problems connecting this with Omron PLC, are there any modifications needed?
ReplyDeletecheck OPC Server Name, it must be correct..
Delete