Modbus Agile
02/2011
58
Modbus Message Examples
9.2.2.3
Function Code 100, Read 32-Bit Parameter
Example 1:
Reading parameter
Fixed Frequency 2
481 in data set 0 from the frequency inverter with address 1.
Request: Master
Frequency Inverter
Field: SoF Addr. Fct.Code
DSet/Par-No.
LRC
EoF
ASC
:
0 1 6
4
0
1
E
1
B
9 CR LF
Hex
3A 30 31 36
34
30 31 45 31 42 39 0D 0A
Response: Frequency Inverter
Master
Field: SoF Addr.
Fct.Code
Para-Value
LRC
EoF
ASC
:
0
1
6
4
0
0
0
0 0 3 E 8 B
0 CR LF
Hex
3A 30 31
36
34
30 30 30 30 30 33 45 38 42 30 0D 0A
The hexadecimal value sent is 0x000003E8 = 1000. Parameter
Fixed Frequency 2
481 has 2 decimal
places.
Therefore, fixed frequency 2 = 10.00 Hz.
Example 2:
Reading unknown parameter 1600 (0x0640) in data set 2 from the frequency inverter with address 1.
Request: Master
Frequency Inverter
Field: SoF Addr. Fct.Code
DSet/Par-No.
LRC
EoF
ASC
:
0 1 6
4
2
6
4
0
3
5 CR LF
Hex
3A 30 31 36
34
32 36 34 30 33 35 0D 0A
Error Response: Frequency Inverter
Master
Field: SoF Addr. Fct.Code Except.
Code
LRC
EoF
ASC
:
0 1 E
4
0
2
1
9 CR LF
Hex
3A 30 31 45
34
30 34 31 37 0D 0A
The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE.
Содержание Agile
Страница 1: ...Agile Modbus Communication manual Frequency inverter 230V 400V ...
Страница 2: ......
Страница 5: ...Modbus Agile 5 02 2011 13 2 Warning Messages Application 76 13 3 Error Messages 76 INDEX 77 ...
Страница 44: ...Modbus Agile 02 2011 44 Handling of Data Sets Cyclic Writing ...
Страница 69: ...Modbus Agile 69 02 2011 10 2 1 Statemachine diagram ...
Страница 78: ......
Страница 79: ......