Rockwell-automation 1746-NI8 SLC 500 Analog Input Modules User Manual Instrukcja Użytkownika Strona 57

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 56
6–2
Ladder Logic Configuration Examples
Publication
17466.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 1746NI8 channel configuration words.
Initialize 1746NI8
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
Przeglądanie stron 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 90 91

Komentarze do niniejszej Instrukcji

Brak uwag