469
Analog Input Units
Section 9-2
Handling Unit Errors
• When an error occurs in an Analog Input Unit, the analog input conver-
sion data becomes 0000.
• CP-series Expansion Unit errors are output to bits 0 to 5 of word A436.
The bits are allocated from A436.00 in order starting with the Unit nearest
the CPU Unit. Use these flags in the program when it is necessary to
detect errors.
Ladder Program Example
Analog
input
Input range Range code
Averaging
Set data
Destination
word
Input 1
0 to 10 V
01
Yes
1101 (D hex) n+1
Input 2
4 to 20 mA
10
Yes
1110 (E hex) n+1
Input 3
−
10 to +10 V 00
No
1000 (8 hex) n+2
Input 4
Not used.
−
(00)
---
0000 (0 hex) n+2
Analog input 2 open circuit alarm
P_EQ
100.00
Execution
condition
Execution
condition
Execution
condition
Execution
condition
←
Reads analog input 1 converted value.
←
Reads analog input 3 converted value.
←
Reads analog input 2 converted value.
←
Writes set data E and D.
←
Writes set data 0 and 8.
Always ON
P_On
First Cycle Flag
A200.11
MOV(021)
#80ED
102
TIM
0005
#0002
3
#8000
CMP(020)
MOV(021)
#8008
103
2
D100
MOV(021)
4
D102
MOV(021)
3
D101
MOV(021)
T0005
T0005
T0005
T0005
Содержание 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: ......