17
Loop Back Communication Test (Function Code 08)
Powermeter
Address
Function
(08)
Diagnostic
Code (0)
Data Error
Check
1 byte 1 byte 2 bytes 2 bytes 2 bytes
The purpose of the Loop back test is to check the communication system between a specified
Powermeter and the PC.
Meaning of message fields:
Diagnostic Code Designate action to be taken in Loop back test. The protocol supports
only Diagnostic Code = 0 - return query data.
Data Query data. The data passed in this field will be returned to the master
through the Powermeter. The entire message returned should be
identical to the message transmitted by the master, field-per-field.
Response
Powermeter
Address
Function
(08)
Dianostic.
Code (0)
Data Error
Check
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Exception Responses
The slave sends an exception response when errors are detected in the received message. To
indicate that the response is a notification of an error, the high order bit of the function code is set
to 1. The format of the exception response is:
Powermeter
Address
Function high order
bit is set to 1
Exception
Code
Error
Check
1 byte 1 byte 1 byte 2 bytes
Exception Response Codes defined in MODBUS:
01 Illegal function
02 Illegal data address (table number or start address is not valid)
03 Illegal data value
06 Busy, rejected message; the message was received without error, but the Powermeter
is programming from keypad mode (only for requests dealing with tables 6 through 11).