413
Analog Output Units Section 7-3
■ Example:Scaling analog output values
Convert a value between 200 and 500 in D300 into 2 to 5 V to output the volt-
age from the analog output word (CIO 102) of CP1W-DA042.
Data memory settings
Ladder program
Refer to 7-2 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