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
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......