4000 | Modbus Implementation |
|
|
9.5.2Integer Data
•Hexadecimal representation
•4124Decimal equivalent: 16,676
The data returned for data address 56 is 16,676 (4124 Hex). This value must be scaled using the following formula to give it meaning.
If a variable goes
9.5.3Character Data
Character data, such as software version, are returned in registers in ASCII data format. Each Modbus register represents two ASCII characters.
The following communication example shows the character data
Host Request |
|
|
|
|
|
| |
Address | Function | Start Reg | Start Reg | # of Reg | # of Reg | Error |
|
| Code | H | L | H | L | Check |
|
|
|
|
|
|
|
|
|
01 | 03 | 00 | 1E | 00 | 02 | XX |
|
|
|
|
|
|
|
|
|
ATT Response |
|
|
|
|
|
| |
Address | Function | Byte | Data | Data | Data | Data | Error |
| code | Count | MSB | LSB | MSB | LSB | Check |
|
|
|
|
|
|
|
|
01 | 03 | 04 | 41 | 54 | 54 | 2D | XX |
|
|
|
|
|
|
|
|
•Hexadecimal representation 41 54 54 2D
•ASCII representation: ATT-
49