PSC PT Program Generator User Manual

Page 115

Advertising
background image

Studying a Sample Program

User’s Guide

103

10. Select the

X (close button) on the top right of the

Main Menu

title bar

to return to the higher level of the program.

Or choose the

View > Show Calling Function

to go back to the

Sample Frame

level.

11. Double-click the

Collect

frame to view its contents (refer to

Figure 74

).

Figure 74. The Contents of the Collect frame

Two

Display

nodes prompt the user to scan or enter first an item

code (

Display: Enter Item

) and then a quantity value (

Display:

Quantity

). Both entered values are displayed together on the

screen (via the

Output

nodes) and are then copied to a file for

storage (via the

Copy

node).

The

Input

nodes send control back through the

Exit

node to the

Main Menu

frame if a function key is pressed. The

Call

node

jumps to the

Pad Zeros

subroutine back in the

Sample

frame

level, padding the input value with zeros, if necessary, to meet a
required number of digits.

12. Close the

Collect

frame window to go back to the Program level.

You can also use

View > Frames

and

View > Nodes

in the menu to jump between

levels.

2342.book Page 103 Thursday, July 22, 2004 8:35 AM

Advertising