Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 111

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

Communicating with a PLC-5 Adapter Channel 7-13

Program multiple block-transfers to an adapter-mode controller channel by
matching block-transfer instructions in the supervisory controller to control
files in the adapter.

You can have up to 15 writes and 15 reads. Each block transfer to a particular
group/module location uses the I/O addresses for that rack/group for status
bits. These locations are lost to discrete transfer. Therefore, if you configure all
available 15 block-transfer read/write pairs, no bits will be available for
discrete transfer. See page 7-15 for more information.

BTW

RACK

GROUP

MODULE

4*

0

0

BTW

RACK

GROUP

MODULE

4*

1

0

BTW

RACK

GROUP

MODULE

4*

1

1

Supervisor Program

Adapter Configuration

Group

0
0
1

1

Module

0
1
0

1

BTW Control
BT000:000
BT000:000
BT000:000
BT011:001

BTR Control
BT010:000
BT000:000
BT011:000
BT011:040

RACK

STARTING GROUP

SIZE

4*

0

FULL

* Must Match

Address EN ST DN ER CO EW NR TO RW RLEN DLEN FILE ELEM R G M

BT10:0 0 0 0 0 0 0 0 0 0 64 0 24 10 0 0 0

Assuming that file 24 has been created as an integer file, the data written down from the first block-transfer will
be found in N24:10 to N24:73. The second block-transfer in the supervisor writes its data to the file to which
BT11:0 points, and the third block-transfer writes its data to the file to which BT11:40 points.

In this example, the first block
transfer in the supervisor uses the
BTR control word listed in group 0
module 0, which is BT010:000.

BT10:0 points to file 24 and element 10 and
has a length of 64 words.

BTR

RACK

GROUP

MODULE

4*

1

1

Block transfer further defined in the adapter-mode processor channel via Data Monitor

IMPORTANT

Adapter-mode block-transfer reads and block-transfer
writes in the same group/module location must have the
same length.

Advertising