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

PT Program Generator User's Manual, pages 1 to 7

Pages 1 to 7 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 1

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

PT Program Generator

User’s Manual

Page 2

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

PSC Inc 959 Terry Street Eugene, Oregon 97402 Telephone: (541) 683-5700 Fax: (541) 345-7140 An Unpublished Work - All rights reserved. No part of the contents of this documentation or the procedures described therein may be reproduced or transmitted in any form or by any means without prior written permission of PSC Inc. or its wholly owned subsidiaries ("PSC"). Owners of PSC products are hereby granted a non-exclusive, revocable license to reproduce and transmit this documentation for the purchaser's own internal business purposes. Purchaser shall not remove or alter any proprietary notices, including copyright notices, contained in this documentation and shall ensure that all notices appear on any reproductions of the documentation. Should future revisions of this manual be published, you can acquire printed versions by contacting PSC Customer Administration. Electronic versions may either be downloadable from the PSC web site (www.pscnet.com) or provided on appropriate media. If you visit our web site and would like to make comments or suggestions about this or other PSC publications, please let us know via the “Contact PSC” page. Disclaimer Reasonable measures have been taken to ensure that the information included in this manual is complete and accurate. However, PSC reserves the right to change any specification at any time without prior notice. PSC is a registered trademark of PSC Inc. The PSC logo is a trademark of PSC. All other trademarks and trade names referred to herein are property of their respective owners. Falcon® is a registered trademark of PSC. Microsoft Windows®, Windows® NT, Windows® ME, Windows® 95, Windows® 98, and Windows® 2000 are registered trademarks of Microsoft Corporation. This product may be covered by one or more of the following patents: 4603262 • 4639606 • 4652750 • 4672215 • 4699447 • 4709195 • 4709369 • 4749879 • 4792666 • 4794240 • 4798943 • 4799164 • 4820911 • 4845349 • 4861972 • 4861973 • 4866257 • 4868836 • 4879456 • 4939355 • 4939356 • 4943127 • 4963719 • 4971176 • 4971177 • 4991692 • 5001406 • 5015831 • 5019697 • 5019698 • 5086879 • 5115120 • 5144118 • 5146463 • 5179270 • 5198649 • 5200597 • 5202784 • 5208449 • 5210397 • 5212371 • 5212372 • 5214270 • 5229590 • 5231293 • 5232185 • 5233169 • 5235168 • 5237161 • 5237162 • 5239165 • 5247161 • 5256864 • 5258604 • 5258699 • 5260554 • 5274219 • 5296689 • 5298728 • 5311000 • 5327451 • 5329103 • 5330370 • 5347113 • 5347121 • 5371361 • 5382783 • 5386105 • 5389917 • 5410108 • 5420410 • 5422472 • 5426507 • 5438187 • 5440110 • 5440111 • 5446271 • 5446749 • 5448050 • 5463211 • 5475206 • 5475207 • 5479011 • 5481098 • 5491328 • 5493108 • 5504350 • 5508505 • 5512740 • 5541397 • 5552593 • 5557095 • 5563402 • 5565668 • 5576531 • 5581707 • 5594231 • 5594441 • 5598070 • 5602376 • 5608201 • 5608399 • 5612529 • 5629510 • 5635699 • 5641958 • 5646391 • 5661435 • 5664231 • 5666045 • 5671374 • 5675138 • 5682028 • 5686716 • 5696370 • 5703347 • 5705802 • 5714750 • 5717194 • 5723852 • 5750976 • 5767502 • 5770847 • 5786581 • 5786585 • 5787103 • 5789732 • 5796222 • 5804809 • 5814803 • 5814804 • 5821721 • 5822343 • 5825009 • 5834708 • 5834750 • 5837983 • 5837988 • 5852286 • 5864129 • 5869827 • 5874722 • 5883370 • 5905249 • 5907147 • 5923023 • 5925868 • 5929421 • 5945670 • 5959284 • 5962838 • 5979769 • 6000619 • 6006991 • 6012639 • 6016135 • 6024284 • 6041374 • 6042012 • 6045044 • 6047889 • 6047894 • 6056198 • 6065676 • 6069696 • 6073849 • 6073851 • 6094288 • 6112993 • 6129279 • 6129282 • 6134039 • 6142376 • 6152368 • 6152372 • 6155488 • 6166375 • 6169614 • 6173894 • 6176429 • 6188500 • 6189784 • 6213397 • 6223986 • 6230975 • 6230976 • 6237852 • 6244510 • 6259545 • 6260763 • 6266175 • 6273336 • 6276605 • 6279829 • 6290134 • 6290135 • 6293467 • 6303927 • 6311895 • 6318634 • 6328216 • 6332576 • 6332577 • 6343741 • 6,568,598 • 6,578,765 • AU703547 • D312631 • D313590 • D320011 • D320012 • D323492 • D330707 • D330708 • D349109 • D350127 • D350735 • D351149 • D351150 • D352936 • D352937 • D352938 • D352939 • D358588 • D361565 • D372234 • D374630 • D374869 • D375493 • D376357 • D377345 • D377346 • D377347 • D377348 • D388075 • D446524 • EP0256296 • EP0260155 • EP0260156 • EP0295936 • EP0325469 • EP0349770 • EP0368254 • EP0442215 • EP0498366 • EP0531645 • EP0663643 • EP0698251 • GB2252333 • GB2284086 • GB2301691 • GB2304954 • GB2307093 • GB2308267 • GB2308678 • GB2319103 • GB2333163 • GB2343079 • GB2344486 • GB2345568 • GB2354340 • ISR107546 • ISR118507 • ISR118508 • JP1962823 • JP1971216 • JP2513442 • JP2732459 • JP2829331 • JP2953593 • JP2964278 • MEX185552 • MEX187245 • RE37166 • Other Patents Pending

Page 3

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

CONTENTS Software End User License Agreement .................................................. vii Introduction ........................................................................................... 1 Document Overview ......................................................................................................... 1 Style Conventions ........................................................................................................... 2 Manual Formatting Conventions................................................................................... 2 Keyboard Keys.................................................................................................... 2 Keystrokes ......................................................................................................... 2 Windows Controls................................................................................................ 3 Mouse Actions ........................................................................................................... 3 Portable Keys............................................................................................................ 3

Getting Started....................................................................................... 5 Overview ........................................................................................................................ 5 Before You Start .............................................................................................................. 6 What’s New in PPG v5.0? ............................................................................................ 6 PPG License Agreement .............................................................................................. 6 Registering Your Copy of PPG ...................................................................................... 6 PPG Installation ............................................................................................................... 6 PPG System Requirements.......................................................................................... 6 Required Hardware .............................................................................................. 6 Operating Systems .............................................................................................. 7 Supported Portables................................................................................................... 7 Installing PPG ........................................................................................................... 7 Upgrading to PPG v5.0 ............................................................................................... 8 Uninstalling PPG ........................................................................................................ 8 Launching and Exiting PPG ................................................................................................ 8 Launching PPG .......................................................................................................... 8 Exiting PPG............................................................................................................... 9 Overview of PPG .............................................................................................................. 9 PPG Tutorial............................................................................................................ 10 Program Files.......................................................................................................... 10 Executable Programs ......................................................................................... 10 Sample Program Files ........................................................................................ 10

User’s Guide i

Page 4

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

User Interface ......................................................................................................... 11 Menus and Toolbars ........................................................................................... 11 PPG Toolbar Buttons .......................................................................................... 11 Program Nodes Toolbar ...................................................................................... 12 Navigation .............................................................................................................. 13 Working with PPG Windows................................................................................. 13 Generating the Program.................................................................................................. 14 Downloading the Program ......................................................................................... 14 Transferring Data .................................................................................................... 14

PPG Application Design ........................................................................ 15 Overview ...................................................................................................................... 15 Designing the Application ................................................................................................ 15 Application Output ................................................................................................... 15 Application Structure................................................................................................ 16 Node Types and the Parent-Child Relationship ................................................................... 17 Creating Function Nodes ........................................................................................... 18 Frames ............................................................................................................ 18 Subroutines ...................................................................................................... 18 Using Your Flow Chart ........................................................................................ 18 Creating Operation Nodes ......................................................................................... 18 Actual vs. Virtual Display .......................................................................................... 19 Defining Program Flow ............................................................................................. 20 Sending and Receiving Files ............................................................................................ 20 Additional Resources ...................................................................................................... 21

The PPG Menubar ................................................................................. 23 Overview ...................................................................................................................... 23 File Menu ...................................................................................................................... 23 Creating a New File (Ctrl+N) ............................................................................................................... 24 Opening an Existing File (Ctrl+O)....................................................................................................... 25 Closing a File .......................................................................................................... 25 Saving a File (Ctrl+S) ........................................................................................................................... 25 Save As.................................................................................................................. 26 Printing a File (Ctrl+P) ......................................................................................................................... 26 Page Setup ............................................................................................................. 27 Download (Ctrl+D) ................................................................................................................................ 28 Customize Application (Ctrl+Z)........................................................................................................... 28 Customize Display (Ctrl+Y) ................................................................................................................. 31 Recent Files ............................................................................................................ 33 Exit (Alt+F4)........................................................................................................................................... 34 Edit Menu ..................................................................................................................... 34 Selecting Objects..................................................................................................... 34 Moving Objects........................................................................................................ 35 Moving Links..................................................................................................... 35 Cut (Ctrl+X)............................................................................................................................................ 35 Copy (Ctrl+C)......................................................................................................................................... 35 Paste (Ctrl + V) ...................................................................................................................................... 35 Delete (Del) ............................................................................................................. 36 Properties ............................................................................................................... 36 Function Nodes ................................................................................................. 36 Operation Nodes................................................................................................ 37 ii

PT Program Generator (PPG) v5.0

Page 5

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

View Menu .................................................................................................................... 38 Show Calling Function .............................................................................................. 38 Show Frame/Subroutine Nodes.................................................................................. 38 Toolbar .................................................................................................................. 39 PPG ................................................................................................................. 39 Program Nodes ................................................................................................. 39 PPG Explorer........................................................................................................... 40 Status Bar .............................................................................................................. 40 Create Menu ................................................................................................................. 40 Function Nodes ....................................................................................................... 42 Frame (Ctrl+Alt+F) ........................................................................................................................ 42 Subroutine (Ctrl+Alt+S)................................................................................................................ 42 Operation Nodes...................................................................................................... 42 Menu (Ctrl+Alt+U) ......................................................................................................................... 42 Display (Ctrl+Alt+D)...................................................................................................................... 42 Input (Ctrl+Alt+I)........................................................................................................................... 42 Output (Ctrl+Alt+O) ...................................................................................................................... 42 Verify (Ctrl+Alt+F)......................................................................................................................... 42 Copy (Ctrl+Alt+C).......................................................................................................................... 42 Modify (Ctrl+Alt+Y) ....................................................................................................................... 43 Math (Ctrl+Alt+M).......................................................................................................................... 43 Call (Ctrl+Alt+L)............................................................................................................................. 43 Link (Ctrl+Alt+N) ........................................................................................................................... 43 Data ...................................................................................................................... 43 Register ........................................................................................................... 43 File.................................................................................................................. 43 Template.......................................................................................................... 43 Field ................................................................................................................ 43 Window Menu................................................................................................................ 44 Cascade Windows .................................................................................................... 45 Tile Windows........................................................................................................... 45 Filename [Frame] .................................................................................................... 46 Help Menu .................................................................................................................... 47 PPG Help (F1) ........................................................................................................................................ 47 About PPG... ........................................................................................................... 47

Creating & Using Nodes........................................................................ 49 Overview ...................................................................................................................... 49 Flow Chart Levels .......................................................................................................... 50 Frames .................................................................................................................. 50 Subroutines ............................................................................................................ 51 Creating New Nodes....................................................................................................... 53 Menu Nodes............................................................................................................ 55 Menu Text ........................................................................................................ 55 Function Key..................................................................................................... 56 Display Nodes ......................................................................................................... 56 Input Nodes............................................................................................................ 57 Input From Tab (Next Nodes).............................................................................. 58 Track Size Tab .................................................................................................. 58 Display Tab ...................................................................................................... 59 Store Info Tab .................................................................................................. 60 Output Nodes.......................................................................................................... 60

User’s Guide iii

Page 6

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

Information to Output Tab .................................................................................. 61 Special Commands ............................................................................................ 62 Next Node ........................................................................................................ 63 Verify Nodes ........................................................................................................... 63 Wildcards ......................................................................................................... 63 Verify Information Tab ....................................................................................... 64 Verify Options Tab ............................................................................................. 65 Store Index Tab ................................................................................................ 66 Next Nodes....................................................................................................... 66 Copy Nodes ............................................................................................................ 66 Copy From Tab.................................................................................................. 67 Copy To Tab ..................................................................................................... 67 Next Nodes....................................................................................................... 67 Modify Nodes .......................................................................................................... 67 Data to Modify .................................................................................................. 68 Modification Type .............................................................................................. 68 Next Nodes....................................................................................................... 69 Math Nodes............................................................................................................. 69 Floating Point Math ............................................................................................ 70 Operand 1 Tab .................................................................................................. 70 Operand 2 Tab .................................................................................................. 71 Result Tab ........................................................................................................ 71 Next Nodes Tab................................................................................................. 72 Operation (Mathematical Function) ...................................................................... 72 Call Nodes .............................................................................................................. 72 Call Subroutine ................................................................................................. 73 Links...................................................................................................................... 73 Creating Links ................................................................................................... 73 Adjusting Links.................................................................................................. 74 Moving Links..................................................................................................... 74 Deleting Links ................................................................................................... 74 Automatically Generated Nodes ....................................................................................... 75 Start Nodes ............................................................................................................ 75 Exit Nodes .............................................................................................................. 75 Return Nodes .......................................................................................................... 75

Managing Data ..................................................................................... 77 Overview ...................................................................................................................... 77 Controlling Data Flow ..................................................................................................... 78 Registers ...................................................................................................................... 78 Using a Register as a Source ..................................................................................... 78 Register Fields......................................................................................................... 79 Using a Register as a Destination ............................................................................... 79 Write Type........................................................................................................ 80 Specifying a Register Field ........................................................................................ 80 Register Example: Parsing Data ................................................................................. 81 Files ............................................................................................................................. 81 Using a File as a Source............................................................................................ 82 Data Location.......................................................................................................... 82 Using a File as a Destination...................................................................................... 83 Write Type........................................................................................................ 84 Templates..................................................................................................................... 84 iv

PT Program Generator (PPG) v5.0

Page 7

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

Template Uses ........................................................................................................ 84 Creating a Template ................................................................................................ 85 Modifying an existing template .................................................................................. 86 Template Example: Modifying Inventory ..................................................................... 86 Fields ........................................................................................................................... 87 Using Fields in Templates ......................................................................................... 88

PT40 Communication............................................................................ 89 Overview ...................................................................................................................... 89 Downloading the Application to the PDT ............................................................................ 89 What Happens During a Download?............................................................................ 91 Specialized Download Situations ................................................................................ 92 Using XFER32................................................................................................................ 92 XFER32 Setup ......................................................................................................... 92 General Tab...................................................................................................... 93 Transfer Tab ..................................................................................................... 94 Logging Tab...................................................................................................... 96 Sending and Receiving Data...................................................................................... 96 Transmit (Send) Files......................................................................................... 97 Receive Files..................................................................................................... 98

PPG Tutorial ......................................................................................... 99 Overview ...................................................................................................................... 99 Studying a Sample Program .......................................................................................... 100 Building a Custom Portable Program............................................................................... 106 Creating Frames and Links...................................................................................... 106 Creating Frames.............................................................................................. 106 Creating Links................................................................................................. 107 Main Menu Access ........................................................................................... 108 Creating the Main Menu Nodes ................................................................................ 109 Saving Your Program ............................................................................................. 113 Creating and Setting Up the Collect Data Nodes......................................................... 113 The Display: Enter Item Node ........................................................................... 115 The Input: Item Node ...................................................................................... 115 The Verify: Input Node..................................................................................... 118 The Output: Error Beep Node ............................................................................ 119 The Display: Error Text Node ............................................................................ 119 The Copy: To File Node .................................................................................... 120 Creating and Setting Up the Upload Data Nodes ........................................................ 121 The Menu: Confirmation Node ........................................................................... 122 The Output: to PC Node ................................................................................... 122 The Output: Error Beep Node ............................................................................ 123 The Menu: Error Text Node............................................................................... 123 The Display: Successful Node............................................................................ 124 The Input: Timeout Display Node ...................................................................... 124 The Modify: Erase File Node.............................................................................. 125 Loading and Using the Program ..................................................................................... 126 Loading the Program onto the Portable ..................................................................... 126 Using the Program on the Portable........................................................................... 126 Creating and Using Templates ....................................................................................... 128 Creating the New Nodes ......................................................................................... 129 Creating the Fields................................................................................................. 131

User’s Guide v