Omron CP1H-X40D Operation Manual page 446

Cpu unit sysmac cp series
Hide thumbs Also See for CP1H-X40D:
Table of Contents

Advertisement

Analog Output Units
Handling Unit Errors
Program Example
412
Always ON Flag
P_On
T0005
• 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.
■ CP1W-DA041/CP1W-DA042
Analog output Output range
Output 1
0 to 10 V
Output 2
4 to 20 mA
−10 to 10 V
Output 3
Output 4
Not used.
Operation start 1 cycle ON
A200.11
Always ON Flag
P_On
Execution
T0005
condition
Execution
T0005
condition
Execution
T0005
condition
TIM0005 is started when the power is
turned ON. After 0.2 s (200 ms) elapses,
TIM
the TIM0005 contact turns ON, and the
0005
data stored in D100 will be moved to
102 as the conversion data for analog
#0002
output 1.
MOV(021)
D100
102
Range code
001
1001 (9 hex)
100
1100 (C hex)
000
1000 (8 hex)
−(000)
0000 (0 hex)
MOV(021)
#80C9
←Writes set data C and 9.
102
MOV(021)
←Writes set data 0 and 8.
#8008
103
TIM
0005
#0002
MOV(021)
D200
←Writes analog output 1 conversion data.
102
MOV(021)
D201
←Writes analog output 2 conversion data.
103
MOV(021)
D202
←Writes analog output 3 conversion data.
104
Section 7-3
Set data
Destination
word
n+1
n+1
n+2
n+2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp1h-xa40dCp1h-y20dt-dCp1h

Table of Contents