Example, Command/response – Yokogawa PR300 Power and Energy Meter User Manual

Page 123

Advertising
background image

8-8

<Toc> <Ind>

<8. PR201 Original Communication Protocol>

IM 77C01E01-10E

• Example

Reads the active power of PR300 with station number 01.

ᮀᮀ

indicates the checksum

value.

[Command]

[STX]DG301

ᮀᮀ

[ETX][CR]

Returns a response of active power 1000 W (+1.000E+3 W) for the above command.

[Response]

[STX]DG301+1.000E+3

ᮀᮀ

[ETX][CR]

Parameter: 4 (Instantaneous voltage-1), Parameter: H (Instantaneous voltage-
2), Parameter: J (Instantaneous voltage-3)

• Function

Reads voltage-1 by parameter: 4, voltage-2 by parameter: H and voltage-3 by parameter: J

• Command/response

Number

of bytes

1

2

1

2

2

1

1

Command

element

STX

DG

4

(H)

(J)

Station

number

(ADR)

Checksum ETX

CR

There is no command data for data reading.

1

2

1

2

8

Response

element

STX

DG

4

(H)

(J)

Station

number

(ADR)

ٗ

.

ٗٗٗ

E

ϩ᭺

2

1

1

Checksum ETX

CR

Number

of bytes

Response data is returned as an 8-byte ASCII character string (0.000E+0 to 9.999E+6).

• Example

Reads voltage-1 of PR300 with station number 01.

ᮀᮀ

indicates the checksum value.

[Command]

[STX]DG401

ᮀᮀ

[ETX][CR]

Returns a response of voltage-1: 1000 V (1.000E+3 V) for the above command.

[Response]

[STX]DG4011.000E+3

ᮀᮀ

[ETX][CR]

Advertising