File 2 (continued) – Rockwell Automation 1746-NI16V SLC 500 Analog Input Modules User Manual User Manual
Page 83

Publication 1746-UM001A-US-P
Application Examples 7-5
File 2 (Continued)
EQU
Equal
Source A
B3:4
0000000000000000<
Source B
255
255<
EQU
U
B3:0
1
L
B3:0
2
CLR
Clear
Dest
B3:4
0000000000000000<
CLR
0003
B3:0
2
COP
Copy File
Source
#N7:28
Dest
#O:6.0
Length
8
COP
I:6.0
0
1746-NI16V
I:6.0
1
1746-NI16V
MOV
Move
Source
I:6.0
0<
Dest
N7:58
0<
MOV
L
B3:5
0
I:6.1
0
1746-NI16V
I:6.1
1
1746-NI16V
MOV
Move
Source
I:6.1
0<
Dest
N7:59
0<
MOV
L
B3:5
1
I:6.2
0
1746-NI16V
I:6.2
1
1746-NI16V
MOV
Move
Source
I:6.2
0<
Dest
N7:60
0<
MOV
L
B3:5
2
The COP Instruction copies Control Words for channels 8 to 15, requesting analog data for those channels. The data is received from the
NI16 in input image words I:6.0 through I:6.7, when bit 0 is set and bit 1 is reset for each of these input words. When all 8 inputs have
been updated, B3/2 is reset and B3/1 is set to read the data for channels 0 to 7.