Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 231

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Temperature Sensor Units
Programming Example
20-point CPU Unit
Inputs
IR 000
Outputs
IR 010
Temperature input 0
The following programming example shows how to use 2-decimal-place Mode
for the following PC configuration.
20-point Expansion
Temperature Sensor Unit
I/O Unit
Inputs
Inputs
IR 002
IR 001
IR 003
Outputs
Outputs
IR 011
None
In this example, 100 times the temperature data for temperature input 0 is stored
in binary form in DM 0100 to DM 0102.
Leftmost data
IR 002
Rightmost data
Bit
15 14 13 12 11 10
DM 0100
3
x16
7
x16
DM 0101
Always 0
DM 0102
The following program would be used.
Temperature unit setting:
OFF ( C)
Two-decimal-place Mode:
ON (2 digits after decimal point stored)
IR 200
9
8
7
6
5
2
1
x16
x16
6
5
x16
x16
Always 0
Always 0
Temperature Unit Flag (0: C, 1: F)
Open-circuit Flag (0: Normal, 1: Error)
Section
3-2
4
3
2
1
0
0
x16
4
x16
0
0
211

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Table of Contents