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

Page 124

Advertising
background image

<Toc> <Ind>

<8. PR201 Original Communication Protocol>

8-9

IM 77C01E01-10E

Parameter: 5 (Instantaneous current-1), parameter: K (Instantaneous current-
2), Parameter: L (Instantaneous current-3)

• Function

Reads current-1 by parameter: 5, current-2 by parameter: K and current-3 by parameter: L.

• Command/response

Number

of bytes

1

2

1

2

2

1

1

Command

element

STX

DG

5

(K)

(L)

Station

number

(ADR)

Checksum ETX

CR

There is no command data for data reading.

1

2

1

2

8

Response

element

STX

DG

5

(K)

(L)

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+5)

• Example

Reads current-1 of PR300 with station number 01.

ᮀᮀ

indicates the checksum value.

[Command]

[STX]DG501

ᮀᮀ

[ETX][CR]

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

[Response]

[STX]DG5011.000E+3

ᮀᮀ

[ETX][CR]

Parameter: 6 (Instantaneous power factor)

• Function

Reads a power factor.

• Command/response

Number

of bytes

1

2

1

2

2

1

1

Command

element

STX

DG

6

Station

number

(ADR)

Checksum ETX

CR

There is no command data for data reading.

1

2

1

2

6

Response

element

STX

DG

6

Station

number

(ADR)

᭝ٗ

.

ٗٗٗ

2

1

1

Checksum ETX

CR

Number

of bytes

Response data is returned as a 6-byte ASCII character string (D0.500 to 1.000 to G0.500).

Advertising