Omron CP1H CPU Operation Manual page 471

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

Advertisement

Temperature Sensor Units
Always ON
P_On
(P_EQ)
Always ON
P_On
(P_EQ)
1000.00
Execution condition
(P_EQ)
(P_GT)
(P_LT)
1000.01
Execution condition
(P_EQ)
(P_GT)
(P_LT)
2. The following programming example shows how to convert the data for
temperature input 0 to BCD and store the result in D0 and D1. "0001" is
stored in D1 when the input data is a negative value. The following system
configuration is used.
CP1H
CIO 0
Inputs
CIO 1
Outputs
CIO 100
CIO 101
Temperature unit setting
Two-decimal-place Mode
Input range setting
Input 0
CMP(020)
Detects completion of input 0 initialization.
002
#7FFE
1000.00
ON when input 0 has been initialized
Detects completion of input 1 initialization.
CMP(020)
3
#7FFE
1000.01
ON when input 1 has been initialized
CMP(020)
Detects an open-circuit alarm or Unit
error by checking converted temperature
2
data for the error code 7FFF.
#7FFF
ON when an open-circuit alarm or Unit
1000.02
error has been detected for input 0.
CMP(020)
Checks to see if the temperature data
in word 2 has exceeded 500.0°C (1388
2
hex without decimal point).
#1388
1000.03
ON for an input 0 temperature error
BCD(024)
Converts the temperature data for
input 0 to BCD and stores the result in
2
D0.
D0
CMP(020)
Detects an open-circuit alarm or Unit
error by checking whether the error
3
code 7FFF has been output
#7FFF
1000.02
ON when an open-circuit alarm or Unit
error has been detected for input 1.
CMP(020)
Checks to see if the temperature data
in word 3 has exceeded 500.0°C
3
(1388 hex without decimal point).
#1388
1000.03
ON for an input 1 temperature error
BCD(024)
Converts the temperature data for
input 1 to BCD and stores the result in
3
D1.
D1
CP1W-TS001/101
CPM1A-TS001/101
Temperature Sensor Unit
CIO 2
CIO 3
None
0 (°C)
0 (normal)
1 (Pt100: −200.0 to 650.0°C)
CIO 2
Section 7-5
437

Advertisement

Table of Contents
loading

Table of Contents