Rockwell Automation 1793-OE2S FLEX INTEGRA ANALOG MOD User Manual
Page 25

Publication 1793-6.5.1 - April 1999
Module Programming
3-3
Figure 3.2
PLC-3 Family Sample Program Structure for a 1793-OE2 Module
Figure 3.3
PLC-3 Family Sample Program Structure for a 1793-IE2XOE1 Module
EN
BTR
EN
BTW
DN
B6:0
05
ER
Enable
Done
Error
12
15
13
Enable
Done
Error
02
05
03
Block Transfer
Write Done Bit
1
DN
ER
B6:0
15
Program Action
At power-up in RUN mode, or when the
processor is switched from PROG to RUN,
the user program enables a block transfer
read. Then it initiates a block transfer write
to configure the module and send data
values.
Thereafter, the program continuously
performs read block transfers and write
block transfers.
Note: You must create the data file
for the block transfers before you
enter the block transfer instructions.
2
BLOCK XFER READ
RACK:
7
GROUP:
1
MODULE:
0
CONTROL:
#B6:0
DATA FILE:
#B7:0
LENGTH:
1
BLOCK XFER WRITE
RACK:
7
GROUP:
1
MODULE:
0
CONTROL:
#B6:0
DATA FILE:
#B8:0
LENGTH:
14
Block Transfer
Read Done Bit
EN
BTR
EN
BTW
DN
B9:0
05
ER
Enable
Done
Error
12
15
13
Enable
Done
Error
02
05
03
Block Transfer
Write Done Bit
1
2
DN
ER
B9:0
15
Program Action
At power-up in RUN mode, or when the
processor is switched from PROG to RUN,
the user program enables a block transfer
read. Then it initiates a block transfer write
to configure the module and send data val-
ues
Thereafter, the program continuously
performs read block transfers and write
block transfers.
Note: You must create the data file
for the block transfers before you
enter the block transfer instructions.
Block Transfer
Read Done Bit
BLOCK XFER READ
RACK:
7
GROUP:
2
MODULE:
0
CONTROL:
#B9:0
DATA FILE:
#B10:0
LENGTH:
5
BLOCK XFER READ
RACK:
7
GROUP:
2
MODULE:
0
CONTROL:
#B9:0
DATA FILE:
#B11:0
LENGTH:
8