![background image](http://html.mh-extra.com/html/omron/cp1e-e-d-series/cp1e-e-d-series_user-manual_742511194.webp)
8 Using Expansion Units and Expansion I/O Units
8-26
CP1E CPU Unit Hardware User’s Manual(W479)
•
Example: Scaling analog output values
Convert a value between 200 and 500 in D300 into 2 to 5 V to output the voltage from the analog
output word (CIO 102) of CP1W-DA042.
Data memory settings
Ladder program
Refer to 8-1 Example: Scaling analog input values for the descriptions of APR instruction.
Setting
Address
Data
Control word
D110
#0800
Unscaled minimum value (200)
D111
&200
Scaled minimum value (3,000)
D112
&3,000
Unscaled maximum value (500)
D113
&500
Scaled maximum value (12,000)
D114
&12,000
12,000
(5V)
3,000
(2V)
500
200
Value output to Analog Output Unit
(Scaled: 3,000 to 12,000)
Unscaled
data
(200 to
500)
(Data in CIO102)
(D300)
㩷
Always ON Flag
P_On
APR(069)
Use APR instruction for scaling.
D110
102
D300
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: ......