Quick start: Modbus TCP

Read the first register of a device on the network.

The browser cannot open TCP connections; Modbus TCP goes through the local agent.

  1. With the agent installed and running, open Connection (1) and click Search for the agent. → "Agent … found · key …" appears. The first time, the browser may ask for local network access: click Allow.

  2. Click Pair with the agent. → The agent opens a page with a 6-digit code (no screen: run modfield-agent pair).

  3. Type the code and click Pair. → The status bar shows "agent ● version".

  4. On the TCP tab, enter IP or host name and TCP port (502 by default) and click Connect. → The status bar shows "Agente · TCP ip:port" and "CONNECTED".

  5. In Read (2), enter the Unit ID and read with R. → Behind a gateway, the unit ID is the device's RTU address.

The traffic monitor shows the frames with the MBAP header and the transaction number (#n).