beautypg.com

7 - editing a procedure, Editing a procedure – Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 53

background image

Chapter

7

7Ć1

Editing a Procedure

In chapter 5, you learned how to enter the edit mode to insert a procedure
and execute the procedure at the S4B> prompt. After you read this chapter,
you should be able to use all editing commands available with the
1775-S4B scanner.

In chapter 5, we created a procedure called @TEST1 and executed it. Now
suppose you want to change the procedure. This section discusses editing a
simple procedure. If you are comfortable with the procedure concept, you
can move on to the next section (section 7.2) of this chapter.

Our procedure called @TEST1 from chapter 5 contains the following
lines:

P ‘PRINTING ON THE’
P ‘SCREEN’

Let’s change the procedure. Type:

S4B> ED @TESTI [ENTER]

This time, the CRT displays the lines:

P ‘PRINTING ON THE’
*

Type the line:

C/PRINTING/PRINT OUT/ [ENTER]

This instruction tells the 1775-S4B scanner to change PRINTING from the
procedure text to PRINT OUT.

So, the 1775-S4B scanner responds with the line:

P ‘PRINT OUT ON THE’
*

Now press [ENTER].

7.0
Chapter Objectives

7.1
Editing a Simple Procedure