beautypg.com

16 writes data into multiple d registers, Writes data into multiple d registers -14, Function – Yokogawa PR300 Power and Energy Meter User Manual

Page 93: Message (for normal operation), Response (for normal operation)

background image

5-14

<5. Modbus/RTU and ASCII Communication Protocols>

IM 77C01E01-10E

16

Writes data into multiple D registers

Function

This function code writes data into successive D registers by the number starting with a
specified D registers number.

The maximum number of D registers to be written into at a time is 32.

For the format of response in the event of failure, see subsection 5.1.4.

Broadcast addressing is possible (by setting “00” to the station number).
No response is returned when using the broadcast addressing.

Message (for normal operation)

End of Message

Mark

(CR + LF)

None

2

Byte

Count

1

2

Data

(Upper Digit)

1

2

Data

(Lower Digit)

1

2

Error

Check

2

2

Number of

D Registers

(Upper Digit)

1

2

2

1

Number of

D Registers

(Lower Digit)

Massage (continued)

Element

Number of bytes

in RTU mode

Number of bytes

in ASCII mode

Start of

Message

Mark (:)

None

1

Station

Number
(ST-NO)

1

2

Function Code

(10)

1

2

D-Register Start

Number

(Upper Digit)

1

2

2

1

D-Register Start

Number

(Lower Digit)

Response (for normal operation)

Element

Number of bytes

in RTU mode

Number of bytes

in ASCII mode

Start of

Message

Mark (:)

None

1

Number of

D Registers

(Lower Digit)

1

2

Number of

D Registers

(Upper Digit)

1

2

Error

Check

2

2

Station

Number
(ST-NO)

1

2

None

End of Message

Mark

(CR + LF)

2

Function

Code

(10)

1

2

D-Register

Start Number

(Upper Digit)

1

2

2

1

D-Register

Start Number

(Lower Digit)

Response (continued)