This directory contains examples for OPC client and subscriber development in Python. The examples cover OPC Data Access (OPC DA), OPC Alarms&Events (OPC A&E), OPC XML, and OPC Unified Architecture (OPC UA) specifications, including OPC UA PubSub. They are supported on Microsoft Windows and Linux.
The examples work with our sample servers and publishers. Most of them reside on the Web; OPC "Classic" servers for Windows are installed using the OPC Studio Setup program.
The QuickOPC package is needed. Install it using "pip install opclabs_quickopc".
Useful links:
- OPC client and subscriber examples in the documentation.
- OPC client and subscriber examples in Python on GitHub.
- OPC Studio Setup program
- Getting started with OPC in Python.
- QuickOPC Python package on pypi.org.
- Python-related articles in OPC Labs Knowledge Base.
- Introduction to OPC and Python on our Web page.
- Programming OPC in Python.
Missing some example? Ask us for it on our Online Forums! You do not have to own a commercial license in order to use Online Forums, and we reply to every post.