beautypg.com

Function, Command/response (for normal operation), Example – Yokogawa JUXTA VJ Series Limit Alarms User Manual

Page 27

background image

<3. PC Link Communication >

3-13

IM 77J01J11-01E

3.2.9

WRM Monitoring D Registers/I Relays on a Word-by-word

Basis

Function

Reads the information of registers that have been specified in advance by the WRS com-
mand.

Before executing this command, the WRS command must always be executed to
specify which registers are to be monitored. If no register has been specified, error
code 06 is generated.

For the format of response in the event of failure, see subsection 3.1.2.

The command shown below includes the checksum function. When performing
communication without a checksum, do not include the 2-byte checksum command
element in the command.

Command/Response (for normal operation)

Number of Bytes

1

2

2

1

3

2

1

1

Number of Bytes

• • •

1

2

2

2

4

4

4

2

1

1

Command

Element

STX

Address

number

(ADDRESS)

CPU

number

01

Checksum

0

WRM

ETX

CR

Response

Element

STX

OK

dddd1

dddd2

ETX

CR

Address

number

(ADDRESS)

CPU

number

01

• • •

ddddn

Checksum

The response is returned in a 4-digit character string (0000 to FFFF) in a hexadecimal pattern.

Reads data of the number of words specified by the WRS command

ddddn is a character string in a hexadecimal pattern.

n=1 to 32

030223E.EPS

Example:

When the input value (%) and output value (%) of the VJ Series signal conditioner with
communication address-1 have been specified to be monitored:

The following command monitors the input value (D0004) and output value (D0008) at
communication address-1.

(This command reads the registers specified by the WRS command.)

[Command]

[STX]01010WRME8[ETX][CR]

CPU number: 01

With respect to the above command, the input value 500 (01F4 (HEX)) and output value
500 (01F4 (HEX)) are returned as responses (50.0% is expressed as 500).

[Response]

[STX]0101OK01F401F412[ETX][CR]

3rd Edition : Oct. 15, 2007-00

This manual is related to the following products: