439
Analog I/O Units
Section 7-4
Creating a Ladder
Program
I/O Allocation
Four input words and two output words are allocated to the CP1W-MAD42,
starting from the next word following the last word allocated to the CPU Unit or
previous Expansion Unit or Expansion I/O Unit.
Four input words and four output words are allocated to the CP1W-MAD44,
starting from the next word following the last word allocated to the CPU Unit or
previous Expansion Unit or Expansion I/O Unit.
Writing Set Data
CP1W-MAD42
Write the set data to words (n+1 to n+2). A/D or D/A conversion begins when
the set data is transferred from the CPU Unit to the Analog I/O Unit. Setting
contents are shown as the following table.
CP1W-MAD44
Write the set data to words (n+1 to n+4). A/D or D/A conversion begins when
the set data is transferred from the CPU Unit to the Analog I/O Unit. Setting
contents are shown as the following table.
Even if analog inputs are not used, bit 15 in word (n+1) and (n+2) must be set
to 1.
Set Data of Analog Inputs
Word (n+1) 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
1
0
0
0
Analog output 1
Analog input 2
Analog input 1
Word (n+2) 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
1
0
0
0
Analog output 2
Analog input 4
Analog input 3
Word (n+1) 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
1
0
0
0
0
0
0
0
Analog input 2
Analog input 1
Word (n+2) 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
1
0
0
0
0
0
0
0
Analog input 4
Analog input 3
Word (n+3) 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
1
0
0
0
0
0
0
0
Analog output 2
Analog output 1
Word (n+4) 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
1
0
0
0
0
0
0
0
Analog output 4
Analog output 3
CP1W-MAD42
Word m+1
Word m+2
Word m+3
Word m+4
Word n+1
CP1W-MAD44
Word m+1
Word m+2
Word m+3
Word m+4
Word n+1
Word n+2
Word n+2
Word n+3
Word n+4
Value
Enable
Enable Bit
0 : Disable channel
1 : Enable channel
Average Bit
0 : Disable
1 : Enable
7
6
0
1
2
3
4
5
Average AD Range Code
Enable Average AD Range Code
AD Range Code
00 :
−
10 to 10V
01 : 0 to 10V
10 : 1 to 5V (4 to 20mA)
11 : 0 to 5V (0 to 20mA)
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......