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

Page 28

Advertising
background image

3-14

<Toc> <Ind>

<3. PC Link Communication >

IM 77J04J11-01E 1st Edition : 2006.08.25-00

WWR Writes data into D registers and I relays on a word-by-word basis

Function

Writes data into a sequence of contiguous registers on a word-by-word basis by the speci-
fied number of words, starting at a specified register number .

The number of words to be written into at a time is 1 to 64.

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 checksum, do not include the 2-byte
checksum element in the command.-

Command/Response (for normal operation)

Number of Bytes

1

2

2

1

3

5

1

2

1

4

Command

element

STX

Address

number

(ADR)

CPU

number

01

0

WWR

Comma

or space

Register

number

Comma

or space

Number

of words

(n)

dddd1

• • •

Checksum

ddddn

ETX

CR

• • •

4

dddd2

4

2

1

1

Number of Bytes

1

2

2

2

2

1

1

Response

element

STX

Address

number

(ADR)

CPU

number

01

OK

CR

Checksum

ETX

Write data is specified in a 4-digit character string (0000 to FFFF) in hexadecimal.

Command (continued)

ddddn: write data of the specified number of words

ddddn is a character string in hexadecimal.

n=1 to 64

Example:

Writing 200 (00C8 [HEX]) into the alarm-1 setpoint (D0101) of the M Series with address
number 03.

[Command]

[STX]03010WWRD0101,01,00C88E[ETX][CR]

OK is returned in response to the above command.

[Response]

[STX]0301OK5E[ETX][CR]

Advertising
This manual is related to the following products: