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

Page 152

Advertising
background image

Special Programming Techniques

Chapter 11

11Ć5

If found, the rung containing the first occurrence of the address and/or
instruction will be displayed as well as the rungs after it. if the [SEARCH] key
is pressed again, the next occurrence of the address and/or instruction will be
displayed. When it cannot be located or all addresses and/or instructions have
been found, a “NOT FOUND” message will be displayed.

If the instruction is found in the subroutine area or past the temporary end
instruction, the area in which it is found will be displayed in the lower right
hand corner of the screen.

Press [CANCEL COMMAND] at any time to terminate this function. All other
keys are ignored during the search.

In summary, use [DATA INIT] to:

Enter a data instruction with an unused address.
Enter new data.
Clear the status bits of an already used address. Press [DATA INIT] after the

instruction key(s) and before you enter the address.

Section B

Block Transfer

As a review from chapter 6, we will list the characteristics common to both
block transfer instructions:

Output

instruction

Block length depends on the type of I/O module.
Request is made in the program scan.
I/O scan is interrupted for the transfer.
Entire file is transferred in 1 scan.
Done bit remains on for 1 program scan after a valid transfer.
Uses 2 words of the user program area.
Key

sequence:

Block transfer read - BLOCK X-FER 1
Block transfer write - BLOCK X-FER 0

Do not use word 127 for block transfer data storage.

You enter these two instructions exactly like the sequencer or file instructions
described in chapter 10. The following is a synopsis of how to enter these
instructions:

Objectives

Programming Technique

Advertising