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

Page 268

Advertising
background image

Block Transfer

Chapter 18

18-3

Figure 18.2

Block Transfer Timing Diagram

Transfer is made

in I/O Scan

Output

Scan

Input

Scan

Request is made in

Program Scan

10377-I

The module address is stored in the timer/counter accumulated area in the
same manner as an accumulated value of a timer. The word address at
which the module address is stored is called the data address of
the instruction.

Once the module address is found, the processor locates the address of the
file to which (or from which) the data is transferred. The file address is
stored in BCD at an address 100

8

above the address containing the module

address. This is done in the same manner that the processor locates the
preset value of a timer/counter in a word address 100

8

above the

accumulated value address. The analogy between block transfer and
timer/counter data and addresses is shown in Table 18.A.

Table 18.A

Timer and Counter Block Transfer Analogy

Timer/Counter

Block Transfer

Address of Accumulated Value

Accumulated Value in BCD

Address of Preset Value

Preset Value of BCD

Data Address of Instruction

Module Address in BCD

100

8

Above Data Address

File Address in BCD

After locating the file address in the preset timer/counter area of the data
table, the processor then duplicates and transfers the file data consecutively
one word at a time until complete, starting at the selected file address.

At the completion of the transfer, a done bit for the read or write operation
is set in the status byte in the input image table as a signal that a valid
transfer has been completed.

Advertising