46
I/O Data Allocations
Section 4-3
Designating Processing Specifications
Designating Data Storage Areas
Note
1.
If there is a mistake in designating the command and option, the Command
Error Flag (word (n + 8), bit 00) in the Results Information will turn ON, and
the command will not be executed.
2.
If there is a mistake in designating the data storage area, the Data Storage
Area Specification Error Flag (word (n + 8), bit 01) in the Results Informa-
tion will turn ON, and the command will not be executed.
Commands
Processing Specification
Read
Write
Bit Set
Bit Clear
Mask Bit Write
Calculation Write
Number of Writes
Control
0: Add
1: Subtract
Data Fill
0: Bytes (Rightmost 8 bits)
1: Words
Data Check
0: Calculation (write)
1: Verification
Word address
n + 5
n + 4
Bit No.
15 to 12
11 to 08
07 to 00
15 to 00
Area
Specifiable range
Area
specification
Bank
specification
Address (leftmost 2
digits)
Address (rightmost 4
digits)
DM
D00000 to D32767
0 (hex)
Always 0
000000 to 032767 (BCD)
CIO
CIO 0000 to CIO 6143 1 (hex)
Always 0
000000 to 006143 (BCD)
WR
W000 to W511
2 (hex)
Always 0
000000 to 000511 (BCD)
HR
H000 to H511
3 (hex)
Always 0
000000 to 000511 (BCD)
AR
A000 to A959
4 (hex)
Always 0
000000 to 000959 (BCD)
EM
00000 to 32767
5 (hex)
0 to C (hex)
000000 to 032767 (BCD)
TIM
T0000 to T4095
6 (hex)
Always 0
000000 to 004095 (BCD)
CNT
C0000 to C4095
7 (hex)
Always 0
000000 to 004095 (BCD)
Data Carrier
0: Leftmost to Rightmost
1: Rightmost to Leftmost
Address
(hex)
7
0
CIO 0010
0
1
CIO 0011
0
2
CIO 0012
0
3
CIO 0013
0
4
CIO 0014
0
5
CIO 0015
0
6
CIO 0016
0
7
CIO 0017
0
8
CIO 0018
0
9
CIO 0019
0
A
CPU Unit Memory
15
00
D1000
01
02
D1001
03
04
D1002
05
06
D1003
07
08
D1004
09
0A
→
: Read data storage order
Data Carrier
Address
(hex)
7
0
0
1
0
2
0
3
0
4
0
5
0
6
0
7
0
8
0
9
0
A
CPU Unit Memory
15
00
D1000
02
D1001
04
D1002
06
D1003
08
D1004
0A
→
: Read data storage order
01
03
05
07
09
CIO 0010
CIO 0011
CIO 0012
CIO 0013
CIO 0014
CIO 0015
CIO 0016
CIO 0017
CIO 0018
CIO 0019
Bit
Bit
Bit
Bit
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...