Table of Contents

ibvunit variables

The ibvunit program converts protocols implemented on physical devices into the ibprotocol communication protocol used by all components of the IB-System.

Variables with MODBUS Device Registers

The device registers of all devices defined in the ibvunit.xml configuration file are available to all IB-System programs under the names:

rs.X.id.Y.VARNAME

where:

Example variables for the h3f1v6 device with MODBUS address 1 connected to the gateway defined with identifier 0:

rs.0.id.1.dev.hardware
rs.0.id.1.dev.firmware
rs.0.id.1.dev.version
…
rs.0.id.1.input.t.0.value
rs.0.id.1.input.t.1.value
rs.0.id.1.input.t.2.value
rs.0.id.1.input.t.3.value
...
rs.0.id.1.input.t.0.err
rs.0.id.1.input.t.1.err
rs.0.id.1.input.t.2.err
rs.0.id.1.input.t.3.err
…
rs.0.id.1.output.do.1
rs.0.id.1.output.do.2
rs.0.id.1.output.do.3
rs.0.id.1.output.do.4

Built-in Variables

In addition to the variables associated with physical devices, the ibvunit program provides the variables:

Additionally, ibvunit monitors each device defined in the configuration file and provides associated variables:

The DEVICE device identifier depends on the connected device. For example, a MODBUS device according to the documentation will have an identifier in the form of, for example, rs.0.id.1.