Omron CP1E Series User Manual page 193

Cp1e cpu unit hardware
Table of Contents

Advertisement

(7) Programming Example
Analog input 0: 0 to 10 V
Analog input 1: 4 to 20 mA
Analog output : 0 to 10 V
First Cycle Flag
A200.11
Always ON Flag
P_On
CP1E CPU Unit Hardware User's Manual(W479)
9 Using Expansion Units and Expansion I/O Units
Execution
T5
condition
Execution
T5
condition
Execution
T5
condition
Execution
T5
condition
(P_EQ)
MOV
#8051
← Writes the range code (8051) to the Unit.
102
TIM5
#0002
MOV
002
← Reads analog input 0's converted value.
D0
MOV
003
← Reads analog input 1's converted value.
D1
MOV
D10
← The content of D10 is written to the output
102
word as the analog output set value.
CMP
003
#8000
110.00
Open-circuit alarm
9
9-33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents