Function, Command/response (for normal operation), Example – Yokogawa JUXTA M Series Digital Limit Alarms MVTK User Manual
Page 23

<3. PC Link Communication >
3-9
IM 77J04J11-01E 1st Edition : 2006.08.25-00
BRR Reads I relays on a bit-by-bit basis in random order
●
Function
Reads the ON/OFF statuses of the individuaI I relays specified in random order by the
specified number of bits.
•
The number of bits to be read at a time is 1 to 32.
•
For the format of response in the event of failure, see subsection 3.1.2.
•
The command shown below includes the checksum function.
When performing communication without 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
5
1
5
1
Command
element
STX
Address
number
(ADR)
CPU
number
01
0
BRR
Number
of bits
(n)
I relay
number 1
Comma
or space
I relay
number 2
Comma
or space
• • •
I relay
number n
Checksum
ETX
CR
• • •
5
2
1
1
Number of Bytes
• • •
1
1
2
2
2
1
1
2
1
1
Response
element
STX
Address
number
(ADR)
CPU
number
01
OK
d1
d2
CR
• • •
dn
Checksum
ETX
Responses 0 and 1 indicate OFF and ON respectively.
Command (continued)
dn: read data of the specified number of bits (n=1 to 32)
dn=0(OFF)
dn=1(ON)
●
Example:
Reading the statuses of alarms 1 and alarm 2 of the M Series with address number 01.
The following command reads the statuses of alarm 1 (I0001) and alarm 2 (I0002) of
address number 01.
[Command]
[STX]01010BRR02I0001,I00027B[ETX][CR]
The ON and OFF responses are returned for alarm1 and alarm 2 respectively with respect
to the above command.
[Response]
[STX]0101OK10BD[ETX][CR]
Alarm 1 has been ON.