8 Using Expansion Units and Expansion I/O Units
8-10
CP1E CPU Unit Hardware User’s Manual(W479)
3
Create the ladder program.
(1) Allocating I/O Words
Four input words and two output words are allocated from the next words following the last
I/O words allocated to the CPU Unit or an existing Expansion Unit or Expansion I/O Unit.
(2) Writing Set Data
Write the settings for input use, averaging use, and range codes for words n+1 and n+2.
When the set data is transferred from the CPU Unit to the Analog Input Unit, the A/D con-
version will be started.
•
Set Data
•
The Analog Input Unit will not start converting analog input values until the set data has
been written.
The conversion data will be 0000 until the range code is written.
•
Once the settings have been made, it is not possible to be changed while power is being
supplied to the CPU Unit. To change the range code or other settings, turn the CPU Unit
OFF then ON again.
(3) Averaging
Set whether averaging is to be used for set data. When the averaging bit is set to 1, the
average (moving average) for the past eight inputs is output as conversion data.
Words (m+1) to (m+4)
Analog Input Unit
Words (n+1), (n+2)
15
0
1
0
0
0
0
0
0
8
7
6
5
4
3
2
1
15
0
1
0
0
0
0
0
0
8
7
6
5
4
3
2
1
0
0
Wd (n+1)
Wd (n+2)
Analog input 1
Analog input 2
Analog input 3
Analog input 4
Even if analog inputs
are not used, bits 15 in
words n+1 and n+2
must be set to 1.
Even if analog inputs
are not used, bits 15 in
words n+1 and n+2
must be set to 1.
Averaging
0
1
No
Yes
Input use
0
No
1
Yes
Range code
Analog input range
−
10 to 10 V
0 to 10 V
1 to 5 V or 4 to 20 mA
0 to 5 V or 0 to 20 mA
00
01
10
11
Содержание CP1E-E**D Series
Страница 3: ......
Страница 66: ...2 Basic System Configuration and Devices 2 22 CP1E CPU Unit Hardware User s Manual W479...
Страница 318: ...Appendices A 54 CP1E CPU Unit Hardware User s Manual W479...
Страница 322: ...Index 4 CP1E CPU Unit Hardware User s Manual W479...
Страница 324: ...Revision 2 CP1E CPU Unit Hardware User s Manual W479...
Страница 325: ......