Fields to Configure in the Scan Input Table

Field Name Description
diagnostic data This field is used as the diagnostic data if the modbus function field is set to 0x08 (loopback diagnostic request).
exception record Specifies whether this record is considered to be an exception record or not. An exception record will be polled if the poll type mask returned from the RTU matches the poll type mask for the record.
modbus function Specifies the Modbus function to use for this record.
register Specifies the Modbus register to use in the request to the RTU. If the loopback diagnostic "modbus function" is used, this field represents the diagnostic code value.
modbus type Specifies the RTAP data element type equivalent for the data being returned from the RTU. If this value is equal to rtUNDEFINED, then default data element types will be used.
register count Specifies the number of registers to request for from the RTU for each value. For example, a floating point value could be kept in the RTU in two 16 bit registers, and could be retrieved back as two registers, and saved in the RTAP database as a single value. In this example, this value would be two. The driver will optimize over this count (ie. the next record in the scan input table can contain the value of this record's register plus two, and the two will be polled for in a single poll). For digitals, this value should always be one.