Modbus TCP dashboard for iPhone and iPad

Updated

Routix Dash is a Modbus TCP client and dashboard app for iPhone and iPad. It reads registers and coils from a PLC, energy meter, inverter or gateway, shows them on gauges and charts you design, and writes setpoints and coils with a tap. No PC, server or account is needed.

This guide builds a small control panel: a temperature on a gauge, a pump you can switch, and a setpoint you can change.

What you can do with Modbus

Before you begin

You need:

The first time the app connects to a device on your network, iOS asks whether Routix Dash may find devices on your local network. Allow it.

This guide uses these example points. Replace them with the ones from your manual.

Point Table Address Data type
temperature Input register 0 Float32
setpoint Holding register 10 UInt16
pump Coil 0 Bool

1. Connect to the device

Open the menu → Modbus connections → Add Modbus connection. Enter a Name (Boiler PLC), the Host (for example 192.168.1.50), the Port and the Unit ID.

Tap Test. The app reads holding register 0. A value, or an answer that says the device has no such register, both mean the link works. Then tap the save tick.

If your manual numbers registers as 30001 or 40001, set Address base under Advanced to 1-based (as in the device manual). Then type the number without the first digit: 40011 becomes 11.

2. Read the points

Open the menu → Data sources → Add data source:

  1. Set Name to Boiler.
  2. Set Data source type to Modbus TCP and pick Boiler PLC as the Modbus connection.
  3. Under Points, tap Add point for each row of the table above: Name, Table, Address and Data type.
  4. If a register holds tenths (235 means 23.5), set the point's Scale to 0.1.

Tap Read now. The app reads every point once and shows each value with its raw registers. When the numbers look right, tap the save tick. The points are read every second; change Poll interval (ms) for a slower device.

3. Show the temperature on a gauge

On a data section, tap Add card manually and pick Design your own card. Set Boiler as the root data source.

Add a Dial gauge and set its Default value to {{ value?.temperature }}. Set Warning from and Alarm from to the levels that matter to you: the gauge changes color when the temperature gets there.

To see the trend, add a Chart with the same Default value: every read adds a point.

4. Switch the pump

Add a Toggle to the card and set its Default value to {{ value?.pump ? 1 : 0 }}. It now shows whether the coil is on.

Under Events → On tap, a new Toggle already has Apply value, which flips 1 and 0. Tap Add... below it → Data actions → Modbus send:

Save. Tapping the toggle switches the coil, and the toggle follows the coil when it is switched at the device.

5. Change the setpoint

Add a Slider and set Minimum and Maximum to the range the device accepts. Set its Default value to {{ value?.setpoint }}.

Under Events → On changed, add Modbus send with one point: Name setpoint, Table Holding register, Address 10, Data type UInt16, and an empty Value. When you let go of the slider, the new number is written. A decimal is rounded for whole-number types, and a value the data type cannot hold is refused before anything is sent.

To write several points with one tap, for example from a Button, add each of them under Points in the same Modbus send and set Value to a JSON object with the point names as keys: {"setpoint": 22, "pump": true}.

If it does not work

Open Modbus connections → Boiler PLC and read the Connection log. The error of the last read also shows on the source row under Data sources.

Tips

Read more