pyclickplc¶
Talk to AutomationDirect CLICK PLCs from Python. Read and write registers over Modbus TCP, simulate a PLC for local development, and read and write CLICK's files: nicknames, DataViews, PLC data dumps and Project.ini.
It's the wire under pyrung and ClickNick, and it stands on its own as a Modbus client for any CLICK.
Start here¶
The quickstart connects to a simulated PLC, reads and writes values, and generates project files. No hardware needed.
Guides¶
| Client | Read and write PLC values with ClickClient |
| Types & values | Native Python types per bank family |
| Addressing | Normalization, sparse X/Y ranges, XD/YD words |
| Modbus Service | Sync + polling API for UI applications |
| Server & simulator | Simulate a CLICK PLC with ClickServer |
| File I/O | Nickname CSV, DataView CDV, PLC data dumps, Project.ini |
| Examples | Runnable scripts |
API Reference¶
Auto-generated from source. See API Reference overview for the full list.
API stability¶
Every name in pyclickplc.__all__ or in a module's __all__ is public. If a release renames or removes a public name, the CHANGELOG lists it under Breaking changes. The Modules API page lists each module's public names.