beautypg.com

Plcć5 family processor – Rockwell Automation 1771-CFM,D17716.5.99 CONFIGURABLE FLOWMET User Manual

Page 32

background image

3–4

Edit Your Ladder Logic Program

Publication 1771Ć6.5.99 - December 1995

PLCĆ5 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 PLCĆ5 family members. The data obtained by the PLCĆ5 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 PLCĆ5 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 PLCĆ5 family members. The data sent by the PLCĆ5 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 PLCĆ5 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

PLCĆ5 Processor

Program Example

BTW

Enhanced PLCĆ5 processors include: PLCĆ5/11, Ć5/20, Ć5/3x, Ć5/4x, and Ć5/6x.