Omron CP1E Series User Manual page 179

Cp1e cpu unit hardware
Table of Contents

Advertisement

(6) Program Example
Analog output
Output 1
Output 2
Output 3
Output 4
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
Output range
0 to 10 V
4 to 20 mA
-10 to 10 V
Not used.
Execution
T5
condition
Execution
T5
condition
Execution
T5
condition
Range code
001
011
000
-(000)
MOV
#80B9
←Writes set data B and 9.
102
MOV
←Writes set data 0 and 8.
#8008
103
TIM5
#0002
MOV
D200
←Writes analog output 1 conversion data.
102
MOV
D201
←Writes analog output 2 conversion data.
103
MOV
D202
←Writes analog output 3 conversion data.
104
Set data
Destination word
1001 (9 hex)
Wd n+1
1011 (B hex)
Wd n+1
1000 (8 hex)
Wd n+2
0000 (0 hex)
Wd n+2
9
9-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents