Procedure -2, Procedure – Rockwell Automation 1746-NT4 Series B,D17466.6.1 SLC 500 4-Channel Thermocouple/mV Input Module User Manual User Manual
Page 72
![background image](/manuals/579658/72/background.png)
Publication 1746-UM007C-EN-P - July 2004
6-2 Ladder Programming Examples
Example - Configure four channels of a thermocouple module
residing in slot 3 of a 1746 chassis. Configure each channel with the
same parameters.
This example transfers configuration data and sets the channel enable
bits of all four channels with a single File Copy instruction.
Procedure
1. Create integer file N10. Integer file N10 should contain four
elements (N10:0 through N10:3).
2. Enter the configuration parameters for all four thermocouple
channels into a source integer data file N10. See Appendix B for
a channel configuration worksheet.
3. Program a rung in your ladder logic to copy the contents of
integer file N10 to the four consecutive output words of the
thermocouple module beginning with O:3.0.
11
0
0
1
Type K Thermocouple Input
Engineering Units 10
Zero If Open Circuit
Fahrenheit
10 Hz Filter Frequency
Channel Enable Bit
Not Used
Bit Number
Bit Setting
Configures Channel For:
0
0
0
0
9
10
8
1
6
7
0
0
0
1
4
5
0
0
0
1
0
1
2
3
15
14
13
12
•
•
•
•
•
•
•
] [
COP
COPY FILE
Source #N10:0
Dest
#O:3.0
Length 4
First Pass Bit
S:1
15
On power up, bit S:1/15 is set for the first program scan, and integer file N10
is sent to the NT4 channel configuration words.
Initialize NT4