Skip to main content
Install the app on a self-hosted deployment with direct, policy-approved network access to a private RFC 1918 IPv4 address. Modbus TCP carries the register request and values unencrypted on that network. The closed driver requires a private address literal and uses the deployment’s socket egress authority. Hosted tenant egress refuses private socket addresses. Private-only sites need a direct route from their self-hosted deployment.
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