8-85
8 Using Expansion Units and Expansion I/O Units
CP1E CPU Unit Hardware User’s Manual(W479)
8-4 T
e
mp
eratu
re
S
e
nsor U
n
its
8
8-4
-3 T
S
0
04 Temper
ature
S
e
nsor
Units
(2) Reading Temperature Data
There are 12 temperature input data to be read, but only two input words are allocated to
CP1W-TS004. The operation is shown as the following.
•
Input Word
•
Output Word
•
Read/Response Command and Temperature Data
•
Negative values are stored as 2’s complements.
•
The converted temperature data CIO m+2 is stored in 16-bit binary data (4-digit hexa-
decimal).
•
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.
•
IIf 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 operrate and the
converted 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.
m+1
Response. Input words stored in CIO m+2
m+2
Temperature data of the specified input word
n+1
Read command data (input word specified)
Command
Output
Word
Input Word
n+1
m+1
m+2
Read
command
Response
command
Temperature data
(4-digit hexadecimal)
Read temperature data from input 0
#9901
9901
Input 0 temperature data
Read temperature data from input 1
#9902
9902
Input 1 temperature data
Read temperature data from input 2
#9903
9903
Input 2 temperature data
Read temperature data from input 3
#9904
9904
Input 3 temperature data
Read temperature data from input 4
#9905
9905
Input 4 temperature data
Read temperature data from input 5
#9906
9906
Input 5 temperature data
Read temperature data from input 6
#9907
9907
Input 6 temperature data
Read temperature data from input 7
#9908
9908
Input 7 temperature data
Read temperature data from input 8
#9909
9909
Input 8 temperature data
Read temperature data from input 9
#990A
990A
Input 9 temperature data
Read temperature data from input 10
#990B
990B
Input 10 temperature data
Read temperature data from input 11
#990C
990C
Input 11 temperature data
Others
Others
No response for other commands
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
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: ......