Instruction Manual

VTS reserves the right to implement changes without prior notice.
www.vtsgroup.com Page 14 of 16 ver. 2.0 (11.2021)
4.2.3. Writing a group of output registers (0x10)
Command format:
Description
Size [Bytes]
Values
Notes
Address
1
1 247
Function code
1
0x10
Data block address
2
0x0000 0xFFFF
Liczba rejestrów (N)
2
1 123
Byte counter
1
2 * N
Values to be stored
2 * N
0x0000 0xFFFF
CRC check sum
2
0x0000 0xFFFF
See section 4.4
Response format:
Description
Size [Bytes]
Values
Notes
Address
1
1 247
Function code
1
0x10
Data block address
2
0x0000 0xFFFF
Number of registers (N)
2
1 123
CRC check sum
2
0x0000 0xFFFF
See section 4.4
Error format:
Description
Size [Bytes]
Values
Notes
Address
1
1 247
Function code
1
0x90
Error code
1
1 4
See section 4.2.4
CRC check sum
2
0x0000 0xFFFF
See section 4.4
4.2.4. Description of errors
CODE
Name
0x01
Invalid function
0x02
Invalid data range / address
0x03
Invalid data value
0x04
SLAVE device error
4.3. Data format
4.3.1. Character / byte format
The following figure shows the format of a byte transmitted in the MODBUS
RTU protocol. Each transmitted character has 10 or 11 bits, which are sent in
order from the least significant to the most significant.