4-17
IM 77C01H01-10EN
PC Link Communication
4
WRS Specifies the D registers and I relays to be monitored on a word-by-word basis
Function
Specifies the numbers of the registers 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.
If 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 the WRR command. If
the power supply 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 4.1.2.
• The command shown below includes the checksum function. When performing
communication without the checksum, do not include the 2-byte checksum element in the
command.
• Specify the leading I relay number to read I relays on a word-by-word basis. Data of 16
bits starting at the leading I relay are to be read.
Command/Response (for normal operation)
Number
of Bytes
1
2
2
1
3
2
5
1
5
1
Command
element
STX
Station
number
(ST-NO)
CPU
number
(01)
Time to
wait for
response
(0)
WRS
Number
of words
(n)
Register
number
1
Comma
or
space
Register
number
2
Comma
or
space
Command (continued)
…
5
2
1
1
…
Register
number
n
Checksum
ETX
CR
Number
of Bytes
1
2
2
2
2
1
1
Response
element
STX
Station
number
(ST-NO)
CPU
number
(01)
OK
Checksum
ETX
CR
Example
Specify that the instantaneous active power (register symbol: W L and W H) of the UPM100
at station number 01 is to be monitored. (This command simply specifies the registers.)
The following command specifies the instantaneous active power (D0007 and D0008) to be
monitored.
[Command]
[STX]01010WRS02D0007,D000893[ETX][CR]
“OK” is returned in response to the above command.
[Response]
[STX]0101OK5C[ETX][CR]
4.2 Command and Response
Содержание UPM100
Страница 2: ......
Страница 14: ...Blank ...
Страница 58: ...Blank ...
Страница 74: ...Blank ...
Страница 82: ...Blank ...
Страница 86: ...Blank ...
Страница 100: ...Blank ...
Страница 102: ...Blank ...
Страница 103: ......
Страница 104: ......