Learn from the csdn public number: geekc
link: https://blog.csdn.net/u014801367/article/details/43057109
1. The opc protocol development materials under Windows
1. Introduction to OPC protocol
原文链接:https://blog.csdn.net/u014801367/article/details/43057109
2 OPC client operating environment configuration
Original link: https://blog.csdn.net/u014801367/article/details/43058483
3. Configuration of the development environment
Original link: https://blog.csdn.net/u014801367/article/details/43064535
4. Enumeration and connection of OPC server developed by PC client
Original link: https://blog.csdn.net/u014801367/article/details/43309231
5. Add groups and add items
Original link: https://blog.csdn.net/u014801367/article/details/43314281
6. Synchronous reading and asynchronous reading
Original link: https://blog.csdn.net/u014801367/article/details/43314907
7. Data subscription
Original link: https://blog.csdn.net/u014801367/article/details/43316633
2. Development materials of opc protocol under linux
1. Getting started with OPC-UA-linux build a simple server and client
The simplest case of SERVER : set up a server and a client in Linux, and transmit an int value. The content of the server myServer.c file is as follows:
-
Create a processing function that ends ctrl-c
-
Define an int variable node and add it to the information model