
8
3.4 Function 16 - Write Multiple Registers
This request allows the user to write the contents of multiple contiguous registers to a single data table
where registers can be written.
Request
Instrument
Address
Function
(16)
Starting
Address
Word
Count
Byte
Count
1 byte
1 byte
2 bytes
2 bytes
1 byte
Data Word 1
...
...
...
Data Word N
Error Check
2 bytes
...
...
...
2 bytes
2 bytes
Starting Address
Address of the first register to be written
Word Count
The number of contiguous words to be written
Byte Count
The number of bytes to be written
Response
Instrument
Address
Function
(16)
Starting
Address
Word
Count
Error
Check
1 byte
1 byte
2 bytes
1 word
2 bytes
3.5 Function 08 - Loop-back Communications Test
The purpose of this request is to check the communications link between the specified instrument and
PC.
Request
Instrument
Address
Function
(08)
Diagnostic
Code (0)
Data
Error
Check
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Diagnostic Code
Designates 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
instrument. The entire message returned will be identical to the message transmitted by the
master, field-per-field.
Response
Instrument
Address
Function
(08)
Diagnostic
Code (0)
Data
Error
Check
1 byte
1 byte
2 bytes
2 bytes
2 bytes
The normal response is the re-transmission of a test message.