The following table outlines the device-dependent information that you must supply in the scan input table attribute for the ModbusScanner:
Field Number | Field Name | DE Type | Possible Values | |
---|---|---|---|---|
Device Independent | 0 | point control | rtLOGICAL | 0=disabled, 1=enabled |
1 | point status | rtUINT8 | §To configure the scan input table | |
2 | poll type mask | rtBYTES4 | 32-bit mask | |
3 | st buffer size | rtUINT16 | 0 | |
4 | SSMA offset | rtUINT32 | 12 to 4,294,967,295 | |
5 | # of elements | rtUINT16 | 1 to 65,535 | |
6 | RTAP DE type | rtUINT8 | 1 to 31 | |
7 | deadband type | rtUINT8 | §To configure the scan input table | |
8 | deadband | rtDOUBLE | any double | |
9 | link address | rtDB_XREF | ||
10 | reserved1 | rtINT32 | ||
Device Dependent (Modbus scan task specific) | 11 | diagnostic data | rtUINT16 | 0 to 65,535 |
12 | exception record | rtLOGICAL | 0=poll, 1=PRBX | |
13 | modbus function | rtUINT8 | 0 to 255 | |
14 | register | rtUINT16 | 0 to 65,535 | |
15 | modbus type | rtUINT8 | 1 to 31 | |
16 | register count | rtUINT8 | (see below) | |
Optional | . | |||
. | ||||
. |
See also: