Omron CP1H-CPU - 05-2006 Operation Manual page 467

Cp1h cpu unit
Table of Contents

Advertisement

Temperature Sensor Units
Note
Programming Example
436
Example 4
Temperature:
Open circuit ( F)
Temperature Data: 7FFFFFFF
Leftmost 3 Digits and Flags
Flags
Bits
15
14
13
12
Data
0
1
1
0
Error
F
Leftmost
Rightmost 3 Digits and Flags
Flags
Bits
15
14
13
12
Data
1
1
1
0
Error
F
Rightmost
(1) Leftmost digits are stored in the lower memory addresses. Treat the data
in the lower memory address as the leftmost digits when programming.
(2) Be sure that the data is read at least once every 125 ms to allow for the
CPU Unit's cycle time and communications time. Correct data may not be
obtained if the read cycle is greater than 125 ms.
The following programming example shows how to use 2-decimal-place Mode
for the following PC configuration.
CPU Unit
Inputs
CIO 000
CIO 001
Outputs
CIO 100
CIO 101
In this example, 100 times the temperature data for temperature input 0 is
stored in binary form in D100 to D102.
CIO 2
Temperature input 0
Bit
D100
D101
D102
5
4
16
16
16
11 to 08
07 to 04
03 to 00
7
F
F
2
1
16
16
16
11 to 08
07 to 04
03 to 00
F
F
F
CPM1A-TS001
Temperature Sensor Unit
Temperature unit setting:
Inputs
0 ( C)
CIO 002
CIO 003
Two-decimal-place Mode:
1 (2 digits after decimal point stored)
Outputs
None
Leftmost data
Rightmost data
15 14 13 12
11 10
9
8
3
2
16
16
7
6
16
16
Always 0
Always 0
Temperature Unit Flag (0: C, 1: F)
Open-circuit Flag (0: Normal, 1: Error)
Section 7-5
3
6
7
F
F
Temperature
Flags
data
0
E
F
F
F
Flags
Temperature
data
CIO 200
6
7
5
4
3
2
1
1
0
16
16
5
4
16
16
Always 0
0
0
0

Advertisement

Table of Contents
loading

Table of Contents