Write Multiple Registers (Function Code 0X10) - Tripp-Lite S3M25-100kVA Manual Del Propietário

Protocolo modbus de ups trifásico
Tabla de contenido

Publicidad

Idiomas disponibles

Idiomas disponibles

2. MODBUS Protocol Description

2.6.8 Write Multiple Registers (Function Code 0x10)

Function Code
Starting Address
Quantity of Registers
Byte Count
Registers Value
Function Code
Starting Address
Quantity of Registers
Function Code
Exception Code
Here is an example of a request to write two registers starting from 0x0001:
Field
Function Code
Starting Address: High
Starting Address: Low
Quantity of Registers: High
Quantity of Registers: Low
Byte Count
Registers Value: High
Registers Value: Low
Registers Value: High
Registers Value: Low
*N=quantity of registers
Write Multiple Registers
Request
Hex
10
00
01
00
02
04
00
0A
01
02
Request
1 Byte
2 Bytes
2 Bytes
1 Byte
N x 2 Bytes
Response
1 Byte
2 Bytes
2 Bytes
Error
1 Byte
1 Byte
Field
Function Code
Starting Address: High
Starting Address: Low
Quantity of Registers: High
Quantity of Registers: Low
15
0x10
0x0000~0xFFFF
1–123 (0x7B)
2 x N
0x10
0x0000~0xFFFF
1–123 (0x7B)
0x90
01 or 02 or 03 or 04
Response
Hex
10
00
01
00
02

Publicidad

Tabla de contenido
loading

Tabla de contenido