
3-12
<Toc> <Ind> <3. PC Link Communication >
IM 77J04J11-01E 1st Edition : 2006.08.25-00
BRM Monitors I relays on a bit-by-bit basis
● Function
Reads the ON/OFF statuses of the I relays that have been specified in advance by the
BRS command.
• Before executing this command, the BRS command must always be executed to
specify which I relays are to be monitored. If no relay has been specified, error code
06 is returned.
• 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 element in the command.
● Command/Response (for normal operation)
Number of Bytes 1 2 2 1 3 2 1 1
Command
element
STX 0 BRM ETX CRAddress
number
(ADR)
CPU
number
01
Checksum
• • •
Number of Bytes 1 2 2 2 1 1 1 1 2 1 1
Response
element
STX OK d1 d2 d3 ETX CRAddress
number
(ADR)
CPU
number
01
• • • dn Checksum
Responses 0 and 1 indicate OFF and ON respectively.
dn: read data of the number of bits specified by the BRS command (n=1 to 32)
dn=0 (OFF)
dn=1 (ON)
● Example:
Monitoring the burnout, alarm 1 and alarm 2 of the M Series with address number 01 when
they have been specified to be monitored.
(This command reads the statuses of the I relays specified by the BRS command.)
[Command]
[STX]01010BRMA3[ETX][CR]
The ON/OFF statuses of the I relays are returned with respect to the above command.
[Response]
[STX]0101OK000EC[ETX][CR]
All have been OFF.
Comentarios a estos manuales