WinPac-8000 OPC-server network access
I am to build an automation solution based on WinPac-8000 controller (http://www.icpdas.com/products/PAC/winpac/introduction.htm).
I split this project into 2 programs: 1st is running on the controller (it does some business logic) and second operates on user machine (it displays current results). The problem is: I use build-in OPC server (named 'quicker'). It has nice intergration with C# and easy to use in the 1st program to access connected devices.
But I dont know how to access OPC-server from the second program through network. I have absolut开发者_开发问答ely no idea where to start.
Links or any kind of advice will be very appreciated.
I would like to merely to add a 'comment' to your question, but do not have the necessary rep, so I shall comment as an answer...
Please could you clarify what you would like the second program to do? OPC has 'client' and 'server' components. The OPC 'server' would run on the WinPAC controller and you would run OPC 'client' software on the PC. Here are some OPC .NET links: Open Automation, OPC and .NET.
However, if you merely wish to monitor and control digital/analog points, the MODBUS/TCP protocol is much simpler and cleaner to implement (CodeProject).
OPC is quite heavy and I have not found it particularly robust in unstable networks. MODBUS/TCP is a simple socket connection and can easily be implemented in any language supporting TCP sockets. ICPDAS and MODBUS/TCP has worked extremely well for me.
精彩评论