![background image](http://html.mh-extra.com/html/omron/cp1e-e-d-series/cp1e-e-d-series_user-manual_742511181.webp)
8-13
8 Using Expansion Units and Expansion I/O Units
CP1E CPU Unit Hardware User’s Manual(W479)
8-
1 An
alog
Inp
u
t U
n
its
8
8-1
-4 F
low o
f Ope
ration
•
Example: Scaling analog input values
When a 0 to 10V voltage is input to the analog input word (CIO 3) of CP1W-AD042 as 0 to 12,000,
convert the value into a value between 0 and 24,000 and output the result to D200.
Data Memory Settings
Ladder Program
Descriptions of APR Instruction
Setting
Address
Data
Control word
D100
#0800
Unscaled minimum value (0)
D101
&0
Scaled minimum value (0)
D102
&0
Unscaled maximum value (12,000)
D103
&12,000
Scaled maximum value (24,000)
D104
&24,000
12,000
(10V)
0
(0V)
24,000
Data input to Analog Input Unit
(Unscaled: 0 to 12,000)
Scaled
value
(0 to
24,000)
(Data in CIO3)
(D200)
0
Always ON Flag
P_On
Use APR instruction for scaling.
APR(069)
D100
D200
3
APR
C
D
S
C:Control word
D:Result word
S:Source word
X
1
X
0
Y
1
Unscaled data
Scaled
data
S
Input data
D
Scaled
result
Y
0
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: ......