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 5 of 21

PT Program Generator User's Manual, pages 38 to 47

Pages 38 to 47 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 38

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

The PPG Menubar

If a file of that name already exists in the specified directory, a dialog box appears, asking if you want to replace the existing file. Select Yes to replace the file or No to return to the Save As dialog box, where you can give the file another name or place it in another location.

Save As To save a newly created file for the first time (or to save an existing file with a different filename or location), select File> Save As from the menubar. This opens the Save As dialog box, shown in Figure 8. Figure 8. The Save As Dialog

Type a name for the new file in the File Name field. The pull-down list displays the names of all existing source-program files in the PPG directory. Unless you want to overwrite the contents of an existing file, use a unique name. PPG automatically provides the program file with a *.scr extension. By default, the file is saved in the directory in which you installed PPG, and this is where PPG will look to open a file. To store the file somewhere else, select or enter the drive and directory before the file name in the File Name field.

Printing a File (Ctrl+P) To print the current view of a program flow chart, select File > Print from the menubar. Refer to the Print dialog, shown in Figure 9.)

26

PT Program Generator (PPG) v5.0

Page 39

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

File Menu

Figure 9. The Print Dialog

Press OK to send the displayed frame to the printer. Only one view of a flow chart can be printed at a time.

Page Setup Select File > Page Setup to change the printing options. (Refer to Figure 10 on page 28.)

User’s Guide

27

Page 40

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

The PPG Menubar

Figure 10. The Page Setup Dialog

Press OK when you are finished modifying the Page Setup options.

Download (Ctrl+D) Use this feature after you have finished creating your flow chart. Select File > Download from the menubar to compile the program and download it onto the portable. The PPG Compiler window opens, downloads the file and then closes, automatically. Refer to PT40 Communication on page 89 for complete instructions on downloading and transferring files to and from your PC and the PDT.

Customize Application (Ctrl+Z) Each application is designed to run in a specific environment. To change the application settings and open the Customize Application dialog box: 1. Select File > Customize Application from the menubar.

28

PT Program Generator (PPG) v5.0

Page 41

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

File Menu

Figure 11. The Customize Application Dialog

2. Change the desired settings as explained below: PDT Options Default PDT type

Click on the arrow to access the fields’ pull-down lists. Determines the PSC portable defaults. Select from one of two PSC portable types.

Default Language Determines the language and font size in which prompts appear on the PDT. Default Font Size

User’s Guide

Determines the language and font size in which all other text appears on the PDT.

29

Page 42

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

The PPG Menubar

Appearance Font

You can change the appearance of nodes with these fields. Press the Font Select button to open the Font dialog box shown in Figure 12 to change the font and size displayed in the flow chart.

Figure 12. Font Dialog Box

Your font changes affect all text in the flow chart, not just the selected node or frame. All objects in the current flow chart are affected immediately. Corresponding settings for previously-created applications will not be changed. Node Type

Default width / height for nodes and grids are displayed in pixels

Width

Height

Function

100

25

Operation

80

38

Width and Height indicate the number of pixels between points.

If some of the text in flow chart nodes is being cut off, you can either increase the node size or decrease the font size.

3. Select OK to save your settings. This opens the dialog shown in Figure 13 on page 31.

30

PT Program Generator (PPG) v5.0

Page 43

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

File Menu

Figure 13. Customize Options dialog

4. Select OK to apply the setting changes to all new applications. • •

Press No to apply your changes only to the current application. Press Cancel to cancel your changes.

Customize Display (Ctrl+Y) File > Customize Display from the menubar to open the Display Options dialog box, as shown in Figure 14 on page 31.

Figure 14. The Display Options Window

User’s Guide

31

Page 44

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

The PPG Menubar

Grid

Each flow chart has a grid background, which is useful in organizing the nodes. You can customize the grid to meet your needs. Snap to grid

Enable Snap to grid to organize the flow chart so that nodes automatically snap to the nearest grid point when they are moved. If this feature is not enabled, nodes are free-floating.

View grid points Enable this option to display grid points on the flow chart window. Dimensions

Appearance Node type

Default width/height = 10 pixels between points. You can change the shape and color for each type of node in the flow chart. Select the node type you wish to modify from the Node type pulldown list. The shape, text style and colors currently set for that node type are displayed.

Shape Select a shape for the node from the pull-down list.

Text color Select a text color for the node from the pulldown list. Default = Black.

32

PT Program Generator (PPG) v5.0

Page 45

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

File Menu

Fill color Select a fill color for the node from the pull-down list. Default = White.

Outline color Select a outline color for the node from the pulldown list. Default = Navy.

More Colors... Startup Show PPG Toolbar

Click on More Colors... to open a standard Windows dialog box for creating custom colors. Select the checkbox to enable this feature when PPG opens. Enable to display the File toobar.

Show Program Nodes toolbar

Enable to display Program Nodes toobar when PPG opens.

Show PPG Explorer

Enable to display the PPG Explorer window when PPG opens.

Recent Files Select File > Recent Files from the menubar to show a list of recently opened PPG files. Figure 15. Recent Files Menu

You can select a file to open from this list.

User’s Guide

33

Page 46

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

The PPG Menubar

Exit (Alt+F4) Select File > Exit from the menubar to exit PPG. If you have made changes since the last time you saved the file, PPG will prompt you to save the file.

Edit Menu The following topics are covered in this section: • Selecting Objects on page 34. • Moving Objects on page 35. • Cut (Ctrl+X) on page 35. • Copy (Ctrl+C) on page 35. • Paste (Ctrl + V) on page 35. • Delete (Del) on page 36. • Properties on page 36 To access Edit menu items, select Edit > and then the specific menu item you want to use from the menubar, as shown in Figure 16 on page 34. Figure 16.The Edit Menu

Selecting Objects Select multiple objects using standard Windows selection methods:

34

•

Select one object. Hold down the shift button, point and select another object with your right mouse button. Add as many objects as you wish, holding down the shift button while selecting the object with the mouse.

•

You can also select a group of objects by pointing to a spot on the frame window which is above and to the left of the items to be selected. Hold down the left mouse button and drag the pointer to a point below and to the right of the objects to be selected. When the PT Program Generator (PPG) v5.0

Page 47

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

Edit Menu box is the desired size and shape, release the mouse button. All objects within the box are selected. You may then cut or copy all the selected objects and place them somewhere else, or drag all the selected objects with the mouse to a new location.

Moving Objects To move an object from one frame or program to another, select it and choose Edit > Cut. To copy an object, select Edit > Copy. Then go to where you want the cut or copied object inserted and choose Edit > Paste. The object is pasted in the top left corner of the window; drag it with the mouse to reposition it. You can use the Cut, Copy, and Paste commands to move and copy parts of a flow chart from one frame to another or from one program to another. These commands operate on frames and nodes just like they do on text or graphics in other Windows applications.

Moving Links To move a node while retaining the position of anchored, jointed links, press and hold the Shift and Ctrl keys while grasping the node with the mouse and moving it to the new location. Fields and templates cannot be moved or copied between programs. Copied nodes lose their template and field references if the application in which they are placed does not have the same data elements.

Cut (Ctrl+X) Select Edit > Cut from the menubar to cut the selected item. Or you can use the standard Windows keyboard shortcut and press Ctrl+X.

Copy (Ctrl+C) Select Edit > Copy from the menubar to copy the selected item. You can also use the standard Windows keyboard shortcut and press Ctrl+C.

Paste (Ctrl + V) Select Edit > Paste from the menubar to paste the copied item.Or you can use the standard Windows keyboard shortcut and press Ctrl+V.

User’s Guide

35