8-9
8 Using Expansion Units and Expansion I/O Units
CP1E CPU Unit Hardware User’s Manual(W479)
8-1
An
al
o
g
I
n
p
u
t U
n
it
s
8
8-1-4
F
lo
w
o
f O
p
e
rat
ion
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 I/O values until the range code 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 change the settings 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 signal 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
Summary of Contents for CP1E-E10DT-A
Page 3: ......
Page 31: ...26 CP1E CPU Unit Hardware User s Manual W479...
Page 273: ...Index 4 CP1E CPU Unit Hardware User s Manual W479...
Page 275: ...Revision 2 CP1E CPU Unit Hardware User s Manual W479...
Page 276: ......