Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The element allows to get data from MODBUS RTU device and to write data to MODBUS RTU device.

Requests for management:

addvirtual - add a virtual sensor. Extra options are:

...

<modbusrtu mb_raw_req="1F 04 00 00 00 02" mb_raw_ans="1F 04 04 43 63 55 19" mb_value="227.332413" />

Information about the writing test looks like:

<error type="no error" />

If an error occurs, example:

<modbusrtu mb_raw_req="20 04 00 00 00 02" mb_raw_ans="answer error" mb_value="value error"/>

If no error occurs, the writing test looks like:

<error type="no error" />

If Modbus is disabled or not supported:

...