IM 05C01E22-10E
3-7
Chapter 3 PC Link Communication
3.2.3
Commands
BRD
Reads I relays on a bit-by-bit basis.
●
Function
Reads a sequence of contiguous ON/OFF statuses by the specified number of bits starting at a speci-
fied I relay number.
• The number of bits to be read at a time is 1 to 48.
• 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 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
Comma
or space
3
Number
of bits
(n)
2
CPU
number
01
2
Checksum
3
BRD
1
ETX
1
CR
1
0
Number of
Bytes
Response
element
1
STX
2
Address
number
(ADR)
2
CPU
number
01
…
…
1
dn
2
Checksum
1
ETX
1
CR
2
OK
1
d1
1
d2
1
d3
dn: read data to the extent of the specified number of bits (n = 1 to 48)
dn = 0 (OFF)
dn = 1 (ON)
The response is “0” when the status is OFF or “1” when ON.
●
Example: Reading the status of alarm 1 of the UT150L with address number 01
The following command reads the status of alarm 1 (I0001) at address number 01.
[Command]
STX$+ “01010BRDI0001, 00191” +ETX$+CR$
The following response is returned with respect to the above command. (Alarm 1 is ON.)
[Response] STX$+
“0101OK18D” +ETX$+CR$
Alarm has been ON since 1 was returned.
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: ......