Omron CP1H CPU Operation Manual page 368

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Analog I/O (XA CPU Units)
Note
4. Creating a Ladder Program
I/O Allocation
Auxiliary Area Flags
Reading Converted
Analog Input Data
334
If the same power supply is being used by the connected devices and a dis-
connection occurs at points A or B in the above diagram, an unwanted circuit
path will occur as shown along the dotted line in the diagram. If that occurs, a
voltage of approximately 1/3 to 1/2 of the output voltage of the other con-
nected device will be generated. If that voltage is generated while the setting
is for 1 to 5 V, open-circuit detection may not be possible. Also, if a disconnec-
tion occurs at point C in the diagram, the negative (-) side will be used in for
both devices and open-circuit detection will not be possible.
This problem will not occur for current inputs even if the same power supply is
used.
When external power is supplied (when setting the range code), or when
there is a power interruption, pulse-form analog output of up to 1 ms may be
generated. If this causes problems with operation, take countermeasures
such as those suggested below.
• Turn ON the power supply for the CP1H CPU Unit first, and then turn ON
the power supply for the load after confirming correct operation.
• Turn OFF the power supply for the load before turning OFF the power
supply for the CP1H CPU Unit.
I/O conversion data is stored in CIO words between CIO 200 and CIO 211.
The analog voltage inputs are converted to digital values and output to CIO
words CIO 200 to CIO 203.
The digital values in CIO 210 and CIO 211 are converted (D/A conversion)
and output as analog voltage or analog current outputs.
Data
Word
A/D conver-
CIO 200
sion data
CIO 201
CIO 202
CIO 203
D/A conver-
CIO 210
sion data
CIO 211
Auxiliary Area bits A434.00 to A434.03 are used as open-circuit detection
flags for the open-circuit detection function.
Bit
A434.00
Analog Input 0 Open-circuit Error Flag
A434.01
Analog Input 1 Open-circuit Error Flag
A434.02
Analog Input 2 Open-circuit Error Flag
A434.03
Analog Input 3 Open-circuit Error Flag
The Analog Initialization Completed Flag (A434.04) indicates when the built-in
analog I/O has been initialized.
Bit
A434.04
Analog Initialization Completed Flag
The ladder program can be used to read the memory area words where the
converted values are stored. The converted digital values are output to CIO
200 to CIO 203.
Content
I/O point
For 1/6,000
resolution
−10 to 10 V range:
Analog input 0
F448 to 0BB8 hex
Analog input 1
Other ranges:
Analog input 2
0000 to 1770 hex
Analog input 3
Analog output 0
Analog output 1
Function
0: No error
1: Open-circuit error detected
Function
Section 5-5
For 1/12,000
resolution
−10 to 10 V range:
E890 to 1770 hex
Other ranges:
0000 to 2EE0 hex
0: Initializing
1: Initialization completed

Advertisement

Table of Contents
loading

Table of Contents