Omron SYSMAC C200H-IDS01-V1 Operation Manual page 102

Id sensor
Hide thumbs Also See for SYSMAC C200H-IDS01-V1:
Table of Contents

Advertisement

Using the C200H ID Sensor Unit with CS1-series PCs
Program Example
Execution input
a
(word n+4, bit00)
b
Waiting for
command
execution
b
Example: DM Area used as
command data storage area at
the CPU Unit
Command data in CPU
15
D00000
57
D00001
48
D00002
00
D00003
10
D00004
12
D00005
14
D00006
0D
Note Although the ID Busy flag normally turns OFF upon completion of the command, if the command execu-
tion flag is ON at this time, the ID Busy flag will stay ON. Therefore, design the program so that the com-
mand execution flag will be turned OFF when the ID Busy flag turns ON, as in the example.
200400
ID busy
00
54
WT (Write)
31
H1 (Hexadecimal, Head 1)
06
Beginning address in which data is
to be written in Data Carrier
11
Data to be written to Data Carrier,
13
numbers 10 through 14 (5 bytes)
2A
If the number of bytes to be written to the Data
00
Carrier is odd, shift codes 2A and 0D forward
one byte and write 00 into the last 8 bits.
DIFU (013)
a
MOV (021)
#0007
7 words
2001
n+1
(number of com-
mand data words)
MOV (021)
#0000
D00000
2002
n+2
(command data
storage area ad-
dress)
b
(word n, bit 00)
200000
Command
execution flag
Write is executed.
Appendix D
If input condition a is
ON for one cycle and
the ID Busy Flag is
OFF, sets the number
of command data
words to 7.
At the same time, sets
the command storage
area beginning
address to D00000.
Holds status until ID
Sensor Unit starts
executing the command
Data to be written
to Data Carrier
Address 7
0006
10
0007
11
0008
12
0009
13
000A
14
Data cannot be written to
write-protected areas.
0
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200h-ids21

Table of Contents