EasyManua.ls Logo

Omron CP1H-X40D - Page 446

Omron CP1H-X40D
810 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
412
Analog Output Units Section 7-3
Handling Unit Errors When an error occurs at the Analog Output Unit, the analog output will be
0 V or 0 mA. If a CPU Unit fatal error occurs when analog outputs are set
in the 1 to 5 V or 4 to 20 mA range, 0 V or 0 mA will be output for a CPU
error I/O bus error, and 1 V or 4 mA will be output for all other errors.
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.
Program Example
CP1W-DA041/CP1W-DA042
MOV(021)
D100
102
P_On
Always ON Flag
T0005
0005
TIM
#0002
TIM0005 is started when the power is
turned ON. After 0.2 s (200 ms) elapses,
the TIM0005 contact turns ON, and the
data stored in D100 will be moved to
102 as the conversion data for analog
output 1.
Analog output Output range Range code Set data Destination
word
Output 1 0 to 10 V 001 1001 (9 hex) n+1
Output 2 4 to 20 mA 100 1100 (C hex) n+1
Output 3 10 to 10 V 000 1000 (8 hex) n+2
Output 4 Not used. (000) 0000 (0 hex) n+2
MOV(021)
#80C9
102
TIM
0005
P_On
D200
102
T0005
MOV(021)
D202
104
T0005
MOV(021)
MOV(021)
#8008
103
D201
103
T0005
MOV(021)
Always ON Flag
Execution
condition
Execution
condition
Execution
condition
Operation start 1 cycle ON
A200.11
Writes set data C and 9.
Writes set data 0 and 8.
Writes analog output 1 conversion data.
Writes analog output 2 conversion data.
Writes analog output 3 conversion data.
#0002

Table of Contents

Related product manuals