Omron CP1E Series User Manual page 171

Cp1e cpu unit hardware
Table of Contents

Advertisement

(7) Ladder Program Example
Analog input
Input 1
Input 2
Input 3
Input 4
First Cycle Flag
A200.11
Always ON
P_On
CP1E CPU Unit Hardware User's Manual(W479)
9 Using Expansion Units and Expansion I/O Units
Input range
0 to 10 V
4 to 20 mA
-10 to +10 V
Not used.
#80ED
#8008
TIM5
#0002
Execution
T5
condition
#8000
P_EQ
110.00
Execution
T5
condition
D100
Execution
T5
condition
D101
Execution
T5
condition
D102
Range code
Averaging
01
Yes
10
Yes
00
No
-(00)
MOV
←Writes set data E and D.
102
MOV
←Writes set data 0 and 8.
103
CMP
003
Input 2 open circuit alarm
MOV
002
←Reads analog input 1 converted value.
MOV
003
←Reads analog input 2 converted value.
MOV
004
←Reads analog input 3 converted value.
Destina-
Set data
tion word
1101 (D hex)
n+1
1110 (E hex)
n+1
1000 (8 hex)
n+2
0000 (0 hex)
n+2
9
9-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents