Manual
3–4 Edit Your Ladder Logic Program
Publication
17716.5.99 - December 1995
PLC5 Family Processor
Block transfer instructions with the PLC-5 processor use a control
file and a data file. The block transfer control file contains the data
table section for module location, the address of the block transfer
data file and other related data. The block transfer data file stores
data that you want transferred to the module (when programming a
BTW) or from the module (when programming a BTR).
The programming terminal prompts you to create a control file when
a block transfer instruction is being programmed. A different block
transfer control file is used for the read and write instructions
for your module.
EN
BTR
BLOCK TRANSFER READ
Rack
Group
Slot
Control
00
2
1
N22:200
DN
Data File
Length
Continuous
N22:101
0
N
ER
EN
BLOCK TRANSFER WRITE
Rack
Group
Slot
Control
00
2
1
N22:205
DN
Data File
Length
Continuous
N22:1
0
N
ER
N22:200
15
N22:200
15
N22:205
15
Rung 2:0
The CFM module is located in rack 0, I/O group 2, slot 1. The integer
control file starts at N22:200, is 5 words long and is
compatible with all PLC5 family members. The data obtained by the PLC5 processor from the CFM module is placed in
memory starting at N22:101, and with the default length of 0, is 41 words long. The length can be any number between 0
and 41. In enhanced PLC5 processors
➀
, the block transfer data type may be used as a control file.
N22:205
15
Rung 2:1
The
CFM module is located in rack 0, group 2, slot 1. The integer control file starts at N22:205, is a 5 words long and is compat
ible will all PLC5 family members. The data sent by the PLC5 processor to the CFM module starts at N22:1, and with the
default length of 0, is 60 words long. Valid BTW lengths: 0, 1, 2, 3, 4, 14, 24, 34, 44, 48, 52, 56 and 60.
In enhanced PLC5 processors
1
, the block transfer data type may be used as a control file.
CFM BTR
Enable Bit
CFM BTW
Enable Bit
CFM BTR
Control File
CFM BTR
Enable Bit
CFM BTW
Enable Bit
CFM BTW
Control File
PLC5 Processor
Program Example
BTW
➀
Enhanced PLC5 processors include: PLC5/11, 5/20, 5/3x, 5/4x, and 5/6x.