IM 05C01E22-10E
3-14
WWR
Writes data into D registers and I relays on a word-by-word basis.
●
Function
Writes information into a sequence of contiguous registers on a word-by-word basis, by the specified
number of words, and starting at the specified register number.
• 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 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)
5
Register
number
1
Comma
or space
2
Number
of words
(n)
1
Comma
or space
4
dddd1
4
dddd2
4
ddddn
2
CPU
number
01
3
WWR
1
0
…
…
2
Checksum
1
ETX
1
CR
Command (continued)
Write data of the specified number of words
ddddn = character string in a hexadecimal pattern
n = 1 to 32
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 “200” into target setpoint of UT150L with address number 03.
The following command writes data 200 (00C8 (HEX)) into the target setpoint 1 (D0120) at address
number 03.
[Command] STX$+
“03010WWRD0120, 01, 00C88F” +ETX$+CR$
“OK” is returned as the response to the above command.
[Response] STX$+
“0301OK5E” +ETX$+CR$
Содержание UT150L
Страница 1: ...User s Manual Model UT150L Communication Functions IM 05C01E22 10E IM 05C01E22 10E 3rd Edition...
Страница 2: ......
Страница 8: ...IM 05C01E22 10E vi Appendix Table of ASCII Codes Alphanumeric Codes App 1 Revision Record i...
Страница 12: ...IM 05C01E22 10E 1 4...
Страница 14: ...IM 05C01E22 10E 2 2...
Страница 38: ...IM 05C01E22 10E 3 24...
Страница 48: ...IM 05C01E22 10E 4 10...
Страница 54: ...IM 05C01E22 10E 6 2...
Страница 56: ...IM 05C01E22 10E App 2...
Страница 58: ......
Страница 59: ......