beautypg.com

Despatch P1400+ Temperature Controller User Manual

Page 68

background image

62

Note:

The Response normally returns the same data as the Query.

Pre-Set Multiple Registers (Function 10 Hex)

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

Table 22.

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 23.

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