Download Heat-resistive RFID System
Transcript
Section 4 Reading from/Writing to Tags DATA CHECK (MD C/K) This command writes or compares the CRC code for the specified check block in byte units. The CRC code is calculated from the generated polynomial expression X16 + X12 + X5 + 1. Command Command Process Channel setting designation code Controller No. @ × × M D C/K 1 1 1 2 3 Number of check block bytes Start address × × × × × 4 × FCS × 2 Name Terminator × * CR 2 2 Details Section 4 Communications Commands Process setting Specifies the check process. C: Check code comparison K: Check code calculation Channel designation Always 1 Start address Specifies the start address of the check block in 4-digit hexadecimal. Setting range: 0000h to 03E5h Number of check block bytes Specifies the number of bytes for the check block in 2-digit hexadecimal. Setting range: 03h to FFh, 00h (00: 256 bytes) Response Controller No. @ × Command code × M D End code 0 × 0 2 3 FCS Terminator × * CR 2 2 2 Name Details End code Indicates the execution result for the command. The end code 00 indicates normal completion. (calculation processing only) 75: Data normal (comparison processing only) 76: Data error warning (comparison processing only) • Example Adding the check code to 4-byte data from Controller No. 2 address 0010h. Command Command code Controller No. @ 0 2 M D Data Antenna type designation K 1 1 1 2 3 Number of check block bytes Start address 0 0 1 0 4 @ 0 3 70 Command code 2 M D 2 Heat-resistive RFID System User's Manual End code 0 0 2 FCS 4 Terminator B 2 6 2 Response Controller No. 0 * CR 2 FCS 3 Terminator 6 2 * CR 2