beautypg.com

Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 218

background image

Data Transfer File Instructions

Chapter 12

12Ć3

Figure 12.2

File Instruction Format

FILE-TO-FILE MOVE

COUNTER ADDR:

030

POSITION:

001

FILE LENGTH:

001

FILE A:

110- 110

FILE R:

110- 110

RATE PER SCAN:

001

030

(EN)

17

Numbers shown are default values. Bold numbers must be replaced by userĆentered values. The number of default address digits

initially displayed Ċ 3, 4, or 5 Ċ will depend on the size of the data table. Initially displayed default values are governed by the I/O rack

configuration.

COUNTER ADDRESS

: Address of the instruction in the accumulated value area of the data table.

POSITION

: Current word being operated upon (accumulated value of counter).

FILE LENGTH

: Number of words in file (preset value of the counter).

FILE A

: Starting address of source file.

FILE R

: Starting address of destination file.

RATE PER SCAN

: Number of data words moved per scan.

ENABLE BIT -(EN)-

: Automatically entered from the counter address. Set high when the rung condition is true and/or when the

instruction is operating.

DONE BIT -(DN)-

: Automatically entered from the counter address. Set high when the operation is complete and remains high

as long as the rung condition is true.

030

(DN)

15

To the right of the instruction are they enable (EN) and done (DN) bits.
These bits have the same word address as the instruction counter. The
industrial terminal enters the address of the status bits when the counter
address is entered by the user. The status bits intensify on the screen when
true. The enable bit is true when:

The rung is true
Instruction is operating

The done bit is true when the instruction operation is complete (counter
accumulative value equals preset value).

There are two kinds of file instructions. Each instruction is one of these
types. The difference between the two is the manner in which the counter
accumulated value is indexed. The two types are:

Externally indexed — indexed by other instructions in the user program
Internally indexed — indexed by the instruction