beautypg.com

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

Page 124

background image

Using Commands in Report Generation

Chapter 10

10Ć21

You could also use the following input access functions which you can use
to time out the terminal keyboard:

Getchar()—which searches the input buffer for a character
Testchar()—which tests the input buffer for a character
Testline()—which tests the input buffer for an available complete line

Refer to chapter 11 for detailed information on these functions.

Example using the inquire command:

If you enter:

IN US_8’SET POINT:\X’
P US_8

When the command line above executes, the following line displays on the
CRT:

SET POINT:

This line prompts you to enter a number followed by an [ENTER].
Suppose you enter 2 3 8 [ENTER], the 1775-S4B scanner would store 238
in user symbol US_8. The \X places the user input on the same line as the
message.

So the entry would appear:

SET POINT: 238

Then the 1775-S4B scanner prints user symbol US_8:

238

Definition: To remove a user symbol.

Abbreviation: DEL

Format: DEL

Description: In addition to deleting system symbols from the S4B>
prompt, you can use the delete command to delete user symbols.

10.3.11
Delete