5 data length, Data length -20 – Yokogawa PR300 Power and Energy Meter User Manual

Page 43

Advertising
background image

3-20

<Toc> <Ind>

<3. Procedures for Setting PR300 Functions>

IM 77C01E01-10E

3.5.5

Data Length

[Procedure]

(1)

To set the data length, write data to the D register in the table below. The data type is
integer.

(2)

After writing that value, write 1 to the RS-485 writing status register, D0277.

D Register

D0275

D0277

Reference No.

40275

40277

H No.

0112

0114

Description

Data length

RS-485 writing status
(D0271 to D0276 are
validated)

Effective Range

0: 8 bits
1: 7 bits

If other than 1: Invalid
If 1: Writing is executed

Initial value of data length: 0 (8 bits)

NOTE

When Modbus/TCP is selected for the protocol, the data length is fixed and unchangeable
at 8 bits.

[Example]

To set the data length to 1 (7 bits):

For station number 01, use PC link communication (without checksum) and the random
write command as shown below:

[Command]

[STX]01010WRW02D0275,0001,D0277,0001[ETX][CR]

[Response]

[STX]0101OK[ETX][CR]

Advertising