Modbus Agile
51
02/2011
Modbus Message Examples
9.1.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:
Addr.
Funk.
DSatz/Par-Nr.
CRC
Hex
01
64
01
E1
81
DF
Response: Frequency Inverter
Master
Field:
Addr.
Func.
Par-Value
CRC
Hex
01
64
00
00
03
E8
70
BC
The hexadecimal value sent is 0x000003E8 = 1000. Parameter
Fixed Frequency 2
481 has two de-
cimal 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:
Addr.
Func.
DSet/Par-No.
CRC
Hex
01
64
26
40
5B
97
Error Response: Frequency Inverter
Master
Field:
Addr.
Func. Except.
CRC
Hex
01
E4
04
6A
C3
Reading unknown parameter 1600 (0x0640) in data set 2 from the frequency inverter with address 1.
9.1.2.4
Function Code 101, Write 32-Bit Parameter
Example 1:
Writing parameter
Rated Frequency
375 (0x0177) in data set 2 to the frequency inverter with ad-
dress 1.
The rated frequency is to be set to 10.00Hz. Parameter
Rated Frequency
375 has two decimal places.
Therefore the value to be sent is 1000 = 0x03E8.
Request: Master
Frequency Inverter
Field:
Addr. Func.
DSet/Par-No.
Par-Value
CRC
Hex
01
65
21
77
00
00
03
E8
46
C5
Response: Frequency Inverter
Master
Field:
Addr. Func.
DSet/Par-No.
Par-Value
CRC
Hex
01
65
21
77
00
00
03
E8
46
C5
The response is an echo of the request message.
Example 2:
Writing out of range value 9.00 Hz to parameter 375 in data set 2 of the frequency inverter with ad-
dress 1.
Parameter
Rated Frequency
375 has 2 decimal places. The value to be sent is 900 = 0x0384.
Request: Master
Frequency Inverter
Field:
Addr. Func.
DSet/Par-No.
Par-Value
CRC
Hex
01
65
21
77
00
00
03
84
46
E8
Error Response: Frequency Inverter
Master
Field:
Addr. Func. Except.
CRC
Hex
01
E5
04
6B
53
The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE.
Summary of Contents for Agile
Page 1: ...Agile Modbus Communication manual Frequency inverter 230V 400V ...
Page 2: ......
Page 5: ...Modbus Agile 5 02 2011 13 2 Warning Messages Application 76 13 3 Error Messages 76 INDEX 77 ...
Page 44: ...Modbus Agile 02 2011 44 Handling of Data Sets Cyclic Writing ...
Page 69: ...Modbus Agile 69 02 2011 10 2 1 Statemachine diagram ...
Page 78: ......
Page 79: ......