Pre-set multiple registers (function 10 hex), Exception responses, Ascii – Pyromation Series 610 1_16 DIN User Manual

Page 132

Advertising
background image

1

/

4

-DIN,

1

/

8

-DIN &

1

/

16

- DIN Controllers & Indicators - Product Manual

Pre-Set Multiple Registers (Function 10 Hex)

Writes a consecutive word (two-byte) value to the specified address range.

Table 38. Pre-Set Multiple Registers (Modbus Function 10 Hex)

QUERY

Function 1

st

Word

Address

Number of

Words

Number of

Query Bytes

First value to write

10

HI LO HI LO

HI

LO

RESPONSE

Function

1st Word Address

Number of Words

10 HI LO HI LO

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:

Table 39. Modbus Exception Responses

Exception

Code

Error Condition

Interpretation

00

Unused

None.

01

Illegal function

Function number out of range.

02

Illegal Data Address

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.

03

Illegal Data Value

Attempt to write invalid data / required action not
executed.


The format of an exception response is:

RESPONSE

Function Exception

Code

Original Function code with its

Most

Significant Bit

(MSB) set.

as detailed above

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.


59305, Issue 6 – March 2006

Modbus Communications

Page 127

Advertising
This manual is related to the following products: