app.ts
plant.operator is granted from code: ctx.grant(plant.operator, { to, under }) in one of your
mutations (Grants).
Set the secret to the exact register selection JSON. The sealed selection
limits the allowed poll, and no credentials travel to the device. The
receiver and the mount live under the same data label, and the mount’s
operator role, which clears it, is the only role that starts the source or
reads plant.records.list and plant.source.health.
Use units 1–247, zero-based addresses 0–65535, and a range of 1–64 words
within the address space. The profile uses function 3 for holding registers
and function 4 for input registers. Each poll opens a fresh connection,
sends one read and accepts one matching reply within five seconds. The app
replaces the last observation by unit, register table and address. It keeps
each raw unsigned 16-bit word and the poll admission time. There is no
provider cursor, write operation, archive or deletion inference. A failed
poll preserves the last readings.
Modbus protocol specifications