Example – Yokogawa PR300 Power and Energy Meter User Manual

Page 104

Advertising
background image

6-10

<Toc> <Ind>

< 6. Modbus/TCP Communication Protocol>

IM 77C01E01-10E

Example

Set both the VT ratio and CT ratio to 1.

[Request] 00010000000F011000C800040800003F8000003F80

(1) “0001”: Arbitrary 2-byte data

(2) “0000”: Protocol ID = 0000 (fixed)

(3) “000F”: Number of bytes

(4) “01”: Unit ID = 01 indicating PR300

(5) “10”: Function code = 16

(6) “00C8”: D register start number 201

(7) “0004”: Number of registers = 4
(8) “08”: Byte count

* The VT ratio and CT ratio data are floating point values.
The combined value of D0201 and D0202, 00003F80, represents 1. That of D0203
and D0204, which is also 00003F80, represents 1 as well (the upper four digits, 3F80,
and the lower four digits, 0000, are reversed).
* The floating point value of 3F800000 is the decimal equivalent of 1.

The following response will be returned to the request above:

[Response] 000100000006011000C80004

(1) “0001”: Arbitrary 2-byte data

(2) “0000”: Protocol ID = 0000 (fixed)

(3) “0006”: Number of bytes

(4) “01”: Unit ID = 01 indicating PR300

(5) “10”: Function code = 16

(6) “00C8”: D register start number 201

(7) “0004”: Number of D registers = 4

* Numbers in quotation marks are hexadecimal.

D0201 and
D0202

(1)

(2)

(3)

(6)

(4) (5)

(8)

(7)

D0203 and
D0204

(1)

(2)

(3)

(4) (5)

(6)

(7)

Advertising