![background image](http://html.mh-extra.com/html/omron/cp1e-e-d-series/cp1e-e-d-series_user-manual_742511180.webp)
8 Using Expansion Units and Expansion I/O Units
8-12
CP1E CPU Unit Hardware User’s Manual(W479)
(7) 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
2
D100
T0005
MOV
4
D102
T0005
MOV
Analog input 2 open circuit alarm
P_EQ
100.00
3
#8000
T0005
CMP
MOV
#8008
103
3
D101
T0005
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-E**D Series
Page 3: ......
Page 66: ...2 Basic System Configuration and Devices 2 22 CP1E CPU Unit Hardware User s Manual W479...
Page 318: ...Appendices A 54 CP1E CPU Unit Hardware User s Manual W479...
Page 322: ...Index 4 CP1E CPU Unit Hardware User s Manual W479...
Page 324: ...Revision 2 CP1E CPU Unit Hardware User s Manual W479...
Page 325: ......