5-5
Section
Checking Function of the Data Carrier’s Memory
57
Response Format
M
D
0
0
CR
∗
End code
00: Normal completion (at the time of calculation processing only)
75: Normal data (at the time of collation processing only)
76: Data abnormal warning (at the time of collation processing only)
Note:
The unit number is required for 1-to-n procedure(s).
In each check block consisting of the first address and the number of bytes spe-
cified by the user, the area excluding the last two bytes is the calculation area
and the last two-byte area is the check code area of the check block.
If check code write processing is specified with processing code K, the CRC of
the data in the calculation area is calculated and the result is written to the check
code area. If data collation is specified with processing code C, the CRC of the
data in the calculation area is calculated and the result is compared with the data
in the check code area. If the result coincides with the data in the check code
area, end code 75 will be returned. If they do not coincide with each other, end
code 76 will be returned as a warning.
CRC (right digit)
Address
0000
H
0001
H
First address
of the area
The number of
check block bytes
Check code calculation
area (the number of check
block bytes less two bytes)
Check code area
(two bytes)
CRC (left digit)
In the following example, the data in addresses 0010
H
to 0012
H
are checked on
condition that the following data exists in these addresses.
12
H
34
H
56
H
0010
H
0011
H
0012
H
0013
H
0014
H
Data Carrier Memory Check
Command Example