
3-27
IM 05P07A01-01EN
Description of RS-485 Communication (for UT
Advanced with RS-485 Communication)
3
BRD Reading I relays on a bit-by-bit basis
Function
Reads the ON/OFF status of a sequence of contiguous I relays 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 (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 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
5
1
3
2
1
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
BRD
I relay No.
, or
space
Number
of bits (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 256)
dn = 0 (OFF)
dn = 1 (ON)
BWR Writing data into I relays on a bit-by-bit basis
Function
Writes ON/OFF data into a sequence of contiguous I relays by the specified number of
bits, starting at a specified I relay number.
• The number of bits to be written at a time is 1 to 256 (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 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
5
1
3
1
1
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
BWR
I relay No.
, or
space
Number
of bits (n)
, or
space
d1 d2
Continuation of command
• • •
1
2
1
1
• • •
dn 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 256)
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...