User Manual Owner's manual

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
001
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:
0000
910 8
1
67
00 01
45
0001
012315 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