beautypg.com

Preset multiple registers 16, Examples, Read examples – Watlow CPC400 User Manual

Page 207: Examples 193

background image

CPC400 Series User’s Guide

Appendix A: Modbus Protocol

Doc. 0600-2900-2000

Watlow Anafaze

193

Preset Multiple Registers 16

Presets values into the sequence of holding registers (4X
references). When broadcast, the function presets the same
register references in all attached slaves.

Examples

Read Examples

The data read must be sequentially located. Table A.3 on
page 193 shows the query and Table A.4 on page 193 shows
the response:

Table A.3

Sample Packet for Host Query

Table A.4

Sample Packet for Slave Response

Example

Slave

Address

Function

Start Address

Number of

Points

CRC

High
Byte

Low

Byte

High

Low

Read process variable
of loop 2 from control-
ler with address 1

01

03

00

DE

00

01

E4

30

Read set points of
loops 4 and 5 (500
and 600) from control-
ler with address 3

03

03

00

CF

00

02

F5

D6

Example

Slave

Address

Func-

tion

Byte

Count

Data 1

Data 2

CRC

High

Low

High

Low

Read process variable
of loop 2 from control-
ler with address 1

01

03

02

06

40

BA

14

Read set points of
loops 4 and 5 (500
and 600) from control-
ler with address 3

03

03

04

01 F4

02

58

99

67