beautypg.com

Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 287

background image

Block Transfer

Chapter 18

18-22

Figure 18.10

Selecting Block Transfer Data Area

1

1

1

3

0

0

6

Block Transfer Data

010

013

027

060
067

110

127
130

030

Analog input module (8 bit) located in

Rack 1 Module Group 3, Slot 1

Output

Image

Table

Timer/

Counter

AC Area

Input

Image

Table

Timer/

Counter

PR Area

030

013

130

G

060

G

131

17

10382-I

Output Energize Instruction

The Output Energize instruction (Figure 18.9) initiates the block transfer.
It is given an address that indicates the module location and the type of
block transfer operation. The first digit of the address is always 0 for
output byte, even though an input or output block transfer module can be
used. The next three digits identify the module location by rack, group,
and slot. The last digit is either a 6 to enable a write or a 7 to enable a
read. When the block transfer is successfully completed, the Read or Write
done bit is set in the corresponding Input Image Table byte.

BiĆDirectional Block Transfer

A bi-directional operation requires one rung for a read operation and one
rung for a write operation. Consecutive addresses in the timer/counter area
of the data table should be selected for the Get instructions (Figure 18.11).
For example, the first Get instruction of both rungs should be assigned
consecutive word addresses such as 030 and 031. Both will have the same
“data” to identify the module location.