beautypg.com

Despatch Protocol Plus Modbus Communications User Manual

Page 30

background image

Chromalox Instruments and Controls

A-51643 Rev. 6 10/06/03

24

Number of registers hi

$00

Number of registers lo

$03

CRC

$----

Response

The register data in the response message are packed as two bytes per register (one word). For each

register, the first byte contains the high order bits and the second contains the low order bits.

Example response:

Field Name

Data

Slave address

$01

Function

$03

Byte count

$06

Data (register 108 hi)

$00

Data (register 108 lo)

$1E

Data (register 109 hi)

$10

Data (register 109 lo)

$26

Data (register 110 hi)

$02

Data (register 110 lo)

$AC

CRC

$----

5.2.4

[04] Read Input Registers

Class 1 command. Read the contents of input registers in the slave. Broadcast is not supported.

Query

The query message specifies the starting register and quantity of registers to be read. Registers are

addressed starting at 0.

Example: Request to read input register 10 from slave device 17.

Field Name

Data

Slave address

$11

Function

$04

Starting address hi

$00