Spectrum Controls 1746sc-NI8u User Manual
Page 64

52
SLC 500
™
Universal Analog Input Module
Procedure
1. Using the memory map function, create integer file N10. Integer file
N10 should contain eight elements (N10:0 through N10:7).
2. Using the APS software data monitor function, enter the
configuration parameters for all eight universal channels into a source
integer data file N10.
Figure 5.2
Data table for initial programming
address 15
data
0
address
15
data
0
N10:0
0000
0010
0010
0011
N10:3
0000
0010
0010
0011
N10:4
0000
0010
0010
0011
N10:5
0000
0010
0010
0011
N10:6
0000
0010
0010
0011
N10:7
0000
0010
0010
0011
Press a key or enter value
N10:3/0 = 1
offline
no forces
binary data
decimal addr
File EXMPL
CHANGE
RADIX
F1
SPECIFY
ADDRESS
F5
NEXT
FILE
F7
PREV
FILE
F8
3. Program a rung in your ladder logic to copy the contents of integer
file N10 to the eight consecutive output words of the universal
module beginning with O:3.0.
Figure 5.3
Initial programming example
First Pass Bit
s:1
] [
15
COP
COPY FILE
Source #N10:0
Length 8
Dest #O:3.0
Initialize Module
On power up, bit S:1/15 is set for the first program scan, and integer file N10
is sent to the NI8u channel configuration words.