Brd Reading I Relays On A Bit-By-Bit Basis; Bwr Writing Data Into I Relays On A Bit-By-Bit Basis - YOKOGAWA UTAdvanced Series User Manual

Communication interface (rs-485, ethernet)
Table of Contents

Advertisement

 BRD Reading I relays on a bit-by-bit basis
Number of
1
bytes
Command
STX
Address
element
Number of
1
bytes
Response
STX
Address
element
 BWR Writing data into I relays on a bit-by-bit basis
Number of
1
bytes
Command
STX Address
element
Continuation of command
• • •
• • •
Number of
1
bytes
Response
STX
element
IM 05P07A01-01EN
 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)
2
2
1
CPU
Response
No.
No. (01)
waiting
(ADR)
time
2
2
2
1
CPU
OK
d1
No.
No. (01)
(ADR)
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)
 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)
2
2
1
CPU
Response
No.
No. (01)
waiting
(ADR)
time
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)
2
2
2
Address
CPU
OK
Checksum ETX CR
No.
No. (01)
(ADR)
3
5
1
BRD
I relay No.
, or
space
1
1
• • •
1
d2
d3
• • •
dn
Checksum ETX CR
3
5
1
BWR
I relay No.
, or
space
2
1
1
3.2 PC Link Communication
3
2
1
1
Number
Checksum ETX CR
of bits (n)
2
1
1
3
1
1
1
Number
, or
d1
d2
of bits (n)
space
3-27
3

Advertisement

Table of Contents
loading

Table of Contents