Attributes to Configure in the Scan Device Point

Attribute Name Description
device address A user supplied RTU address (unit) number.
tcp header

This table allows the specification of the "transaction identifier" ("transaction id 1" and "transaction id 2") and the "protocol identifier" ("protocol id 1" and "protocol id 2") bytes.

Field Number Field Name DE Type Possible Values
0 transaction id 1 rtUINT8 (see below)
1 transaction id 2 rtUINT8 (see below)
2 protocol id 1 rtUINT8 (see below)
3 protocol id 2 rtUINT8 (see below)

Where:

Field Name Description
transaction id 1 Specifies the most significant byte of the transaction id.
transaction id 2 Specifies the least significant byte of the transaction id.
protocol id 1 Specifies the most significant byte of the protocol id.
protocol id 2 Specifies the least significant byte of the protocol id.
prbx register Specifies the Modbus register to poll for in the RTU for the PRBX mask. If a value other than zero is returned, it will be used as a poll type mask (as specified in the scan input table). All records in the scan input table that match the mask returned and have the exception flag (see scan input table) field set, will be polled.
prbx reset register Specifies the Modbus register where the PRBX mask will be written to, after the PRBX has completed.
swap bytes

Specifies various swapping of words/bytes for 32-bit integers and floating point numbers. This attribute can be either an rtUINT8 or rtUINT16 data element type. If this attribute is an rtUINT8 data type, the same values will be used for both input and output. If this attribute is an rtUINT16 data type, the least significant byte will be used for input, and the most significant byte will be used for output. This attribute contains a bit mask. Multiple bits can be set to perform multiple swapping (in this case, the swapping order will occur from least significant bit to most). The possible bit values are:

Value Description
0 no word/byte swapping.
1 swap 32-bit float words.
2 swap 32-bit integer words.
4 swap 32-bit float's most significant word's bytes.
8 swap 32-bit integer's most significant word's bytes.
16 swap 32-bit float's least significant word's bytes.
32 swap 32-bit integer's least significant word's bytes.
64 swap all 32-bit float's bytes.
128 swap all 32-bit integer's bytes.
256 swap outgoing 32-bit float words.
512 swap outgoing 32-bit integer words.
1024 swap outgoing 32-bit float's most significant word's bytes.
2048 swap outgoing 32-bit integer's most significant word's bytes.
4096 swap outgoing 32-bit float's least significant word's bytes.
8192 swap outgoing 32-bit integer's least significant word's bytes.
16384 swap all outgoing 32-bit float's bytes.
32768 swap all outgoing 32-bit integer's bytes.
debug level A debug level used to determine the amount of information printed to the debug device. Higher debug levels print more detailed information. A debug level of zero indicates that no debug information is to be printed to the debug device.
clear stats Indicates whether the device stats vector will be zero'ed the next time it is read from the database.