Welcome to OPC_Connector Documentation

This documentation provides detailed information about the OPC_Connector package, designed to facilitate seamless integration with OPC UA servers. Our package simplifies the process of connecting to OPC servers, managing sessions, and performing read/write operations on OPC tags.

What is OPC UA?

OPC UA (Open Platform Communications Unified Architecture) is a machine-to-machine communication protocol developed for industrial automation applications. It ensures secure and reliable data exchange among various devices and systems in industrial environments. More information about python opcua library can be found here

Features of OPC_Connector:

Quick Start Guide

Let's get started!

Package structure

Prerequisites

'ExampleServer' must be configured in config.json file.

Usage

Here's how you can quickly set up a connection and read a tag from an OPC server:


  from OPC_Connector import get_opc_client

  # Initialize the client for a server named 'ExampleServer'
  client = get_opc_client('ExampleServer')

  # Read a value from the tag 'Temperature'
  temperature = client.read('Temperature')
  print(f"Current Temperature: {temperature}°C")
  

Note: this documentation is not completed yet.