
3-12
<Toc> <Ind> <3. PC Link Communication >
IM 77J01J11-01E
3.2.8 WRS Specifying D Registers/I Relays to be Monitored on a
Word-by-word Basis
● Function
Specifies the numbers of registers to be monitored on a word-by-word basis. Note that this
command simply specifies registers. Actual monitoring is performed by the WRM com-
mand after the register numbers are specified.
When the volume of data is large and you wish to increase the communication rate, it is
effective to use a combination of the WRS and WRM commands rather than just the WRR
command.
When the power is turned OFF, the register numbers specified 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 a checksum, do not include the 2-byte checksum command
element in the command.
● Command/Response (for normal operation)
Number of Bytes 12 213 2 5 1 5 1
CPU
number
01
Command (continued)
5211
• • •
Command
Element
STX Address
number
(ADDRESS)
Number
of words
(n)
Register
number 1
Comma
or space
Register
number 2
Comma
or space
0 WRS
Register
number n
ETX CR• • • Checksum
12 222 11Number of Bytes
ETX CRResponse
Element
STX Address
number
(ADDRESS)
CPU
number
01
OK Checksum
030221E.EPS
● Example:
Specifying the input value (%) and output value (%) of the VJ Series signal conditioner with
communication address-1 are to be monitored
The following command specifies that the input value (
D0004) and output value (D0008) at
communication address-1 are to be monitored.
(This command simply specifies the registers to be monitored.)
[Command]
[STX]01010WRS02D0004,D000890[ETX][CR]
CPU number: 01 D register numbers
030222E.EPS
OK is returned as a response to the above command.
[Response]
[STX]0101OK5C[ETX][CR]
3rd Edition : Oct. 15, 2007-00
Comentarios a estos manuales