Skip to main content

Module worker

Module worker 

Source
Expand description

One thread per PLC: owns the driver, polls the subscribed tags by tier and poll group, runs the queued writes.

Structs§

PlcWorker
The poller of one PLC; methods are called from the hub, the thread does the I/O.
Stats
Counters for /health and /stats.
Structure
The controller structure the worker last loaded, with its /tags JSON.
TypeInfo
The type of a tag as tag info shows it: null when unknown, dims of a whole array.
WorkerOptions
Static settings of a worker.
WriteResult
The outcome of a write: (ok, error, kind, read-back value).

Enums§

Event
What a worker tells the hub, from its thread.

Type Aliases§

WriteDone
Called once with a write’s result, from whichever thread finishes it.