4-12
IM 77C01H01-10EN
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 4.1.2.
• The command shown below includes the checksum function. When performing
communication without the 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
Station
number
(ST-NO)
CPU
number
(01)
Time to
wait for
response
(0)
BRM Checksum
ETX
CR
Number
of Bytes
1
2
2
2
1
1
1
…
1
2
1
1
Response
element
STX
Station
number
(ST-NO)
CPU
number
(01)
OK
d1
d2
d3
…
dn
Checksum ETX
CR
The response is “0” when the status is OFF and “1” when ON.
dn: read data of the number of bits specified by the BRS command (n = 1 to 32)
(
dn = 0 (OFF)
)
dn = 1 (ON)
Example
When the user area (relay symbol: USERAREA) flag of the UPM100 at station number 01
has been specified to be monitored:
(This command reads the statuses of the registers specified by the BRS command.)
[Command]
[STX]01010BRMD3 [ETX] [CR]
The following response is returned with respect to the above command.
[Response]
[STX]0101OK10BD [ETX] [CR]
“1” is set for the user area (I0101) and “0” is set for the user area (I0103).
4.2 Command and Response
Summary of Contents for UPM100
Page 2: ......
Page 14: ...Blank ...
Page 58: ...Blank ...
Page 74: ...Blank ...
Page 82: ...Blank ...
Page 86: ...Blank ...
Page 100: ...Blank ...
Page 102: ...Blank ...
Page 103: ......
Page 104: ......