Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 6 of 21

PT Program Generator User's Manual, pages 48 to 57

Pages 48 to 57 of 204

The original document is the PDF (14 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the PSC PT40 and Datalogic PT40

Page 48

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

The PPG Menubar

Delete (Del) To delete a node or frame, select it and choose Edit > Delete from the menubar or press the Delete key. The object is removed along with any associated Links. CAUTION

PPG has no Undo command to reverse actions you make accidentally. For that reason, it's a good idea to use the Cut command instead of the Delete command to remove nodes and frames. That way, if you delete something by mistake, you can use the Paste command to retain the information.

Properties Select Edit > Properties from the menubar to view the Properties dialog for both Function and Operation Nodes.

Function Nodes For Function Nodes (Frames and Subroutines) you can also point to the node and click the right mouse button to activate a popup menu; select Properties. The Function Node’s Properties dialog opens, showing the assigned name and description. Figure 17. Subroutine Properties Dialog Box

36

Name

PPG automatically names the item with its type. You can rename or change the name of the item.

Description

This field is optional, but you may wish to complete it to provide yourself additional information when using similarly named items.

•

To keep modifications, press OK; a new name shows on the node.

•

Press Cancel to close the dialog without keeping your modifications.

PT Program Generator (PPG) v5.0

Page 49

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

Edit Menu

Operation Nodes For Operation Nodes you can also access the Properties dialog using the following methods: •

Point to the node and double click with the left mouse button.

•

Point to the node and click the right mouse button to activate a popup menu; select Properties.

The Operation Node’s Properties dialog box opens, showing the assigned name and other node information. Figure 18 illustrates one type of properties dialog box. Refer to Creating & Using Nodes starting on page 49 to view the properties dialog for each node type. Figure 18. Display Node Properties Dialog Box

User’s Guide

Name

PPG automatically names the item with its type. You can rename or change the name of the item.

Description

This field is optional, but you may wish to complete it to provide yourself additional information when using similarly named items.

Display

This displays what will appear in the portable’s display window.

Next Node

Select the next node in the application’s sequence of events.

•

To approve the changes, press OK to view the new name on the node.

•

Press Cancel to close the dialog without keeping your modifications.

37

Page 50

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

The PPG Menubar

View Menu To access View menu items, select View > and then the specific menu item below you want to use from the menubar: • • • • •

Show Calling Function on page 38. Show Frame/Subroutine Nodes on page 38. Toolbar on page 39. PPG Explorer on page 40. Status Bar on page 40.

Show Calling Function Select View > Show Calling Function to show the parent frame of an open child frame. Refer to Node Types and the Parent-Child Relationship on page 17 for more information on the Parent-Child relationship. Figure 19. View Menu > Show Calling Function

Show Frame/Subroutine Nodes Select View > Show Frame/Subroutine Nodes from the menubar. You can select this menu item only after clicking on a Frame or Subroutine node. Figure 20. View Menu > Show Frames/Subroutine Nodes

38

PT Program Generator (PPG) v5.0

Page 51

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

View Menu

Toolbar The PPG Toolbars can be turned on and off by toggling the appropriate menu items. Use these features to customize the way your copy of PPG looks and behaves. Select View > Toolbar from the menubar. Figure 21. View Toolbars menu

PPG Select View > Toolbar > PPG. Selecting this menu item toggles the PPG Toolbar on and off.

Program Nodes Select View > Toolbar > Program Nodes. Selecting this menu item toggles the PPG Program Nodes Toolbar on and off. Refer to Program Nodes Toolbar on page 12 for a table showing what each node button does and where to get more information on each node type.

User’s Guide

39

Page 52

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

The PPG Menubar

PPG Explorer Select View > PPG Explorer to toggle the PPG Explorer on or off. You can also click on the small X at the top right of the Explorer window to close it.

The Explorer window is dockable, which means you can reposition it to other locations. To move it, click on the double bar at the top of the Explorer. Hold the left mouse button down and drag the window to the desired location.

Status Bar Select View > Status bar to toggle the bottom status bar on or off. When you print to a menu or toolbar command, the status bar displays a text description of the command. Toggling the status bar off makes the application display window slightly larger.

Create Menu From the menubar, select Create > and then the type of node or data you wish to create: •

•

40

Function Nodes on page 42.

• •

Frame (Ctrl+Alt+F) on page 42.

• •

Menu (Ctrl+Alt+U) on page 42.

Subroutine (Ctrl+Alt+S) on page 42. Operation Nodes on page 42. Display (Ctrl+Alt+D) on page 42.

PT Program Generator (PPG) v5.0

Page 53

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

Create Menu

•

• • • • • • • •

Input (Ctrl+Alt+I) on page 42.

• • • •

Register on page 43.

Output (Ctrl+Alt+O) on page 42. Verify (Ctrl+Alt+F) on page 42. Copy (Ctrl+Alt+C) on page 42. Modify (Ctrl+Alt+Y) on page 43. Math (Ctrl+Alt+M) on page 43. Call (Ctrl+Alt+L) on page 43.

Link (Ctrl+Alt+N) on page 43. Data on page 43. File on page 43. Template on page 43.

Field on page 43. Refer to Creating & Using Nodes on page 49 for a a complete review of creating and using nodes. Figure 22. Create Menu

User’s Guide

41

Page 54

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

The PPG Menubar

Function Nodes Frame (Ctrl+Alt+F) For a thorough discussion of Frames, refer to Frames on page 50.

Subroutine (Ctrl+Alt+S) For complete information on Subroutines, refer to Subroutines on page 51.

Operation Nodes Menu (Ctrl+Alt+U) Menu nodes present a group of options on the portable’s screen. They allow the user to select an option by pressing a function key. For complete information on Menus, refer to Menu Nodes on page 55.

Display (Ctrl+Alt+D) Display nodes display text on the portable’s screen. Refer to Display Nodes on page 56

Input (Ctrl+Alt+I) Input nodes specify how the portable will receive data. You can indicate how the input is accepted and where it is stored. Refer to Input Nodes on page 57.

Output (Ctrl+Alt+O) Output nodes send data to either the display, serial port or the portable’s system software. Output to the system software allows you to send special commands to reposition the cursor, sound a beep or reconfigure the portable. Refer to Output Nodes on page 60

Verify (Ctrl+Alt+F) Verify nodes test data in a register or file to see if it matches the expected type or value. Refer to Verify Nodes on page 63

Copy (Ctrl+Alt+C) Copy nodes move data between registers and files. Refer to Copy Nodes on page 66.

42

PT Program Generator (PPG) v5.0

Page 55

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

Create Menu

Modify (Ctrl+Alt+Y) Modify nodes change the contents of a given register or file. Refer to Modify

Nodes on page 67.

Math (Ctrl+Alt+M) Math nodes perform basic mathematical functions on the contents of a register or file. Refer to Math Nodes on page 69.

Call (Ctrl+Alt+L) Call nodes branch to a subroutine. Upon completion, the subroutine returns to the calling node. Refer to Call Nodes on page 72.

Link (Ctrl+Alt+N) Links connect other nodes (except Subroutines.) For complete information on Links, refer to Links on page 73.

Data The portable has its own data storage methods. Refer to Managing Data on page 77 for information on Data Files, Fields, Templates, and Registers.

Register Registers store data temporarily. For complete information on Registers, refer to Registers on page 78.

File Files hold data in the portable until it can be uploaded to a PC. For complete information on Files, refer to Files on page 81.

Template Use templates to combine data stored in different registers or break down data in a single register into fields. For complete information on Templates, refer to Templates on page 84.,

Field Fields allow you to store multiple pieces of data in a single register. For complete information on Fields, refer to Fields on page 87.

User’s Guide

43

Page 56

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

The PPG Menubar

Window Menu To access Window menu items, select Window > and the desired menu item: • • •

Cascade Windows on page 45. Tile Windows on page 45. Filename [Frame] on page 46.

Figure 23. Window Menu

Select More Windows... at the bottom of the Window menu to view a list of open frames if you have more than nine (9) frames open. Figure 24. More Windows... Dialog

44

PT Program Generator (PPG) v5.0

Page 57

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

Window Menu

Cascade Windows Select Windows > Cascade from the menubar to arrange open windows as overlapping tiles. Refer to Figure 25 on page 45, to view cascading windows. Figure 25. Windows Arranged by Cascading

Tile Windows Select Windows > Tile from the menubar to arrange open windows as nonoverlapping tiles. Refer to Figure 26 on page 46, to view tiled windows.

User’s Guide

45