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
Summary of Contents for SYSMAC C200H-IDS01-V1
Page 1: ...OPERATION MANUAL ID Sensor SYSMAC C200H IDS01 V1 IDS21 Cat No W153 E1 04...
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS Glossary 89 Index 91 Revision History 95...
Page 9: ......
Page 15: ...xvi Application Precautions 5...
Page 25: ......
Page 95: ......
Page 97: ......
Page 99: ......
Page 103: ......
Page 109: ......
Page 111: ......
Page 114: ...SYSMAC C200H IDS01 V1 IDS21 ID Sensor Cat No W153 E1 04 OPERATION MANUAL...