3. RKC COMMUNICATION PROTOCOL
IMR02F04-E1
20
2.
Identifier (2 digits)
The identifier indicates the type of data (measured value, status and set value) sent to the host
computer.
For details, refer to
5. COMMUNICATION DATA LIST (P. 42)
.
3.
Data (6 digits)
Data indicated by the identifier belonging to the PG500. It is expressed in decimal ASCII code
including a minus sign (-) and a decimal point. Data is not zero-suppressed.
The data of “Model codes: ID” has 32 digits.
The data of “ROM version monitor: VR” has 9 digits.
4.
ETX
ETX is a transmission control character used to indicate the end of text transmission.
5.
BCC
BCC (Block Check Character) detects error by using horizontal parity (even number).
Calculation method of BCC:
Exclusive OR
all data and characters from STX through ETX, not
including STX.
Example:
STX
M 1 0 1 0 0 . 0
ETX BCC
4DH 31H 30H 31H 30H 30H 2EH 30H 03H
BCC
=
4DH
31H
30H
31H
30H
30H
2EH
30H
03H
=
60H
(
: Exclusive
OR
)
Value of BCC becomes 60H
(4) EOT sent from the PG500 (Ending data transmission from the PG500)
In the following cases, the PG500 makes a timeout judgment after about 3 seconds, sends EOT, and
ends the data link:
When the specified identifier is invalid
When all the data has been sent
When there is an error in the data type
(5) No response from the PG500
The PG500 will not respond if the polling address is not received correctly. It may be necessary for
the host computer to take corrective action such as a time-out.
When a unit address is different
When there is an error in the data
When the number of data digit is longer than the specification.
Hexadecimal numbers