Omron CP1H-X40D Operation Manual page 485

Cpu unit sysmac cp series
Hide thumbs Also See for CP1H-X40D:
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.
2
#7FFE
1000.00
ON when input 0 has been initialized
CMP(020)
Detects completion of input 1 initialization.
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
100.00
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
100.01
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
ON when an open-circuit alarm or Unit
100.02
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
100.03
ON for an input 1 temperature error
Converts the temperature data for
BCD(024)
input 1 to BCD and stores the result in
3
D1.
D1
CP1W-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
451

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp1h-xa40dCp1h-y20dt-dCp1h

Table of Contents