107
Appendix B
Sample Programming
Read, Communications Specification: Single Auto
Outline
This example shows how to read Data Carrier memory as it approaches the communications area for R/W
Head 1.
Unit Settings
One Data Carrier is
detected when it enters
the communications area
and the contents of
memory is read.
R/W Head 1
Data Carrier
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
D1000
01
02
D1001
03
04
D1002
05
06
D1003
07
08
D1004
09
0A
→
: 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 mode
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
Infinite
Command
Read
Set in the Special I/O Unit Area.
Communications
specification
Single auto
Read data storage
order
Leftmost
→
Rightmost
Read start address
0010 (hex)
Number of bytes to
read
10 bytes
Read data storage
destination
D1000 to D1004
Содержание CJ - 12-2004
Страница 2: ...SYSMAC CS CJ Series ID Sensor Units Operation Manual Revised December 2004...
Страница 3: ...iv...
Страница 11: ...xii...
Страница 55: ...36 Connections and Wiring Section 3 4...
Страница 69: ...50 I O Data Allocations Section 4 3...
Страница 91: ...72 Data Check Section 5 7...
Страница 141: ...122 Sample Programming Appendix B...
Страница 147: ...128 Revision History...