17
The User Program
Section 2-3
2-3
The User Program
The ID Sensor Unit will not function unless the PC is programmed to control
the operation of the Unit. The Unit communicates with the Data Carrier
through the Read/Write Head by means of the commands provided by the
user program of the PC.
Program examples with detailed explanations are provided in
Section 3-1
Program Examples
.
The following figure shows the basic operation outline of the program.
Operation Outline
Effect of CPU Status on ID
Sensor Unit
The ID Sensor Unit is controlled by the program contained in the CPU; if an
error occurs in the CPU, an error will also occur in the ID Sensor Unit.
The ID Sensor Unit will continue to execute commands when the PC is in
PROGRAM mode.
Communication with the
CPU
The ID Sensor Unit reads data from and writes data to the Data Carrier in
accordance with the commands sent from the CPU.
PC
Word data
Dedicated command
Read data
User program
MOV, OUT etc.
(Command execution flag)
MOV, LD instruction etc.
(Error information)
Common
memory
I/O word
words n
through
n+4
ID Sensor Unit
Internal program
Analyzes the
command
and transfers
the data
between PC
and Data
Carrier
Executes
handshaking
and pro-
cesses error
information
R/W
Head
Data
Carrier
Содержание 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...