beautypg.com

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

Page 111

background image

Using Commands in Report Generation

Chapter 10

10Ć8

You enter indirect commands into a procedure through the edit mode. The
commands in the procedure are then executed by the 1775-S4B scanner
whenever you tell it to execute that procedure. Indirect commands include:

Print
Execute
Case
Exit
Stop
If
Goto
On_error
Assignment
Inquire
Delete

We describe these commands in the following sections.

Definition: To display information.

Abbreviation: P

Format: P

Description: In addition to displaying a procedure, the print command
tells the 1775-S4B scanner to display the value of other data which you can
specify. You can use this command at the command mode or within a
procedure. A data specifier could be:

Procedure

name

String
User

symbol

Logical

address

Symbolic

address

Expression

Examples using the print command:

If you enter:

P @TEST

10.3
Indirect Commands

10.3.1
Print