52
EN
MODBUS RTU / MODBUS TCP for Modulys GP 2.0 - ITYS PRO UPS - Masterys GP4 UPS - Masterys BC+ UPS range - Ref.: IOMXXXOPXX00-EN 00
9. MODBUS PROTOCOL
9.1 Functions used
0x03
READ data
0x06
WRITE command or one word
0x10
Set UPS Clock – write several words
9.2 Summary of frame format
Function 0x03: bytes frame description
Slave
Function
Address
Length
CRC
1
0x03
MSB
LSB
MSB
LSB
MSB
LSB
By default
MODBUS TABLE
Number of words
Computed
Answer
Slave
Function
Nb bytes
Data
CRC
1
0x03
2 * nb of
words
MSB
LSB
MSB
LSB
Values
….
Computed
Function 0x06: bytes frame description
Slave
Function
Address
Data
CRC
1
0x06
MSB
LSB
MSB
LSB
MSB
LSB
By default
MODBUS TABLE
Value to write
Computed
Answer
Slave
Function
Address
Data
CRC
1
0x06
MSB
LSB
MSB
LSB
MSB
LSB
MODBUS TABLE
Value to write
Computed
Function 0x10: bytes frame description
Slave
Function
Address
Length
Length
Data
CRC
1
0x10
MSB
LSB
MSB
LSB
MSB
LSB
MSB
LSB
By
default
MODBUS
TABLE
Number of words to
write
Number of
bytes
Values to write
Computed
Answer
Slave
Function
Address
Length
CRC
1
0x10
MSB
LSB
MSB
LSB
MSB
LSB
MODBUS TABLE
Nb of words written
Computed