401
Analog Input Units
Section 7-2
Handling Unit Errors
• When an error occurs in an Analog Input Unit, the analog input conversion
data becomes 0000.
• CP-series Expansion Unit errors are output to bits 0 to 6 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
Содержание Sysmac CP1H
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 76: ...42 Function Blocks Section 1 5...
Страница 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Страница 372: ...338 Analog I O XA CPU Units Section 5 5...
Страница 578: ...544 Trouble Shooting Section 8 7...
Страница 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 668: ...634 Standard Models Appendix A...
Страница 669: ...635 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Страница 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Страница 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Страница 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Страница 808: ...774 Revision History...
Страница 809: ......