![background image](http://html1.mh-extra.com/html/omron/cj-12-2004/cj-12-2004_manual_740789130.webp)
111
Sample Programming
Appendix B
Read, Communications Specification: Repeat Auto
Outline
This example shows how to repeatedly read the data in the memory of Data Carriers from R/W Head 2. An
auto wait time is set so that operation will be ended if a Data Carrier is not detected within a specified period of
time.
Unit Settings Example
A Data Carrier is detected
every time it enters the
communications area and the
contents of memory is read.
R/W Head 2
Data Carrier A
Data Carrier B
Communications
area
Data Carrier
Address
(hex)
7
0
0010
0
1
0011
0
2
0012
0
3
0013
0
4
0014
0
5
0015
0
6
0016
0
7
0017
0
8
0018
0
9
0019
0
A
CS-series CPU Unit memory
15
00
E0_1000
02
01
E0_1001
04
03
E0_1002
06
05
E0_1003
08
07
E0_1004
0A
09
→
: Read data storage order
Read command
executed
Bit
Bit
Bit
Bit
Item
Setting
Setting location
Unit No.
00
Unit’s front panel unit number switches: 00
Operating modes
Normal Mode
Unit’s front panel communications test switch: OFF
System Settings
Operating mode switch enabled
Write verification setting
Communications mode: Communications
distance priority
Set in the Special I/O Unit words in DM Area.
Auto Wait Time Set-
ting
15 s
Command
Read
Set in the Special I/O Unit Area.
Communications
specification
Repeat auto
Read data storage
order
Rightmost
→
Leftmost
Read Start address
0010
Number of bytes to
read
10 bytes
Read data storage
destination
E0_1000 to E0_1004
Summary of Contents for CJ - 12-2004
Page 2: ...SYSMAC CS CJ Series ID Sensor Units Operation Manual Revised December 2004...
Page 3: ...iv...
Page 11: ...xii...
Page 55: ...36 Connections and Wiring Section 3 4...
Page 69: ...50 I O Data Allocations Section 4 3...
Page 91: ...72 Data Check Section 5 7...
Page 141: ...122 Sample Programming Appendix B...
Page 147: ...128 Revision History...