![background image](http://html1.mh-extra.com/html/omron/cj-12-2004/cj-12-2004_manual_740789137.webp)
118
Sample Programming
Appendix B
Timing Chart (n = CIO 2000 + (10
×
55) = CIO 2550)
Note
1.
To confirm the execution results from the user program, use the ON status of the Normal End Flag or
Error End Flag in the Unit Status.
2.
Do not turn ON the Command Execution Bit during command execution (i.e., while the ID Busy Flag
is ON). It will be ignored.
Copy, Communications Specification: Single Auto
Outline
This example shows how to read data from the memory of Data Carrier A when it approaches R/W Head 1 and
then write the data to Data Carrier B in the communications area of R/W Head 2.
Write
Write
1 scan
Normal end
Write data
0000
Communications
processing
0000
Waiting for
Data Carrier
1 scan
Missing error
Command Execution Bit
Word n, bit 00
Command
Words (n+1) to (n+4)
Normal End
Word (n+7), bit 01
ID Busy
Data storage area
Error End
Word (n+7), bit 02
Word (n+7), bit 00
1. The Data Carrier is
detected when it
enters the area and
the contents of
memory is read.
R/W Head 1
Communications
areas
Data Carrier
Address
(hex)
7
0
0020
0
0
0021
0
1
0022
0
2
0023
0
3
0024
0
4
002E
1
5
002F
1
6
Copy command
executed
2. The data is written
to the Data Carrier
in the area when
the read operation
is finished.
R/W Head 2
Data Carrier
Address
(hex)
7
0
0010
0
0
0011
0
1
0012
0
2
0013
0
3
0014
0
4
001E
1
5
001F
1
6
Data Carrier A
Data Carrier B
Bit
Bit
Bit
Bit
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...