Rockwell Automation AB quality Allen-Bradley 1746-INT4 User Manual page 72

Thermocouple/mv isolated input module
Table of Contents

Advertisement

72
Application Programming Examples
15
14
13
12
Not Used
Channel
Enable
0 = Disable
1 = Enable
Example Configuration Word with These Parameters:
channel enabled, °F, zero for open-circuit, EU x10, Type J thermocouple
0
0
0
0
Program
Rung 2.0
First Pass Bit
Rung 2.1
Convert the channel 0 data word (° F) to BCD and write this to the LED indicator display.
The use of the masked move instruction with the 0FF mask lets you use outputs 12, 13, 14 and 15 for other
output devices in your system. The seven segment display uses outputs 0 ...11.
Rung 2.2
Data Table
address
N10:0
Publication 1746-UM614B-EN-P - September 2007
Configuration Word
11
10
9
8
Not Used
Temp
Response to
Units
Open-circuit
0 = °C
0 0 = zero
1 = °F
0 1 = FS
1 0 = LS
1
0
0
1
S:1
] [
15
15
data
0000 1001 0001 0000
7
6
5
4
Data
Format
0 0 = EU x1
0 1 = EU x10
1 0 = Scaled PID
1 1 = Prop Counts
0
0
0
1
Initialize Channel 0
MOV
MOVE
Source
Dest
TOD
TO BCD
Source
Dest
*
MVM
MASKED MOVE
Source
Mask
Dest
END
0
address
3
2
1
0
Type
of Input
0 0 0 0 = Type J
0 1 1 0 = Type B
0 0 0 1 = Type K
0 1 1 1 = Type N
0 0 1 0 = Type T
1 0 0 0 = 0...100 mV
0 0 1 1 = Type E
1 0 0 1 = ±100
0 1 0 0 = Type R
1 0 1 0 = Type C
0 1 0 1 = Type S
1 0 1 1 = Type D
0
0
0
0
N10:0
O:3.0
I:3.0
N7:0
N7:0
0FFF
O:2.0
15
data
0

Advertisement

Table of Contents
loading

Table of Contents