Procedure -2, Procedure – Rockwell Automation 1746-NT8 SLC 500 Thermocouple/mV Analog Input Module User Manual User Manual
Page 58

Publication 1746-UM022B-EN-P - January 2005
5-2 Programming Examples
Procedure
1. Create integer file N10. Integer file N10 should contain eight
elements (N10:0 through N10:7).
2. Using the programming software, enter the configuration
parameters for all eight thermocouple channels into data file
locations N10:0 through N10:7.
3. Program a rung in your ladder logic to copy the contents of
integer file N10 to the eight consecutive output words of the
thermocouple module beginning with O:3.0.
Initial programming example
On power up, bit S:1/15 is set for the first program scan. During the
first program scan, the configuration data in N10:0 through N10:7 will
be sent to the 1746-NT8 channel configuration words.
Data table for initial programming
Data File N10 (bin) - NT 8 Configuration
Offset 15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Symbol
Description
N10:0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:1
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:2
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:3
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:4
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:5
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:6
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
N10:7
1
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
S:1
15
COP
Copy File
Source
#N10:0
Dest
#O:3.0
Length
8
COP
#NT8_CONFIGURATION
END
F irst Pass
0000
0001
During the first pass, send the channel configuration data to the thermocouple module.