5 command details, Command details -5, Command: dg – Yokogawa PR300 Power and Energy Meter User Manual

Page 120: Command/response, Example

Advertising
background image

<Toc> <Ind>

<8. PR201 Original Communication Protocol>

8-5

IM 77C01E01-10E

8.5

Command Details

Command: DG

Parameter: 0 (Reads measured values in batch)

• Function

This command reads the active energy, optional electric energy (previous and current
values), active power, voltage-1, current-1 and the power factor.

• Command/response

Number

of bytes

1

2

1

2

2

1

1

Command

element

STX

DG

0

Station

number

(ADR)

Checksum ETX

CR

There is no command data for data reading.

1

2

1

2

5

5

5

Response

element

STX

DG

0

Station

number

(ADR)

ٗٗٗٗٗ

Active energy

9

Ϯٗ

.

ٗٗٗ

E

ϩ᭺

(Active power)

ddddd

(Previous

optional

electric

energy value)

ddddd

(Current

optional

electric

energy value)

Number

of bytes

Response data is returned as a 46-byte ASCII character string.

Continued:

8

8

2

1

1

ٗ

.

ٗٗٗ

E

ϩ᭺

(Voltage-1)

ٗ

.

ٗٗٗ

E

ϩ᭺

(Current-1)

6

᭝ٗ

.

ٗٗٗ

(Power factor)

Checksum ETX

CR

• Example

The PR300 measured values of station number 01 are read out in a batch.

ᮀᮀ

indicates

the checksum value.

[Command]

[STX]DG001

ᮀᮀ

[ETX][CR]

The following response is returned for the above command.

[Response]

[STX]DG001100001000010000+1.000E+31.000E+31.000E+3G0.800

ᮀᮀ

[ETX][CR]

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(1) Active energy: 10000 kWh, (2) Optional electric energy (previous value):
10000 Wh, (3) Optional electric energy (current value): 10000 Wh, (4) Active
power: +1.000E+3 W (10000 W), (5) Voltage-1: 1.000E+3 V (1000 V),
(6) Current-1: 1.000E+3 A (1000 A) and (7) Power factor: G0.800.

Advertising