Write Multiple Output Statuses (Function Code 0X0F) - 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.7 Write Multiple Output Statuses (Function Code 0x0F)

Function Code
Starting Address
Quantity of Outputs
Byte Count
Outputs Value
Function Code
Starting Address
Quantity of Outputs
Function Code
Exception Code
Here is an example of a request to write a series of 10 output statuses, starting from output status 20:
Field
Function Code
Starting Address: High
Starting Address: Low
Quantity of Outputs: High
Quantity of Outputs: Low
Byte Count
Outputs Value: High
Outputs Value: Low
Outputs Status 20–27
Hex
b0 b1 b2 b3 b4 b5 b6 b7 b0 B1 b2 b3 b4 b5 b6 b7
Binary
1
0
Outputs Status
20 21 22 23 24 25 26 27 28 29
*N=quantity of outputs / 8, if the remainder is different than 0gN=N+1
Write Multiple Output Statuses
Request
Hex
0F
00
13
00
0A
02
CD
01
CD
1
1
0
0
1
1
Request
1 Byte
2 Bytes
2 Bytes
1 Byte
N x 1 Byte
Response
1 Byte
2 Bytes
2 Bytes
Error
1 Byte
1 Byte
Field
Function Code
Starting Address: High
Starting Address: Low
Quantity of Outputs: High
Quantity of Outputs: Low
Outputs Status 28–29
01
1
0
0
0
0
0
-
-
-
-
14
0x0F
0x0000~0xFFFF
0x0000~0x07B0
N
0x0F
0x0000~0xFFFF
0x0000~0x07B0
0x8F
01 or 02 or 03 or 04
Response
0
0
-
-
Hex
0F
00
13
00
0A

Publicidad

Tabla de contenido
loading

Tabla de contenido