Async Python client library for WAGO 750- PLCs with Codesys 2.3 WebVisu API
Project description
WAGO PLC VISU Client
Async Python library for WAGO 750-series PLCs with Codesys 2.3 WebVisu.
Usage:
on init provide
- IP of the PLC as string, for example '192.168.1.3'
- session
.get_data(addrs)
addrs is an array of visu addresses as strings, for example ['2|112|1|0','2|113|1|0'] returns an array of string values like ['1','0']
.set_data(address, value)
address is a string representing address to write to like '3|1436|1|0' value is a string with avalue to write to PLC liek '234'
Example:
import asyncio
import aiohttp
from wago_visu_client import API as WagoPLC
session = aiohttp.ClientSession
async def main():
plc = WagoPLC("192.168.1.50", session)
values = await plc.get_data(["2|112|1|0"])
print(values)
await asyncio.sleep(1)
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wago_visu_client-0.1.0.tar.gz.
File metadata
- Download URL: wago_visu_client-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55318454e6927a59a6102833d046d6c7cf7e541d39f64abee43910fa4b9ae970
|
|
| MD5 |
2b446f3eee547c13574503f899599eae
|
|
| BLAKE2b-256 |
4c8e23481be271837937f8ba8e8aaba1a3896d10fa6b1d25039dab7fbdfba86d
|
File details
Details for the file wago_visu_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wago_visu_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ef8c59088e736ee78c102fbe85d70b0d4348f5f830ac786c22dab3aa6cbe54e
|
|
| MD5 |
dad3131c6afaa6b88153220b7247476b
|
|
| BLAKE2b-256 |
fbfb38082fc71f4244b60a2b90d4077c60b56d266d90466b9b1491076256766e
|