Handling Unit Errors - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Analog Input Units

Handling Unit Errors

Ladder Program Example
First Cycle Flag
A200.11
Always ON
P_On
T0005
T0005
T0005
T0005
• 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.
Analog
Input range Range code
input
Input 1
0 to 10 V
Input 2
4 to 20 mA
−10 to +10 V 00
Input 3
Input 4
Not used.
MOV(021)
#80ED
102
MOV(021)
#8008
103
TIM
0005
Execution
#0002
condition
CMP(020)
3
#8000
P_EQ
100.00
Execution
condition
MOV(021)
2
D100
Execution
condition
MOV(021)
3
Execution
D101
condition
MOV(021)
4
D102
Averaging
01
Yes
10
Yes
No
−(00)
---
←Writes set data E and D.
←Writes set data 0 and 8.
Analog input 2 open circuit alarm
←Reads analog input 1 converted value.
←Reads analog input 2 converted value.
←Reads analog input 3 converted value.
Section 9-2
Set data
Destination
word
1101 (D hex) n+1
1110 (E hex) n+1
1000 (8 hex) n+2
0000 (0 hex) n+2
469

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents