4-16
IM 77C01H01-10EN
WRW Writes data into D registers and I relays on a word-by-word basis
in random order
Function
Writes register information specified for each register into the registers specified in a random
order by the specified number of words.
• The number of words to be written 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 write data into I relays on a word-by-word basis.
Data of 16 bits starting at the leading I relay are to be written.
Command/Response (for normal operation)
Number
of Bytes
1
2
2
1
3
2
5
1
4
1
Command
element
STX
Station
number
(ST-NO)
CPU
number
(01)
Time to
wait for
response
(0)
WRW
Number
of words
(n)
Register
number
1
Comma
or
space
dddd1
Comma
or
space
Command (continued)
5
1
4
…
5
1
4
2
1
1
Register
number
2
Comma
or
space
dddd2
…
Register
number
n
Comma
or
space
ddddn
Checksum
ETX
CR
Write information is specified in a 4-digit character string (0000 to FFFF) in hexadecimal.
ddddn: repetition of register numbers and write information of the specified number of words
(
ddddn = character string in hexadecimal
)
n = 1 to 32 words
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
Write “1” into the remote reset (register symbol: RMT RST), active energy reset (register
symbol: kWh RST), reactive energy reset (register symbol: kVarh RST), and apparent
energy reset (register symbol: kVAh RST) of the UPM100 at station number 01.
The following command writes “1” into the remote reset (D0059), active energy reset
(D0060), reactive energy reset (D0093), apparent energy reset (D0097), and regenerative
energy reset (D0064).
[Command]
[STX]01010WRW04D0059,0001,D0060,0001,D0093,0001,D0097,0001,D0064,0001F6
[ETX][CR]
“OK” is returned in response to the above command.
[Response]
[STX]0101OK5C[ETX][CR]
4.2 Command and Response
Summary of Contents for UPM100
Page 2: ......
Page 14: ...Blank ...
Page 58: ...Blank ...
Page 74: ...Blank ...
Page 82: ...Blank ...
Page 86: ...Blank ...
Page 100: ...Blank ...
Page 102: ...Blank ...
Page 103: ......
Page 104: ......