IM 05C01E22-10E
3-16
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 registers of the specified number of words
in a random order.
• The number of words to be written at a time is 1 to 16.
• 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 the checksum, do not include the 2-byte checksum command element in the command.
●
Command/Response (for normal operation)
Number of
Bytes
Command
element
1
STX
2
Address
number
(ADR)
2
Number
of words
(n)
5
Register
number
1
1
Comma
or space
1
Comma
or space
1
Comma
or space
1
Comma
or space
5
Register
number
2
5
Register
number
n
2
CPU
number
01
3
WRW
4
dddd1
4
dddd2
4
ddddn
1
0
…
…
2
Checksum
1
ETX
1
CR
Command (continued)
Repetition of register numbers and write information by the specified number of words
ddddn = character string in a hexadecimal pattern
n = 1 to 16
Write information is specified in a 4-digit character string (0000 to FFFF) in a hexadecimal pattern.
Number of
Bytes
Response
element
1
STX
2
Address
number
(ADR)
2
CPU
number
01
2
OK
2
Checksum
1
ETX
1
CR
●
Example: Writing “20.0” into target setpoint 1 of UT150L with address number 10 and “15.0” into
the alarm-1 setpoint.
[Response] STX$+
“1001OK5C” +ETX$+CR$
[Command] STX$+
“10010WRW02D0120, 00C8, D0101, 009694” +ETX$+CR$
“OK” is returned as the response to the above command.
The following command writes
“20.0” into target setpoint 1 (D0120) and “15.0” into the alarm-1 setpoint (D0101) at address number 10.
Alarm setpoint: 150
Target setpoint: 200
Summary of Contents for UT150L
Page 1: ...User s Manual Model UT150L Communication Functions IM 05C01E22 10E IM 05C01E22 10E 3rd Edition...
Page 2: ......
Page 8: ...IM 05C01E22 10E vi Appendix Table of ASCII Codes Alphanumeric Codes App 1 Revision Record i...
Page 12: ...IM 05C01E22 10E 1 4...
Page 14: ...IM 05C01E22 10E 2 2...
Page 38: ...IM 05C01E22 10E 3 24...
Page 48: ...IM 05C01E22 10E 4 10...
Page 54: ...IM 05C01E22 10E 6 2...
Page 56: ...IM 05C01E22 10E App 2...
Page 58: ......
Page 59: ......