Parameter: z (error response) • function, Command/response, Example – Yokogawa PR300 Power and Energy Meter User Manual

Page 135: Bit information for error response

Advertising
background image

8-20

<Toc> <Ind>

<8. PR201 Original Communication Protocol>

IM 77C01E01-10E

Parameter: Z (Error response)

• Function

Returns an error response.

• Command/response

Number

of bytes

1

2

1

2

2

1

1

Command

element

STX

DG

Z

Station

number

(ADR)

Checksum ETX

CR

There is no command data for data reading.

1

2

1

2

2

Response

element

STX

DG

Z

Station

number

(ADR)

ٗٗ

2

1

1

Checksum ETX

CR

Number

of bytes

Response data is returned in a 2-byte ASCII character string.

• Example

Reads an error response of PR300 with station number 01.

ᮀᮀ

indicates the checksum

value.

[Command]

[STX]DGZ01

ᮀᮀ

[ETX][CR]

Returns a checksum error response for the above command.

[Response]

[STX]DGZ0180

ᮀᮀ

[ETX][CR]

Reads an error response by converting hexadecimal data “80” into binary data
“10000000” and then reading the 7th bit (checksum error).

• Bit information for error response

Bit

Failure Status

0

Overranged power

1

Undefined

2

Undefined

3

Undefined

4

Undefined

5

Command data format error

6

Overranged command data

7

Checksum error

Advertising