beautypg.com

7ć10 – Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 62

background image

Editing a Procedure

Chapter 7

7Ć10

can be any non-blank characters that do not appear in the text. If you do
not specify a number of occurrences, the 1775-S4B scanner locates the first
occurrence. If the specified value of n is 0 or is greater than the number of
occurrences of the text, the 1775-S4B scanner locates the last occurrence.
If the 1775-S4B scanner cannot find the text that you specify, the following
message displays:

If you do not enter the search command correctly (such as not using the
same character for both delimiters), the 1775-S4B scanner displays the
following message:

Example using the search command:

In the procedure @EXAMPLE which contains the following lines:

P ‘LINE l’
P ‘LINE 1A’
P ‘LINE 2’
P ‘LINE 3’

If we wanted to locate the third occurrence of the word line, simply enter
3S/LINE/ after the asterisk:

P ‘LINE l’
*3S/LINE/[ENTER]

The 1775-S4B scanner displays the procedure line that contains the third
occurrence of the word line starting after the current line of the procedure:

P ‘LINE 3’
*

Definition: To change text in a procedure.

Abbreviation: C

Format: C/// [ENTER]

Description: The change text characters command changes occurrence(s)
of the old text with the new text, starting with the first occurrence on the
current line. The slashes (/) represent delimiters, which can be any
non-blank characters that do not appear in the text. If you do not specify a
number before C, the 1775-S4B scanner changes the first occurrence of the

7.3.8
Change Text Characters