
3-6
<Toc> <Ind> <3. PC Link Communication >
IM 77J01J11-01E
3.2.2 BRD Reading 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 specified I relay number.
• The number of bits to be read at a time is 1 to 256.
• 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 a checksum, do not include the 2-byte checksum command
element in the command.
● Command/Response (for normal operation)
Command
Element
STX Address
number
(ADDRESS)
CPU
number
01
0 BRD ETX CRI relay
number
Comma
or space
Number
of bits
(n)
Checksum
OK d1 d2 d3 ETX CRResponse
Element
STX Address
number
(ADDRESS)
CPU
number
01
• • • dn Checksum
The response is “0” when the status is OFF or “1” when ON.
Number of Bytes
• • •
1 2 2 2111 1 2 1 1
Number of Bytes 12 2135 13 2 11
dn: reads data of the specified number of bits (n=1 to 256)
dn=0(OFF)
dn=1(ON)
030206E.EPS
● Example:
Reading the status of alarm-1 of the VJ Series signal conditioner with communication
address-1.
The following command reads the status of alarm-1 (I0009) at communication address-1.
[Command]
[STX]01010BRDI0009,00199[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.
030207E.EPS
3rd Edition : Oct. 15, 2007-00
Kommentare zu diesen Handbüchern