Analog Output Units
482
■ 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.
500
Unscaled
data
(200 to
500)
(D300)
200
Value output to Analog Output Unit
Data memory settings
Setting
Control word
Unscaled minimum value (200)
Scaled minimum value (3,000)
Unscaled maximum value (500)
Scaled maximum value (12,000)
Ladder program
Always ON Flag
P_On
Refer to 9-2 Example: Scaling analog input values for the descriptions of APR
instruction.
3,000
(Data in CIO102)
12,000
(2V)
(5V)
(Scaled: 3,000 to 12,000)
Address
APR(069)
Use APR instruction for scaling.
D110
D300
102
Section 9-3
Data
D110
#0800
D111
&200
D112
&3,000
D113
&500
D114
&12,000