Plc-5/250 family processor – Rockwell Automation 1794-IRT8XT FLEX I/O Thermocouple/RTD /Millivolt Input Module User Manual User Manual

Page 74

Advertising
background image

Publication 1794-6.5.12 - September 2011

62

Program Your Module with PLC Family Processors

PLC-5/250 Family Processor

Block transfer instructions with the PLC-5/250 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 automatically selects the control file based on rack,
group and module, and whether it is a read or write. A different block transfer
control file is used for the read and write instructions for your module. A
different block transfer control file is required for every module.

EN

BTR

BLOCK TRANSFER READ
Rack
Group
Slot
Control

02

2
1

N22:200

DN

Data File
Length
Continuous

N22:101

0

N

ER

EN

BLOCK TRANSFER WRITE
Rack
Group
Slot
Control

02

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 IRT8 module is located in rack 2, 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 IRT8 module is placed in memory

starting at N22:101, and with the default length of 0, is 11 words long. The length can

be any number

N22:205

15

Rung 2:1
The IRT8 module is located in rack 2, group 2, slot 1. The integer control file starts

at N22:205, is a 5 words long and is compatible will all PLC-5 family members. The data

sent by the PLC-5 processor to the IRT8 module starts at N22:1, and with the default

length of 0, is 4 words long. Valid BTW lengths: 0, 1, 2, 3, and 4. In enhanced PLC-5

processors

1

, the block transfer data type may be used as a control file.

IRT8 BTR

Enable Bit

IRT8 BTW

Enable Bit

IRT8 BTR
Control File

IRT8 BTR

Enable Bit

IRT8 BTW

Enable Bit

IRT8 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.

45567

Advertising