Modbus Commutation; Read Output Status (Function Code 0X01) - Tripp-Lite S3M25-100kVA Manual Del Propietário

Protocolo modbus de ups trifásico
Tabla de contenido
Idiomas disponibles

Idiomas disponibles

2. MODBUS Protocol Description

2.6 MODBUS Commutation

2.6.1 Read Output Status (Function Code 0x01)

Function Code
Starting Address
Quantity of Inputs
Function Code
Byte Count
Input Status
Function Code
Exception Code
Here is an example of a request to read output status 20–38:
Segment
Function Code
Starting Address: High
Starting Address: Low
Quantity of Outputs: High
Quantity of Outputs: Low
Note:
1. Outputs status 1 is the value of address of 0x0000
2. Outputs status 20 is the value of address of 0x0013
Outputs Status 20–27
Hex
b0 b1 b2 b3 b4 b5 b6 b7 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 30 31 32 33 34 35 36 37 38
*N = quantity of inputs / 8, if the remainder is different than 0gN=N+1
Request
(Hex)
01
00
13
00
13
CD
1
1
0
0
1
1
Request
1 Byte
2 Bytes
2 Bytes
Response
1 Byte
1 Byte
N *Byte
Error
1 Byte
1 Byte
Segment
Function Code
Byte Count
Outputs Status 20–27
Outputs Status 28–35
Outputs Status 36–38
Outputs Status 28–35
6B
1
1
0
1
0
1
8
0x01
0x0000~0xFFFF
1~2000 (0x7D0)
0x02
N *
0x81
01 or 02 or 03 or 04
Response
(Hex)
Outputs Status 36–38
05
1
0
1
0
1
0
-
01
03
CD
6B
05
0
0
0
0
-
-
-
-
Tabla de contenido
loading

Tabla de contenido