Skip to main content

rackio-opc-ua

A Rackio extension to add a OPC-UA support to a Rackio application

Installation

pip install RackioOPC-UA

Usage

from rackio import Rackio
from rackio_opcua import RackioOPCUA

app = Rackio()

driver = RackioOPCUA(app, 4840)

app.run(8028)

Creating Tree Nodes

In order to create nodes, you can define custom folders, devices and mappings.

folder = driver.define_folder("default")

device = folder.define_device("main")

Mappings allows to bind a OPC-UA object node to a Rackio defined Tag.

device.define_mapping("T1", "write")
device.define_mapping("T3", "read")

write mode allows to read and write from a OPC-UA Client, and read mode allows to read only. By default, the binding timing period is 0.25 seconds. You bypass this by providing the period parameter, in seconds.

device.define_mapping("T1", "read", period=0.5)

You can also define mappings inside folders and can define folders inside folders.

Features to develop

Some OPC-UA features are in development phase suchas.

  • Custom Method definitions
  • Custom Data Types definitions
  • History Query
  • Loading configurations form a file (JSON and XML)

Metadata

Release files for RackioOPC-UA 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RackioOPC-UA 0.7
File Size Uploaded Provenance Actions
RackioOPC-UA-0.7.win-amd64.zip 19.1 kB Without provenance Details for RackioOPC-UA-0.7.win-amd64.zip

Built distribution (wheel)

Table of built distributions (wheels) for RackioOPC-UA 0.7
File Interpreter ABI Platform Actions
RackioOPC_UA-0.7-py3-none-any.whl Python 3 none any Details for RackioOPC_UA-0.7-py3-none-any.whl

Total release size: 26.2 kB

Release files / RackioOPC-UA-0.7.win-amd64.zip

Download URL RackioOPC-UA-0.7.win-amd64.zip
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fa20787d41dd3920f098ca2d5ae1af14b0b26fcfaedea509f876fedb837c0cd1
BLAKE2b-256 checksum
How to use checksums
fb0cb363c3dd589b4091d6582f5a1f418481d2e5c2f7a5e7f091b1f2c576d0b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

Release files / RackioOPC_UA-0.7-py3-none-any.whl

Download URL RackioOPC_UA-0.7-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5fe56deaed92e4d3a5def236f4686d02054d605e6fbf767e63860c651756230
BLAKE2b-256 checksum
How to use checksums
bf8d60a6c1fefef8b53dcef254773b3ead51178c8aae71017e44eb8c95f4b722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

Security for RackioOPC-UA 0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page