![background image](http://html.mh-extra.com/html/omron/cp1e-e-d-series/cp1e-e-d-series_user-manual_742511206.webp)
8 Using Expansion Units and Expansion I/O Units
8-38
CP1E CPU Unit Hardware User’s Manual(W479)
•
The Analog I/O Unit will not start converting analog I/O values until the range code has
been written. Inputs will be 0000, and 0 V or 0 mA will be output.
•
After the range code has been set, 0 V or 0 mA will be output for the 0 to 10V, -10 to
10V, or 0 to 20mA ranges, and 1 V or 4 mA will be output for the 1 to 5V and 4 to 20mA
ranges until a convertible value has been written to the output word.
•
Once the range code has been set, it is not possible to change the setting while power is
being supplied to the CPU Unit. To change the I/O range, turn the CPU Unit OFF then
ON again.
(3) Reading Analog Input Converted Values
The ladder program can be used to read the memory area words where the converted val-
ues are stored.
Values are output to the next two words (m + 1, m + 2) following the last input word (m) allo-
cated to the CPU Unit or previous Expansion Unit or Expansion I/O Unit.
(4) Writing Analog Output Converted Values
The ladder program can be used to write data to the memory area where the set value is
stored.
The output word will be “n+1”, where “n” is the last output word allocated to the CPU Unit or
previous Expansion Unit or Expansion I/O Unit.
(5) Startup Operation
After the power is turned ON, it will require two cycle times plus approximately 50 ms before
the first conversion data is stored in the input words. Therefore, create a program as shown
below, so that when operation begins simultaneously with startup it will wait for valid con-
version data.
Analog input data will be 0000 until initial processing is completed. Analog output data will
be 0 V or 0 mA until the range code has been written. After the range code has been writ-
ten, the analog output data will be 0 V or 0 mA if the range is 0 to 10 V, -10 to 10 V, or 0 to
20 mA, or it will be 1 V or 4 mA if the range is 1 to 5 V or 4 to 20 mA.
word n+1
15
1 0 0
0
0
0
0
8 7 6 5
4
3
2
1
0
Analog
output
Analog
input 1
Analog
input 0
MOV
#800A
n+1
First Cycle Flag
A200.11
Analog input 0: 4 to 20 mA
Analog input 1: 0 to 10 V
Analog output: -10 to 10 V
Example: The following instructions set analog input 0 to 4 to 20 mA, analog input 1 to 0 to 10 V,
and the analog output to -10 to 10 V.
MOV
2
D0
Always ON Flag
P_On
TIM
0005
#0002
T0005
TIM0005 is started when the power is turned
ON. After 0.2 s (200 ms) elapses, the TIM0005
contact turns ON and the converted data from
analog input 0 that is stored in CIO 2 will be
transferred to D0.
Summary of Contents for CP1E-E**D Series
Page 3: ......
Page 66: ...2 Basic System Configuration and Devices 2 22 CP1E CPU Unit Hardware User s Manual W479...
Page 318: ...Appendices A 54 CP1E CPU Unit Hardware User s Manual W479...
Page 322: ...Index 4 CP1E CPU Unit Hardware User s Manual W479...
Page 324: ...Revision 2 CP1E CPU Unit Hardware User s Manual W479...
Page 325: ......