
6–2
Ladder Logic Configuration Examples
Publication
17466.8 - April 1997
Procedure
1. Create integer file N10. Integer file N10 should contain eight
elements (N10:0 through N10:7).
2. Enter the configuration parameters for all eight analog input
channels into a source integer data file N10. See Appendix B for
the channel configuration worksheet.
3. Program a rung in your ladder logic to copy the contents of
integer file N10 to the eight consecutive output words of the
1746-NI8 analog module beginning with word O:3.0.
] [
COP
COPY
FILE
Source #N10:0
Dest #O:3.0
Length 8
First Pass Bit
S2:1
15
On power up, bit S2:1/15 is set for the first program scan, and integer file N10
is sent to the eight 1746NI8 channel configuration words.
Initialize 1746NI8
DATA
FILE N10
Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
N10:0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:1 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:2 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:3 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:4 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:5 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:6 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
N10:7 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1
Komentáře k této Příručce