24
The User Program
Section 2-3
Auto Read/Write Abort
This command aborts Auto Read and Auto Write. When this command is exe-
cuted, the ID Sensor Unit is initialized and waits for the next command.
If, after initialization, the ID Sensor Unit receives Auto Read/ Write Abort from
the CPU, the Unit recognizes it as an undefined command and waits for fur-
ther command input from the CPU. While the Unit is waiting for a command,
Waiting for Data Carrier (word n+4 bit 01) is ON.
Data Management
(IDS01-V1 Only)
Data Check
By adding a check code to the Data Carrier data, it is possible to detect a data
error due to the battery of the SRAM Data Carrier or excessive overwriting
operations of the EEPROM Data Carrier. Use the MD-K command to calcu-
late and write the check code to the Data Carrier. Use the MD-C command to
collate the check code.
Usage
After data is written to the Data Carrier, use the MD-K command to calculate
and add the check code to the data. To check whether or not the Data Car-
rier’s data is corrupted, use the MD-C command before reading the data and
collate the check code.
Command
It is possible to calculate, write, or collate the CRC code (see note) in the
check area designated by the command. The CRC code is calculated by
using the generating function X
16
+ X
12
+ X
5
+ 1.
Note
CRC stands for cyclic redundancy check. The cyclic redundancy
check is an error detection method.
15
A
4
1
2
*
A
00
A
4
1
D
This is OP (operation) code indicating
that the command is Auto Read/Write
Abort.
This is OP code represented in ASCII code.
Terminator
ASCII code
0
Write
stage
Read
stage
Data right
Check code calculation
Check code collation
Data read
Содержание SYSMAC C200H-IDS01-V1
Страница 1: ...OPERATION MANUAL ID Sensor SYSMAC C200H IDS01 V1 IDS21 Cat No W153 E1 04...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS Glossary 89 Index 91 Revision History 95...
Страница 9: ......
Страница 15: ...xvi Application Precautions 5...
Страница 25: ......
Страница 95: ......
Страница 97: ......
Страница 98: ...83 Appendix C ASCII Code List ASCII Code List Lower digit lower 4 bits Higher digit higher 4 bits...
Страница 99: ......
Страница 103: ......
Страница 109: ......
Страница 111: ......
Страница 114: ...SYSMAC C200H IDS01 V1 IDS21 ID Sensor Cat No W153 E1 04 OPERATION MANUAL...