Professional Documents
Culture Documents
Opc
Opc
Monday, October 28, 2019 Enter search keyword GO
Home » VB.net » My OPC Client ABOUT US
Kami ingin berbagi source code projek, aplikasi, ide, tutorial, dan
artikel, berkaitan dengan dunia SCADA, HMI, Automation,
My OPC Client Software, dan Teknologi.
Diposkan oleh Hadi Hidayat di 23:48:00 We want to share the source code projects, applications, ideas,
tutorials, and articles, related to the world of SCADA, HMI,
Automation, Software, and Technology.
My OPC Client is an application for accessing OPC Server. Email: [email protected]
Twitter: @HadiScada
WhatsApp: +6281212129806
The features of this application:
1. List active OPC Servers in Local and Remote computer.
POPULAR POSTS
2. Connect to Local and Remote OPC Server.
3. Browse OPC Items.
4. Monitoring values of OPC Items. Modbus TCP Sample VB (English
version)
5. Can write value to OPC Items.
My OPC Client
Modbus RTU Sample VB6
Modbus TCP Sample VB
My Simple OPC Client
Modbus TCP VB6 Winsock
My OPC Client XML
Preview of My OPC Client
BLOG ARCHIVE
► 2019 (4)
► 2018 (12)
► 2017 (11)
► 2016 (11)
► 2015 (11)
► 2014 (5)
http://hadiscada.blogspot.com/2013/07/myopcclient.html 1/13
10/28/2019 My OPC Client HadiSCADA
▼ 2013 (18)
► December (6)
► November (1)
► October (1)
► September (1)
▼ July (6)
Mouse Simulation
Ack WinCC AlarmOneLine on Click
My OPC Client
Modbus TCP Sample VB (English version)
Modbus Simulator
Modbus TCP Sample VB
► May (3)
TOTAL PAGEVIEWS
215,901
Powered by Blogger.
PAGES
Home
Custom Software
Porto Folio
Message
LABELS
List OPC Server and Browse OPC Item
http://hadiscada.blogspot.com/2013/07/myopcclient.html 2/13
10/28/2019 My OPC Client HadiSCADA
Add OPC Item to Monitoring
Set Monitoring On
http://hadiscada.blogspot.com/2013/07/myopcclient.html 3/13
10/28/2019 My OPC Client HadiSCADA
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 doubleclick, or via popup menu.
> a popup menu shows when rightclick on OPC Server list, for Connect and
Disconnect.
> fix a bug while try to browse OPC items.
http://hadiscada.blogspot.com/2013/07/myopcclient.html 4/13
10/28/2019 My OPC Client HadiSCADA
> 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 64bit, please refer to this article, to register the DLL.
http://hadiscada.blogspot.com/2013/07/myopcclient.html 5/13
10/28/2019 My OPC Client HadiSCADA
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/myopcclientxml.html
========
My OPC Client v6
Versi lanjutan dengan fitur Export & Import Text file, silahkan lihat disini:
http://hadiscada.blogspot.co.id/2017/01/myopcclientv6exportimport.html
Label: OPC, Project, SCADA/HMI, Source, VB.net
Share this article :
STAY TUNED WITH OUR NEWS LETTER
RELATED POSTS
Don't miss out on the latest
My OPC Client v6 Export & news, sign up for our Newsletter.
Import
Excel SCADA : Membuat SCADA Enter your email... SignUp
di Microsoft Excel
Modbus (TCP) Client and Logger
(CSV)
Learn how to Merge FlexGrid and
Export to Excel
Modbus TCP Client using
EasyModbus
52 komentar:
Hadi Hidayat 4 December 2013 at 02:57
I am happy that this project (My OPC Client) is the most viewed article in this
blog. Thank you.. :)
There 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.
Reply
EduCasotto 8 January 2014 at 09:00
Which opc server brands this program can read? Simens, Yokogawa, ...
Reply
http://hadiscada.blogspot.com/2013/07/myopcclient.html 6/13
10/28/2019 My OPC Client HadiSCADA
Replies
Hadi Hidayat 8 January 2014 at 17:35
i 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.
Thanks.
Hadi Hidayat 25 May 2015 at 12:26
fauzan azima comment on 25 Mei 2015 05.47
"its very simple OPC Client software,
i have tried with Yokogawa Stardom, and working good.
keep it up bro"
Unknown 17 April 2018 at 10:29
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
Reply
Johan Douillard 29 January 2014 at 02:41
Sorry, the links are dead can you reupload them ?
Reply
Replies
Hadi Hidayat 29 January 2014 at 23:02
From here, all link is Ok. Please try again.
Reply
Anonymous 5 February 2014 at 15:43
Ive tried to check the links, but, both are down!
Reply
Replies
Hadi Hidayat 5 February 2014 at 17:17
We will try to send the files via email. Please send your email address
to us here or to [email protected]
Reply
Anonymous 25 February 2014 at 13:35
How 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'.
Reply
Replies
Hadi Hidayat 25 February 2014 at 20:45
Hi,
you 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.
http://hadiscada.blogspot.com/2013/07/myopcclient.html 7/13
10/28/2019 My OPC Client HadiSCADA
Reply
Andrzej Klonowski 17 August 2014 at 10:41
Hi.
I 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
Reply
Replies
Hadi Hidayat 18 August 2014 at 08:16
Hi,
Thank you for your information. Please download the latest version
(v4), I already fix that bug. Here is the link: http://goo.gl/bz69Hc
Reply
Hans 26 September 2014 at 09:29
Hi,
your 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 sidebyside. Interop.OPCAutomation.dll My
OPC Client.
Can you help me please?? Thanks
Reply
Replies
Hadi Hidayat 6 October 2014 at 23:34
Hi, i am sorry, my experience in C# is poor. But i think this link will
help you: http://stackoverflow.com/questions/3160634/an
assemblywiththesamesimplenamehasalreadybeenimported
errorwithout
ferhaatbeey 16 January 2015 at 05:47
Hi,
Hans, I have same problem.
could u solve it ?
Reply
Anonymous 1 December 2014 at 01:59
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 ;) ?
Greeting!
Kristian
Reply
Replies
Hadi Hidayat 1 December 2014 at 02:27
Hi..!
Yes, this software is a freeware, you can modify and use it for your
own projects/functions.
Thanks.
http://hadiscada.blogspot.com/2013/07/myopcclient.html 8/13
10/28/2019 My OPC Client HadiSCADA
Anonymous 1 December 2014 at 02:50
Great! That makes me really happy :D
Reply
张智 28 January 2015 at 00:34
great !
Reply
Jeroen Croes 26 March 2015 at 09:04
Hello Hadi,
I'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?
Reply
Replies
Hadi Hidayat 1 April 2015 at 22:17
Hello..
Please try to access shared folder located on remote PC.
Some OPC server must have a same username and password.
Reply
Hadi Hidayat 1 April 2015 at 22:16
This comment has been removed by the author.
Reply
Patrick 6 May 2015 at 06:23
Hello,
I 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 ...
Reply
Replies
Hadi Hidayat 17 May 2015 at 23:29
Hai,
I 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.
Patrick 18 May 2015 at 00:29
Here is the link:
http://industrial.softing.com/en/products/software/opcdevelopment
toolkits/opcclassicdevelopmenttoolkits/opcclassicdaaexmlda
clientandservertoolkitforwindows.html
Downloads > OPC Classic Demo Server
Thank you
Reply
http://hadiscada.blogspot.com/2013/07/myopcclient.html 9/13
10/28/2019 My OPC Client HadiSCADA
fauzan azima 25 May 2015 at 05:47
its very simple OPC Client software,
i have tried with Yokogawa Stardom, and working good.
keep it up bro
Reply
Replies
Hadi Hidayat 25 May 2015 at 12:25
good info.
thank you..
Reply
Hadi Hidayat 19 August 2015 at 20:10
Versi lanjutan dengan fitur Auto Read/Write to XML file, silahkan lihat disini:
http://hadiscada.blogspot.com/2015/08/myopcclientxml.html
Reply
Faiz Zainal 23 December 2015 at 10:25
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?
Reply
Replies
Hadi Hidayat 5 January 2016 at 07:22
Hi Faiz,
we 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.
Reply
RAM 24 March 2016 at 22:13
Hi Hadi,
I 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.
Reply
Replies
Hadi Hidayat 26 March 2016 at 13:02
Hi..
Maybe you must cek the OPC Server is able to receive connection.
You can try first with other OPC client software.
AmDn Crew 10 August 2016 at 01:46
hi mas hadi...
saya 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
Hadi Hidayat 12 August 2016 at 10:30
Please describe more detail and send the screenshots to email:
http://hadiscada.blogspot.com/2013/07/myopcclient.html 10/13
10/28/2019 My OPC Client HadiSCADA
[email protected]
Thank you.
Anonymous 9 August 2017 at 11:49
same problem here, did u find a solution?
is the DLL to be registered OPCDAAuto.DLL
Hadi Hidayat 10 August 2017 at 16:36
Yes, the DLL (OPCDAAuto.DLL) must be registered.
Reply
Luthfi Nur Amali 29 January 2017 at 20:38
mantap mas hadi tutorialnya.. kebetulan saya juga sedang mempelajari opc
server ini. saya pakai plc siemens s7300.
saya mau tanya, bagai mana untuk ngepopulate semua item secara hardcode.
saya sudah coba buat Myopcitemnya menjadi array, namun menjadi eror
ketika read.
terimakasih.
Reply
Replies
Hadi Hidayat 29 January 2017 at 22:31
silahkan lihat di artikel terbaru: My OPC Client v6 Export & Import
Reply
Ahmed Abdelwahd 7 January 2018 at 08:00
thanks for your efforts the topic is very helpful
can 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
Reply
Replies
Hadi Hidayat 10 January 2018 at 21:57
i repply your question to your email. please check it.
Reply
Diac Noida 20 February 2018 at 01:39
Are 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.
Reply
Unknown 21 February 2018 at 01:05
Hadi, I managed to connect to kepware. Can you please confirm this is OPC UA
client?
Reply
Replies
Hadi Hidayat 21 February 2018 at 22:50
No, this is OPC DA client, not UA.
http://hadiscada.blogspot.com/2013/07/myopcclient.html 11/13
10/28/2019 My OPC Client HadiSCADA
thanks.
Reply
vu nguyen 24 February 2018 at 18:24
Hello. I try connect Opc client to Kepware with internet. It error
Reply
Anonymous 14 March 2018 at 21:15
thank you its a great work but there is an error reading ond writing negative
values example 5 thanks to correct the error please
Reply
Replies
Hadi Hidayat 25 April 2019 at 06:25
thank you for your info..
i will check it.
Hadi Hidayat 25 April 2019 at 06:41
i already check it, MyOPCClient is able to read negative values..
Reply
Manisha singh 23 March 2019 at 05:38
Its a wonderful post and very helpful, thanks for all this information. You are
including better information.
Networking Training in Delhi
Reply
Raj Sharma 8 July 2019 at 04:12
Awesome post. You Post is very informative. Thanks for Sharing.
SCADA Training in Noida
Reply
Sakthi 22 July 2019 at 04:03
I have problems connecting this with Omron PLC, are there any modifications
needed?
Reply
Replies
Hadi Hidayat 25 August 2019 at 02:38
check OPC Server Name, it must be correct..
Reply
http://hadiscada.blogspot.com/2013/07/myopcclient.html 12/13
10/28/2019 My OPC Client HadiSCADA
Enter your comment...
Publish Preview Notify me
Subscribe to: Post Comments (Atom)
http://hadiscada.blogspot.com/2013/07/myopcclient.html 13/13