Rockwell Automation 1794-IF4I, -OF4I, IF2XOF2I, -IF4IXT, -IF4ICFXT, -OF4IXT, IF2XOF2IXT FLEX I/O Isolated Analog Modules User Manual
Page 50
![background image](/manuals/579281/50/background.png)
Publication 1794-6.5.8 - January 2010
50 Module Programming
0011
Program Action
BTW DONE BIT
B3:10
13
BTR ERROR BIT
B3:0
12
BTR ENABLE BIT
B3:100
15
MOV
MOVE
SOURCE
DEST
B3:100
M0:1.100
00000001000000<
0012
This BTW control word is moved to the M0 file
for the scanner module.
?<
BTW ENABLE
B3:110
15
BTW ERROR BIT
B3:10
12
COP
COPY FILE
SOURCE
DEST
#N7:10
#M0:1.210
LENGTH
7
BTW PENDING
B3:15
0
BTW ENABLE BIT
B3:110
15
L
L
BTR DONE BIT
B3:0
13
BTR CONTROL
BTW ERROR BIT
B3:10
12
BTW ENABLE BIT
B3:110
15
MOV
MOVE
SOURCE
DEST
B3:110
M0:1.200
00000000000000<
0013
?<
BTW DONE BIT
B3:10
13
BTR CONTROL
This BTR control word is moved to the M0 file
for the scanner module.
0014
FP BIT
N7:5
14
POWERUP BIT
N7:5
15
CF BIT
N7:5
13
THIS BIT MUST BE 1
N7:16
14
IC BIT
N7:16
15
L
END
0016
This rung toggles the initiate configuration bit
from 0 to 1 to 0.
BIT
This rung executes a BTW to configure the module
when the power-up bit is set. The configuration
data for the FLEX module should be placed in the
wirte data.
Thereafter, the program continuously performs read block transfers.
MOV
MOVE
SOURCE
DEST
N7:0
N7:11
<
<
0015