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

<3. PC Link Communication >
3-17
IM 77J04J11-01E 1st Edition : 2006.08.25-00
WRS Specifies D registers and I relays to be monitored on a word-by-word
basis
●
Function
Specifies the register numbers to be monitored on a word-by-word basis. Note that this
command simply specifies the registers. Actual monitoring is performed by the WRM
command after the register numbers are specified by this command.
When the volume of data is large and you wish to increase the baud rate, it is effective to
use a combination of the WRS and WRM commands rather than just the WRR command.
If the power supply is turned off, the specified register numbers will be erased.
•
The number of words to be specified at a time is 1 to 32.
•
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
2
5
1
5
1
CPU
number
01
Command (continued)
5
2
1
1
• • •
Command
element
STX
Address
number
(ADR)
Number
of words
(n)
Register
number 1
Comma
or space
Register
number 2
Comma
or space
0
WRS
Register
number n
ETX
CR
• • •
Checksum
1
2
2
2
2
1
1
Number of Bytes
ETX
CR
Response
element
STX
Address
number
(ADR)
CPU
number
01
OK
Checksum
●
Example:
Specifying that the alarm-1 setpoint and alarm-2 setpoint of the M Series with address
number 01 are to be monitored
(This command simply specifies the registers to be monitored.)
[Command]
[STX]01010WRS02D0101,D010289[ETX][CR]
CPU number: 01
D register numbers
OK is returned in response to the above command.
[Response]
[STX]0101OK5C[ETX][CR]