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

Page 103: Response (for normal operation)

Advertising
background image

<Toc> <Ind>

< 6. Modbus/TCP Communication Protocol>

6-9

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

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

Request (for nomal operation): Writing data to n registers

1

2

2

2n

Data 1

Data n

Element

Number of bytes

Command

element

MBAP Header

2

2

2

2

2

1

1

Hex value

Arbitrary

0000

2n+7

n

01 to 99

10

PDU

PDU

Unit ID

Function

code

Transaction ID

Protocol ID

Register

start number

Number of

registers

Number of

bytes

Byte

count

Request (continued)

● ● ● ●

Response (for normal operation)

01 to 99

Element

Number of bytes

Command

element

MBAP Header

2

2

2

2

2

1

1

Hex value

Arbitrary

0000

0006

10

n

PDU

Unit ID

Function

code

Transaction ID

Protocol ID

Register

start number

Number of

registers

Number of

bytes

Advertising