parallelbgls / Modbus.Net

A high extensible hardware communication platform using C#
MIT License
378 stars 136 forks source link

Can I Fetch data from classic OPC Server? #5

Closed tejasklodha closed 7 years ago

tejasklodha commented 7 years ago

Dear Sir,

I want to fetch data from classic OPC DA Server. Can it possible by usingModbus.Net?

Thanks,

parallelbgls commented 7 years ago

Of-cause, Please download Modbus.Net and Modbus.Net.OPC at the same time. It included an OPC DA(Data access) implementation and an OPC UA implementation. The English document will be published soon I finish version 1.3.8

parallelbgls commented 7 years ago

But remember if your OPC DA server is hosted as an administrator application, your client must be run in administrator.

tejasklodha commented 7 years ago

Dear Sir,

But I am unable to load your project in Visual studio 2015 . Find screenshot

screenshot_1

parallelbgls commented 7 years ago

Project is using Visual Studio 2017

parallelbgls commented 7 years ago

Please Downgrade to 1.2.X. for Visual Studio 2015 using tags.

tejasklodha commented 7 years ago

Dear Sir,

Now I load your project in VS17 and able to run your project Now I want to change server name and use my OPC Da server and show live value of that variables. Can you guide that What changes needed ? Can you provide documentation ?

Thanks

parallelbgls commented 7 years ago

Alright, I have to apologize that I have to make this project stabilize because of a huge project that need to read over 16,000 points. And I need to fix the unit test after this project. So English document would be accomplished not so soon. Opc is a little bit different from other protocols. So I have a quick way for you to understand that. Cause there is a sample da machine FBox/FBoxOpcDaMachine in Modbus.Net.OPC, and OpcTest in tests for calling. This is the quickest way for you to learn how to read OPC DA data. For Opc link address, you can download a free software called "Matrikon OPC Explorer" to get the server address.

tejasklodha commented 7 years ago

Dear Sir,

Thanks for Info... At the End I am also one developer so I understand that it's not easy to work both Code and documentation at same time......

I just want to read data from OPC DA server in WPF application.... Let Me know when English Document Available on Web Site?.

Thanks,

parallelbgls commented 7 years ago

Sorry, my message is late. I sucked in some projects last week and I think 1.3.X version may stable now. I will update wiki document from tomorrow, both in Chinese and English.

parallelbgls commented 7 years ago

1.3.9 Doc Update Complete. Please feedback if you have problems in doc.