6ć37 – Rockwell Automation 1772-LV Mini-PLC - 2/15 Programmable Controller (Series B) Programming and Operations User Manual

Page 94

Advertising
background image

Advanced Instruction Set

Chapter 6

6Ć37

Table 6.C

Timer/Counter Block Transfer Analogy

Timer/Counter Equals Block Transfer Analog

Address of Accumulated Value

Data Address of Instruction

Accumulated Value in BCD Module Address in BCD
Address of Preset Value 100

8

Above Data Address

Preset Value in BCD

File Address in BCD

After locating the file address in 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 input image table byte as a signal that a valid transfer has been
completed.

The format of a block transfer read and a block transfer write instruction with
default values is shown in Figure 6.15. An example of a program using these
instructions will be illustrated in chapter 11.

Let’s look at the instruction:

Block Transfer Syntax

Advertising