User manual - INDICATOR TRS-10a
6.2.
TRANSMISSION ERRORS DESCRIPTION
If an error occurs while write or read of single register, then the device sends an error
code according to Modbus RTU specifications (example message no 1).
Error codes:
01h
- illegal function (only functions 03h and 06h are available),
02h
- illegal register address
03h
- illegal data value
6.3.
EXAMPLES OF QUERY/ANSWER FRAMES
Examples apply for device with address 1. All values are represent hexadecimal.
Field description:
ADDR
Device address on Modbus network
FUNC
Function code
REG H,L
Starting address (address of first register to read/write, Hi and Lo byte)
COUNT H,L
No. of registers to read/write (Hi and Lo byte)
BYTE C
Data byte count in answer frame
DATA H,L
Data byte (Hi and Lo byte)
CRC L,H
CRC
error check (Hi and Lo byte)
After power switch on display waits for data, and displays symbol:
1. Read of ID code
ADDR
FUNC
REG H,L
COUNT H,L
CRC L,H
01
03
00
21
00
01
D4
00
The answer:
ADDR
FUNC
BYTE C
DATA H,L
CRC L,H
01
03
02
00
6A
38
6B
DATA - identification code (006A6Ah)
14