Pre-Set Multiple Registers (Function 10 Hex)
Writes a consecutive word (two-byte) value to the specified address range.
Table 32. Pre-Set Multiple Registers (Modbus Function 10 Hex)
Function
1
Address
10
HI
Function
10
Note:
The number of consecutive words that can be written is limited to 1.
Exception Responses
When a QUERY is sent that the instrument cannot interpret then an Exception RESPONSE
is returned. Possible exception responses are:
Exception
Code
Unused
00
Illegal function
01
Illegal Data Address
02
Illegal Data Value
03
The format of an exception response is:
Original Function code with ms bit set.
Note:
In the case of multiple exception codes for a single QUERY the Exception code returned is
the one corresponding to the first parameter in error.
Page 98
1
1
/
-DIN,
/
4
8
st
Word
Number of
Words
LO
HI
1st Word Address
HI
Table 33. Modbus Exception Responses
Error Condition
Function
Modbus Communications
1
-DIN &
/
- DIN Controllers & Indicators - Product Manual
16
QUERY
Number of
Query Bytes
LO
RESPONSE
LO
None.
Function number out of range.
Write functions: Parameter number out of range or not
supported. (for write functions only).
Read Functions: Start parameter does not exist or end
parameter greater than 65536.
Attempt to write invalid data / required action not
executed.
RESPONSE
Exception Code
as detailed above
First value to write
HI
Number of Words
HI
Interpretation
59305, Issue 5 – March 2005
LO
LO