Modbus Agile
02/2011
52
Modbus Message Examples
9.1.3
Function Code 8, Diagnostics
Example 1a:
Clearing all Diagnostic Counters (Sub-function 0x0A) in the frequency inverter with address 1.
Request: Master
Frequency Inverter
Field:
Addr.
Func.
Sub-function
Data
CRC
Hex
01
08
00
0A
00
00
C0
09
Response: Frequency Inverter
Master
Field:
Addr.
Func.
Sub-function
Data
CRC
Hex
01
08
00
0A
00
00
C0
09
The response is an echo of the request. All counters are now set to zero.
Example 1b:
With all counters set to zero, read Diagnostic Counter 4, "Slave Message Count" (Sub-function 0x0E)
from the frequency inverter with address 1.
Request: Master
Frequency Inverter
Field:
Addr.
Func.
Sub-function
Data
CRC
Hex
01
08
00
0E
00
00
81
C8
Response: Frequency Inverter
Master
Field:
Addr.
Func.
Sub-function
Data
CRC
Hex
01
08
00
0E
00
01
40
08
The counter value is 1(as this is the 1st message received after setting all counters to zero).
Example 2:
Reading unknown Diagnostic Counter 8 (Sub-function 0x13) from frequency inverter with address 1.
Request: Master
Frequency Inverter
Field:
Addr.
Funk.
Sub-function
Data
CRC
Hex
01
08
00
13
00
00
11
CE
Error Response: Frequency Inverter
Master
Field:
Addr.
Func. Except.
CRC
Hex
01
88
01
87
C0
The exception code sent is hexadecimal value 0x01 = ILLEGAL FUNCTION.
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: ......