![background image](http://html1.mh-extra.com/html/omron/cp1l-el20dr-d/cp1l-el20dr-d_operation-manual_743755544.webp)
510
Analog I/O Units
Section 9-4
The following table shows the output status after the initial processing is com-
pleted.
Therefore, create a program as shown below, so that the ladder can start to
operate with valid conversion data in input words.
Handing Unit Errors
When an error occurs in the Analog I/O Unit, analog input data will be 0000
and 0 V or 0 mA will be output as the analog output.
If a CPU error or an I/O bus error (fatal errors) occurs at the CPU Unit and the
analog output is set to 1 to 5 V or 4 to 20 mA, 0 V or 0 mA will be output. For
any other fatal errors at the CPU Unit, 1 V or 4 mA will be output.
Program Example
This programming example uses these ranges:
CP1W-MAD42
Output type
Voltage output
Current output
Output range
0 to 10 V,
−
10 to +10 V
1 to 5 V
0 to 20 mA
4 to 20 mA
Before range
code is written
0 V
0 mA
After range
code is written
0 V
1 V
0 mA
4 mA
Analog
input
Input
range
Range
code
Averaging
Set data
Destination
word
Input 1
4 to 20 mA
10
Yes
1110 (E hex)
n+1
Input 2
0 to 10 V
01
Yes
1101 (D hex)
n+1
Input 3
0 to 5 V
11
Yes
1111 (F hex)
n+2
Input 4
−
10 to 10 V
00
Yes
1100 (C hex)
n+2
Output 1
−
10 to 10 V
000
---
1000 (8 hex)
n+1
Output 2
4 to 20 mA
100
---
1100 (C hex)
n+2
MOV(021)
2
D0
0005
TIM
#0002
T0005
Always ON Flag
P_On
TIM0005 is started when the power is
turned ON. After 0.2 s (200 ms) elapses,
the TIM0005 contact turns ON and the
analog input 1 conversion data stored in
word 2 is transferred to D0.
CP1L-EM
Input word
addresses
Output word
addresses
CIO 0
CIO 1
CIO 100
CIO 101
CP1W-MAD42
CIO 102
CIO 103
CIO 2
CIO 3
CIO 4
CIO 5
CIO 6
CIO 7
CIO 8
CIO 9
CIO 104
CIO 105
CIO 106
CIO 107
CP1W-MAD44
Содержание 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: ......