8-11
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
(7) Ladder Program Example
Analog input
Input range
Range code
Averaging
Set data
Destination
word
Input 1
0 to 10 V
01
Yes
1101 (D hex)
n+1
Input 2
4 to 20 mA
10
Yes
1110 (E hex)
n+1
Input 3
-10 to +10 V
00
No
1000 (8 hex)
n+2
Input 4
Not used.
−
(00)
−
0000 (0 hex)
n+2
MOV
#80ED
102
TIM
0005
#0002
002
D100
T5
MOV
004
D102
T5
MOV
Input 2 open circuit alarm
P_EQ
110.00
003
#8000
T5
CMP
MOV
#8008
103
003
D101
T5
MOV
Execution
condition
Execution
condition
Execution
condition
Execution
condition
Reads analog input 1 converted value.
Reads analog input 3 converted value.
Reads analog input 2 converted value.
Writes set data E and D.
Writes set data 0 and 8.
Always ON
P_On
First Cycle Flag
A200.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: ......