
3-28
IM 05P07A01-01EN
BRR Reading I relays on a bit-by-bit basis in a random order
Function
Reads the ON/OFF status of the individual I relays specified in a random order by the
specified number of bits.
• The number of bits to be read at a time is 1 to 32 (decimal).
• For details on the response format at an error, see “3.2.3 Configuration of Response.”
• The command/response shown below includes a 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
BRR
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
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)
BRW Writing data into I relays on a bit-by-bit basis in a random order
Function
Writes ON/OFF status in the individual I relays specified in a random order by the
specified number of bits.
• The number of bits to be written at a time is 1 to 32 (decimal).
• 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
1
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
BRW
Number
of bits
(n)
I relay
No. 1
, or
space
d1
, or
space
Continuation of command
5
1
1
1
• • •
5
1
1
2
1
1
I relay
No. 2
, or
space
d1
, or
space
• • •
I relay
No. n
, or
space
d2 Checksum
ETX
CR
Write information is “0” to set OFF or “1” to set ON.
dn: write data of the specified number of bits (n = 1 to 32)
dn = 0 (OFF)
dn = 1 (ON)
Number of
bytes
1
2
2
2
2
1
1
Response
element
STX
Address
No.
(ADR)
CPU
No. (01)
OK
Checksum
ETX
CR
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...