Client API
Tier: Stable Core
Async client and response mapping APIs.
Client Surface
- Dynamic bank accessors:
plc.ds,plc.df,plc.y,plc.txt, etc. - Display-indexed accessors:
plc.xdandplc.yduse display indices0..8. - Upper-byte aliases:
plc.xd0uandplc.yd0uexposeXD0u/YD0u. - String-address interface:
plc.addr.read(...)andplc.addr.write(...). - Nickname/tag interface:
plc.tag.read(...),plc.tag.write(...), andplc.tag.read_all(...).
Because accessor attributes are dynamic, this section is hand-curated and complements docstring-generated signatures below.
pyclickplc.ClickClient
Async Modbus TCP driver for CLICK PLCs.
pyclickplc.ModbusResponse
Bases: AddressNormalizerMixin, Mapping[str, TValue_co], Generic[TValue_co]
Immutable mapping with normalized PLC address keys.
Keys are stored in canonical uppercase form (DS1, X001).
Look-ups normalise the key automatically, so response["ds1"]
and response["DS1"] both work.