IM 05C01E22-10E
3-18
WRM
Monitors the D register and I relays on a word-by-word basis.
●
Function
Reads register information that has been specified in advance by the WRS command.
• Before executing this command, the WRS command must always be executed to specify which
registers are to be monitored. If no register has been specified, error code 06 is generated. This error
also occurs if the power supply is turned off.
• 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
CPU
number
01
3
WRM
1
0
2
Checksum
1
ETX
1
CR
Number of
Bytes
Response
element
1
STX
2
Address
number
(ADR)
2
CPU
number
01
4
dddd1
4
dddd2
4
ddddn
2
OK
…
…
2
Checksum
1
ETX
1
CR
Read data of the number of words specified by the WRS command
ddddn = character string in a hexadecimal pattern
n = 1 to 16
The response is returned in a 4-digit character string (0000 to FFFF) in a hexadecimal pattern.
●
Example: Monitoring the measured input value of UT150L with address number 01
The following command monitors the measured input value (D0002) at address number 01.
(This command reads the statuses of the registers specified by the WRS command.)
[Command] STX$+
“01010WRME8” +ETX$+CR$
CPU number: 01
The measured input value 200 (00C8 (HEX)) is returned as the response to the above command.
[Response] STX$+
“0101OK00C837” +ETX$+CR$
Measured input value: 200
Содержание 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: ......