beautypg.com

Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 41

background image

Getting Started in Report Generation

Chapter 5

5Ć3

If you have the S4B> prompt on your CRT, you can create and execute
report generation procedures. The first step is to create the procedure by
entering the edit mode.

Simply type:

Ed @TEST1 [ENTER]

ED is the abbreviation for the edit command. The edit command is a report
generation command that enables you to create and store a new procedure
or edit an existing procedure. Also, you may notice that an (@) sign
precedes the first character in the procedure name. The 1775-S4B scanner
interprets an @ sign as a system symbol delimiter and accepts the
characters that follow as the procedure name. Following the @ sign, you
can use up to eight characters to name your procedure. Report generation
accepts any alphanumeric character(s) and the underscore character(s) (_)
for procedure names. Procedures names must start with a letter following
the @ sign.

NOTE: If you are using an industrial terminal to execute report generation
procedures, you cannot use lower case letters to name a procedure as the
industrial terminal does not recognize lower case letters. However, the
1775-S4B scanner does recognize lower case letters.

After you enter the command line above, the 1775-S4B scanner enters the
edit mode by displaying the following lines on the CRT:


*

means end of block and signifies that the file, or the memory area
for the procedure is currently empty.

Next, you have to tell the 1775-S4B scanner that you want to insert some
text. So type:

I [ENTER]

When the cursor moves to the line after the asterisk, the 1775-S4B scanner
is ready for you to enter a line.

Type:

P ‘PRINTING ON THE’[ENTER]
P ‘SCREEN’[ENTER]

5.4
Executing a Simple
Procedure