![background image](http://html1.mh-extra.com/html/omron/cp1l-el20dr-d/cp1l-el20dr-d_operation-manual_743755504.webp)
470
Analog Input Units
Section 9-2
■
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
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......