IM 05C01E22-10E
3-9
Chapter 3 PC Link Communication
BRR
Reads I relays on a bit-by-bit basis in a random order.
●
Function
Reads the ON/OFF statuses of I relays at intervals of the specified number of bits in a random order.
• The number of bits to be read 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 a checksum function. When performing communication
without a 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
I relay
number
1
2
Number
of bits
(n)
1
Comma
or space
1
Comma
or space
5
I relay
number
2
2
CPU
number
01
3
BRR
1
0
Number of
Bytes
Response
element
1
STX
2
Address
number
(ADR)
2
CPU
number
01
2
OK
1
d1
1
d2
1
dn
…
…
…
…
2
Checksum
2
Checksum
5
I relay
number
n
1
ETX
1
CR
1
ETX
1
CR
Command (continued)
dn: read data to the extent of the specified number of bits (n = 1 to 16)
dn = 0 (OFF)
dn = 1 (ON)
The response is “0” when the status is OFF or “1” when ON.
●
Example: Reading the statuses of alarms 1 and 2 of the UT150L with address number 05
The following command reads the statuses of alarm 1 (I0001) and alarm 2 (I0002) at address number 05.
[Command] STX$+
“05010BRR04I0001, I00027F” +ETX$+CR$
With respect to the above command, the ON and OFF responses are returned for alarms 1 and 2
respectively.
[Response] STX$+
“0501OK10C1” +ETX$+CR$
Alarm 1 has been ON.
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: ......