9.2
Modbus ASCII-Message Examples
9.2.1
16 Bit access
9.2.1.1
Function Code 3, Read 16-Bit Parameter
Example 1:
Reading parameter
1.
Request: Master Frequency Inverter
Field:
SoF
Addr.
ASC
:
0
Hex
3A
30 31 30
Response: Frequency Inverter Master
Field:
SoF
Addr.
ASC
:
0
Hex
3A
30 31 30
The hexadecimal value sent is 0x056E = 1390. Parameter
Therefore, the rated speed is 1390 min
Example 2:
Reading parameter
1 and No. of Regs field set to 2 (invalid value).
Field:
SoF
Addr.
ASC
:
0
Hex
3A
30 31 30
Error Response: Frequency Inverter Master
Field:
SoF
Addr.
ASC
:
0
Hex
3A
30 31 38
The sent exception code is hexadecimal value 0x04 = SLAVE DEVICE FAILURE.
02/2011
Rated Speed
372 (0x0174) in data set 2 from the frequency inverter with address
Fct.Code
DSet/Par-No.
1
0
3
2
1
33
32 31 37 34 30 30 30 31 36 36 0D 0A
No. of
Fct.Code
Bytes
1
0
3
0
2
33
30
32
-1
.
Rated Speed
372 (0x0174) in data set 0 from the frequency inverter with address
Fct.Code
DSet/Par-No.
1
0
3
0
1
33
30 31 37
Except.
Fct.Code
Code
1
8
3
0
4
33
30 34
No. of Regs
7
4
0
0
0
Par-Wert
LRC
0
5
6
E
8
30 35 36 45 38
Rated Speed
No. of Regs
7
4
0
0
0
2
34
30 30 30 32 38
LRC
EoF
7
8
CR
LF
37
38
0D
0A
Modbus Agile
LRC
EoF
1
6
6
CR LF
EoF
7
CR
LF
37
0D
0A
372 has no decimal places.
LRC
EoF
8
5
CR LF
35 0D 0A
53
Need help?
Do you have a question about the Agile and is the answer not in the manual?
Questions and answers