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

Editing a Procedure
Chapter 7
7Ć12
*C/WAS IS/IS WAS/ [ENTER]
The 1775-S4B scanner now returns:
P ‘THIS WAS A TEST’
As a third example, if you are changing multiple occurrences in a line, you
must specify this in the change command. Otherwise, the 1775-S4B
scanner only changes one occurrence per line. Suppose you are editing a
line that contains:
P $N9:1 $N9:2 $N9:3 $N9:4
If you want to change all the nines in this line to sevens, make the
following change command:
*4C/9/7/ [ENTER]
The 1775-S4B scanner changes the four occurrences of nines to sevens and
returns:
P $N7:1 $N7:2 $N7:3 $N7:4
Definition: To remove lines from the procedure.
Abbreviation: D
Format: <number of lines>D [ENTER]
Description: The delete lines command deletes line(s) of the procedure,
starting with the current line.
Example using the delete lines command:
For the procedure @EXAMPLE which contains the lines:
P ‘INDEX l’
P ‘LINE 1A’
P ‘LINE 2’
P ‘LINE 3’
We can delete the first two lines of @EXAMPLE by entering 2D at the
initial asterisk:
P ‘INDEX l’
* 2D [ENTER]
7.3.9
Delete Lines