![background image](http://html.mh-extra.com/html/omron/cp1e-e-d-series/cp1e-e-d-series_user-manual_742511246.webp)
8 Using Expansion Units and Expansion I/O Units
8-78
CP1E CPU Unit Hardware User’s Manual(W479)
4
Create the ladder program.
(1) Word Allocations
Temperature Sensor Units are allocated words in the same way as other CP-series Expan-
sion Units or Expansion I/O Units, in order of connection. A Temperature Sensor Unit is
allocated the next input words following the input words of the CPU Unit or previous Expan-
sion Unit or Expansion I/O Unit. Four input words are allocated to CP1W-TS003.
•
Example
(2) Reading Temperature or Analog Data
The temperature or analog data will be stored in the input words allocated to the Tempera-
ture Sensor Unit in 4-digit hexadecimal.
“m” is the last input word allocated to the CPU Unit, Expansion I/O Unit, or Expansion Unit
connected immediately before the Temperature Sensor Unit.
•
Negative values are stored as 2’s complements.
•
Data for range codes that include one digit after the decimal point are stored without the
decimal point, i.e., 10 times the actual value is stored.
•
If the input temperature exceeds the maximum or minimum value in the temperature
input range that has been set by ±20
°
C or ±20
°
F, the displayed value will be held.
•
If the circuit is disconnected, the open-circuit detection function will operate and the con-
verted temperature data will be set to 7FFF.
•
The open-circuit detection function will be automatically cleared and normal input tem-
perature conversion will begin automatically when the input temperature returns to the
convertible range.
(3) Startup Operation
After power is turned ON, approximately 1 s is required for the first conversion data to be
stored in the input word. During that period, the data will be 7FFE. Therefore, create a pro-
gram as shown below, so that the ladder can start to operate with valid conversion data in
input words.
Reading Temperature Data
Reading Analog Data
m+1
Converted temperature data from input 0
m+3
Converted analog data from input 2
m+2
Converted temperature data from input 1
m+4
Converted analog data from input 3
m+3
Converted temperature data from input 2
m+4
Converted temperature data from input 3
Input
Data conversion examples
Unit: 0.1
°
C
K or J
×
10
500.0
°
C
→
5000
→
1388 hex
−
20.0
°
C
→
−
200
→
FF38 hex
−
200.0
°
C
→
−
2000
→
F830 hex
None
CP1W-TS003
Temperature Sensor Unit
CP1E
Input word
addresses
Output word
addresses
CIO 0
CIO 1
CIO 100
CIO 101
CIO 2
CIO 3
CIO 4
CIO 5
(P_EQ)
W0.00
2
#7FFE
P_On
CMP
Always ON
Temperature input data
output word
Initialization
Completed Flag
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: ......