Publication 1794-6.5.8 - January 2010
36 Module Programming
Figure 1.4
PLC-5 Family Sample Program Structure for the 1794-IF4I
BTR Enable Bit
EN
DN
BTW Enable Bit
1
3
ER
EN
DN
ER
BTR
BLOCK
TRANSFER READ
RACK:
GROUP:
MODULE:
DATA FILE:
LENGTH:
CONTINUOUS: N
BTW
BLOCK
TRANSFER WRITE
RACK:
GROUP:
MODULE:
LENGTH:
CONTINUOUS: N
02
1
0
N12:50
7
02
1
0
5
Program
Action
CONTROL:
N13:10
DATA FILE:
N12:60
CONTROL:
N13:0
N13:0
15
N13:10
15
Thereafter, the program continuously
performs read block transfers to configure
the module.
The pushbutton allows the user to
manually request a block transfer write.
Power-up
Bit
At power-up in RUN mode, or when the
processor is switched from PROG to RUN,
the user program enables a block transfer
read.
N12:55
15
2
14
N12:55
15
13
Power-up Bit
FP Bit
CF Bit
15
IC Bit
N12:55 N12:55 N12:64
Then it initiates a block transfer write to
configure the module if the power-up bit is
set.
This rung toggles the Initate Configuration
bit from 0 to 1 to 0
L
14
N12:64
THIS BIT
MUST
BE 1