14
Response
One or several sub-requests result in one or more sub-responses.
Powermeter
Address
Function
(20)
Byte
Count
Sub-
Response
... Sub-
Response
Error
check
1 byte 1 byte 1 byte ... ... ... 2 bytes
Sub - Response
Sub-response
byte count
Ref Type (06) Data Word 1 ... Data Word N
1 byte 1 byte 2 bytes ... 2 bytes
The Sub-response byte count contains the number of binary bytes in each sub-response: data
length and byte of reference type. Data Word 1 .. N - read data from the table.
The maximum number of query and response message length is 256 bytes.
Write data to parameter (Function Code 21)
Powermeter
Address
Function
( 21 )
Byte
Count
Sub-
Request
... Sub-
Request
Error
Check
1 byte 1 byte 1 byte ... ... ... 2 bytes
Sub - Request
Reference
Type (06)
Table No. Start
Address
Word
Count
Data
Word 1
... Data
Word N
1 byte 2 bytes 2 bytes 2 bytes 2 bytes ... 2 bytes
Several sub-requests can be included in one message. The maximum number of registers to be
written is dependent upon the maximum message length. The maximum query and response
message length is 256 bytes including check characters.
Meaning of message fields:
Byte Count Total number of binary bytes in the message, excluding Powermeter
address, function code, byte count, error check fields
Reference Type Fixed field, must be 06
Table Number Powermeter internal data table number
Starting Address Address of the first word in the table to be read
Word Count Number of words to be written to the table
Data Word1 .. N Data to be written to the table
Response
The normal response to write request is retransmission of a write request.