Modbus Agile
02/2011
46
Modbus Message Examples
9.1.1.2
Function Code 6, Write 16-Bit Parameter
Example 1:
Writing parameter
Rated Mech. Power
376 (0x0178) in data set 4 to the frequency inverter with ad-
dress 3.
The rated mechanical power is to be set to 1.5 kW. Parameter
Rated Mech. Power
376 has one de-
cimal place.
Therefore the value to be sent is 15 = 0x000F.
Request: Master
Frequency Inverter
Field:
Addr.
Funk.
DSatz/Par-Nr.
Par-Wert
CRC
Hex
03
06
41
78
00
0F
5C
09
Response: Frequency Inverter
Master
Field:
Addr.
Func.
DSet/Par-No.
Par-Value
CRC
Hex
03
06
41
78
00
0F
5C
09
The response is an echo of the request message.
Example 2:
Writing out of range value 0 to parameter 376 (0x0178) in data set 2 to the frequency inverter with
address 3.
Request: Master
Frequency Inverter
Field:
Addr.
Func.
DSet/Par-No.
Par-Value
CRC
Hex
03
06
21
78
00
00
02
0D
Error Response: Frequency Inverter
Master
Field:
Addr.
Func. Except.
CRC
Hex
03
86
04
E2
63
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: ......