
3-29
IM 05P07A01-01EN
Description of RS-485 Communication (for UT
Advanced with RS-485 Communication)
3
BRS Specifying I relays to be monitored on a bit-by-bit basis
Function
Specifies the numbers of I relays to be monitored on a bit-by-bit basis. Note that this
command simply specifies I relays. Actual monitoring is performed by the BRM command
after the I relay numbers are specified with this command.
When the volume of data is large and you wish to increase the communication rate, it
is effective to use a combination of the BRS and BRM commands rather than the BRD
command. If the power supply is turned off, the specified I relay numbers will be erased.
• The number of registers to be specified at a time is 1 to 32.
• For details on the response format at an error, see “3.2.3 Configuration of Response.”
• The command/response 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 (during normal operation)
Number of
bytes
1
2
2
1
3
2
5
1
5
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
BRS
Number
of bits
(n)
I relay
No. 1
, or
space
I relay
No. 2
, or
space
Continuation of command
• • •
5
2
1
1
• • •
I relay
No. n
Checksum
ETX
CR
Number of
bytes
1
2
2
2
2
1
1
Response
element
STX
Address
No.
(ADR)
CPU
No. (01)
OK
Checksum
ETX
CR
BRM Monitoring I relays on a bit-by-bit basis
Function
Reads the ON/OFF status 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. This error also occurs if the power supply is turned off.
• For details on the response format at an error, see “3.2.3 Configuration of Response.”
• 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 (during normal operation)
Number of
bytes
1
2
2
1
3
2
1
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
BRM
Checksum
ETX
CR
Number of
bytes
1
2
2
2
1
1
1
• • •
1
2
1
1
Response
element
STX
Address
No.
(ADR)
CPU
No. (01)
OK
d1
d2
d3
• • •
dn Checksum
ETX
CR
The response is “0” when the status is OFF or “1” when ON.
dn: read data of the specified number of bits (n = 1 to 32)
dn = 0 (OFF)
dn = 1 (ON)
3.2 PC Link Communication
Summary of Contents for UTAdvanced Series
Page 17: ...Blank Page...
Page 77: ...Blank Page...
Page 285: ...Blank Page...
Page 325: ...Blank Page...
Page 467: ...Blank Page...
Page 557: ...Blank Page...
Page 825: ...Blank Page...
Page 861: ...Blank Page...
Page 863: ...Blank Page...
Page 865: ...Blank Page...