beautypg.com

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

Page 286

background image

File Logic Instructions

Chapter 16

16Ć7

Programming File Complement Instruction

WARNING: The counter address for the File-to-File
Complement instruction should be reserved for that instruction.
Do not manipulate the counter accumulated or preset values.
Inadvertent changes to these values could in unpredictable or
hazardous machine operation or a run-time error. Damage to
equipment and/or personal injury could result.

To program a File Complement instruction, press [FILE] 13. A display
represented by Figure 16.4 will appear.

Figure 16.4

FILE COMPLEMENT Format

FILE COMPLEMENT

COUNTER ADDR:

030

POSITION:

001

FILE LENGTH:

002

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 A.

FILE R

: Starting address of destination file R.

RATE PER SCAN

: Number of data words operated upon per scan.

030

(DN)

15