Home
PDF EasyGen™ – GeminiComputer.com
Contents
1. 444 555 555 555 58 74 Deletion of the Interpreter program 75 PROGRAMMING EXAMPLES 77 Example 1 Code Quantity e a a e 78 Example 2 EAN1283 Fi ld riip a R 82 Example 3 Assisted Sale S acina a a da 86 Example 4 Listed Picking ccccsssccccceseeeecceeeseecceeseeecceeaeeeesssseeessaageeees 91 Example S LH HO EM sis ces S460 E pieskata 94 DOSDE gt adi g s sees eat 97 Loading Files Using DOSDL EXE is sia ele 97 DOSDL EXE Interpreter Program ccccccseeecceceeeeceeeeeeeeeeeeseaeeeeseeeeeeeaas 98 DOSDL EXE Application program 100 DOSDE EXE Tables saess as mdsl 102 Alternative File Loading Method 104 C 1 C 2 C2 1 C 2 2 C 3 C 4 vi COMMUNICATION 8 5 5555000 00 550005550 106 GomnunIicau ons TAME tiesnesei sins js ads 106 Data Transmission eener R E m 109 RS 232 and RS 485 Interfaces sasit std ds 109 Eavesdrop Connection Interface cccssssssssssseeeeeeeeeeeeeeaeessseeeeeeeeeeeeeees 109 Host Computer COMMANGS csceeccccceeeeseeeeeeeeeeeceaeeeeeeeessaaeeeeeeeeseeaas 110 Configuring the Terminal Serial Command 555555 115 GENERAL INFORMAT
2. EASYGENTM 5 8 INPUT TIME FUNCTION ce This function allows the user to save the system time handled by an internal clock in the terminal in a table field or in a variable Fe EasyGen Mil Ea File Edit Insert Run Tools Ukility Window Help Terminal Input barcode Text Input text 123 Input numberl pt delci ICO gt 000088 7 Table Tablet Date Variable Ero d To avoid possible errors it is recommended that the field in which you wish to save the time be defined as a time field see par 4 6 1 52 INSERT MENU FUNCTIONS 5 5 9 MENU FUNCTION Allows the creation of a menu with a maximum of 4 choices For each choice itis possible to define the position the key to press the text and the function to be executed EasyGen Biel E File Edit Insert Run Tools Utility Window Help lt 78 vag H Text 11 ext T E 2 ill USE USE 2 Terminal mm Application1 app Terminal Formula 732 6454 bites 1 Menu 1 2 Menu Input text Input numberl 125 fi date SEN Men Menu a Menu 1 Menu 2 Menu 3 Menu 4 BE Be Key 2 i Menuz Function x The menu always uses a numerical key for the choice options It is only possible to jump to functions which are already defined in the application The creation of a jump to a function that
3. 14 Description of the Main Menu TQ SH HH nh nh c 14 Pe ID sia dd sad 15 INCI sieess gt g gas ass gas ances caren eet 15 ODEN sue see mai n a S 16 19 SVS desas die ss 19 FIE S lUDens 19 RU ies 20 SM 3 cac A A 20 5418 88 as Ls auss gl la usa as li rasu s ss ee eee ae 21 EXE sods s ni 22 ECIIIMIC LTD SS esi 48a 23 S0 110 1 sals da 24 IHSE Memi estsas sasn nn 25 AL M N esse ds nasa 26 GOWMPIE sesa desk inn i ainina 26 side dans id a gi das 27 SP 16 acc cac S dis as Sane aaa 28 SEP s s S i So jas 28 Tools Men sret 6 7 29 Edil0f T ABl sdgsdg 30 FditorV llaDl6S sasien s 35 ODPNONS 2x at 9c sue amid s 36 GUMY MENU s2 3222fxoz5zsassbor soutltrdnattatsgssogadoafoZssrausbesfsuwtetrdnattsre6tbad3 uafo2szsausbesfsuelee 38 Win
4. Property Window PrWin displays the commands you use to work with EasyGen M Provides quick access to commonly used commands in the programming environment The icons on the first line correspond to the selections of the File and Tools menu while the icons of the second line correspond to those of the Insert menu Lists from top to bottom the functions of your application as they are executed by the terminal when loaded Emulates the display of the selected terminal as it appears after the complete execution of the selected function Lists the property settings for the selected function Chapter 5 will give a more detailed description of these windows 11 52 EASYGEN 3 3 LIMITS OF EASYGEN Message Comment Number Variables Tables 12 This is a sequence of a maximum of 32 alphanumeric characters is formed by a maximum of 7 integers and two decimal numbers in the format XXXXXXX YY The programmer is responsible to ensure that all numerical operations do not exceed this limit 7 temporary variables of a maximum of 32 alphanumeric characters are available The first one is reserved as an Error Variable the other 6 can be named see par 4 6 2 It is possible to use simultaneously up to 15 named tables 1 15 In general table 0 is used to store acquired data A numeric index variable is associated with each table Tables are composed of records and each record can have
5. 1 element Compare 2 element Goto Custom Ka B C Variable fenor K Index Tablet BH Loop Comparison The comparison can be made between numbers or character strings Both the first and second elements may be constants or a table field In the case of numerical comparison the constant must always be defined as the second element It is only possible to jump to functions which are already defined in the application The creation of a jump to a function that has not yet been defined must be done by successively returning to this function menu 55 EASYGEN 5 12 GO TO FUNCTION gt This function causes the program execution to jump to a pre defined function By using the down arrow in the PrWin one obtains a list of all available functions ii Easyben Iof x File Edit Insert Run Tools Utility Window Help Input time Menu Loop Comparison C44 Function Comparison1 vw It is only possible to jump to functions which are already defined in the application The creation of a jump to a function that has not yet been defined must be done by successively returning to this function menu NOTE 56 INSERT MENU FUNCTIONS 5 5 13 MATHEMATICAL OPERATION FUNCTION This function allows the execution of arithmetic operations or string operations and assignments P EasyGen File Edit Insert Run Tools Utility Window
6. Functions Include for functions i None Properties It is possible to choose which portions of the application program to print Options Tables Variables The information defined with the Tools menu is printed Functions The program is printed with the functions defined by the Insert menu lt is also possible to select printing of the function properties desired 4 2 7 Send 2 With this command it is possible to transmit the application program and the tables to the Formula terminal The following dialogue box appears on the screen 20 MENU DESCRIPTION a lt is necessary to indicate which port the Formula terminal is connected to At the end of the transmission the date and time of the terminal will be the current date and time you have in the PC This operation is also possible in a DOS environment using the DOSDL EXE command See Appendix B Before sending a new application program to the terminal it is necessary to delete the one currently in use See par 6 3 Deletion of the application program 4 2 8 Export This command is used to save your application specific files to be loaded by an operating system other than Windows 95 98 2000 ME or NT The Program DOSDL EXE under DOS can be used for example Export ET x Save In E Example 1 Code Quantity se Nam 2 Size Type 9 Modified lai Code quantity 1KB EXP File 3 21 2001 11 20 AM ms My C
7. 5 K bmm a Terminal layout Clear display Input barcode Input text Limits Exception afs mfi Label Table Tabe Ff O Variable Error z To set the maximum number of acceptable characters just click the Limits tab and enter the value In your application if more characters than the maximum acceptable value are input the string of characters entered will be truncated to the maximum acceptable value Example Size 3 Input string ABCD When the letter D is input the string ABC is automatically accepted The maximum possible value is 32 characters default TEREN i Limits Exception Size 32 47 mm EASYGENTM With the Exception tab you can define an exit from the text acquisition mode by pressing a particular button and continue with the program by jumping to a specified function Input text Limits Exception lfpressed F1 z Go to function Beep for Code OK The available exit keys for the Formula 734 terminal are Input text Limits Exception V If pressed Go to function Other available Formula terminals may have more or less keys See the relevant Formula terminal User s Manual It is only possible to jump to functions which are already defined in the application The creation of a jump to a function that has not yet been defined must be done by successi
8. NI 64 mm EASYGENTM ESC KEY used in the Data display mode see 6 2 3 SHIFT KEY Enables the entry of alphabetical characters written in white on the keyboard when followed by the pressing of a numeric key for example if you want to enter the alphabetical character A you have to press lt SHIFT gt lt 7 gt The number of times the SHIFT key is pressed determines the choice of alphabetical character for example if you want to enter the alphabetical character N you have to press lt SHIFT gt lt SHIFT gt lt 5 gt if you want to enter the alphabetical character X you have to press lt SHIFT gt lt SHIFT gt lt SHIFT gt lt 2 gt and so on The fourth time the SHIFT key is pressed the SHIFT function is disabled The SHIFT function can also be disabled by waiting for a time out of 2 seconds after being pressed By pressing the lt SHIFT gt key followed by the lt RIGHT ARROW gt key the graphic display s contrast increases to the allowed maximum and then returns to 0 value By pressing the lt SHIFT gt key followed by the lt LEFT ARROW gt key the back lighting will be turned on off This function is not available in F732 terminal ALPHANUMERIC KEYBOARD Enables the numeric characters to be entered and displayed If the lt SHIFT gt key was pressed previously the choice of alphabetical character written in white on the keyboard is enabled BACKSPACE KEY deletes the last chara
9. 1 gt Add table 9282721251 Name Tablet H max 100 records 128 2 Cancel App The programmer may define up to 15 General type tables which may be used for reading or writing Each table may be associated with a DAT file which has the same name as the table and which contains its data The format of the DAT file must be compliant with that of the table defined with EasyGen Each field must be divided by the character pipe and each record must be positioned on a single line EXAMPLE Suppose that we have defined with EasyGen a table Fruits consisting of two fields Fruit 10 characters Code 5 characters The file with extension DAT is called FRUITS DAT and contains the data Pearxxxxxx 00128 Orangexxxx 00257 Melonxxxxx 00378 30 MENU DESCRIPTION a When the program created with EasyGen is sent to a Formula terminal if files with the extension DAT having the same names as tables used within the program itself are found within the same directory where the program is stored EasyGen loads these data files onto the terminal as well Take care when loading tables with external data file DAT Tables are always loaded starting from the first record up to the first empty record If a table is written in a random order it is possible that empty CAUTION records exist between the first and the last records In this case there will certainly
10. ACKNOWLEDGMENT You acknowledge that you have read this LICENSE and Limited Warranty understand them and agree to be bound by their terms and conditions You also agree that the LICENSE and Limited Warranty are the complete and exclusive statement between the parties and supersedes all other communications between the parties relating to the subject matter of the LICENSE or the Limited Warranty CONTENTS h GENERAL INFORMATION 00 0099999 1 9C0B60l ihis N fl lsesam see seu ones 1 Description of the Applications Package si 1 Package Conten S suuta nisi as s 2 Minimum Configuration R Quired ccccccccsssseccccesecseeeeeeeeeseeeeeeeeeeeesssaeaeees 2 INSTALLATION 2202222220122 1200H i n 3 Stalling Easy Ge da du 3 Connecting the Terminal to the Host Computer via RS 232 4 Loading EasyGen Interpreter cccccccccssseeeeceeeeeeeeeeeeeeesseaeeeeeeeesesaaaaeees 6 Loading a Sample Progf ni aks saakaas nia 6 USE OF EASYGENM lt si ai a 7 Mrod cing aS Vy GOI V essari said ET 7 slarihd Easy C f iiaa ei bti 10 LIMIS Or aS Y GCI iest di sms 12 21 8186191218161 10 97 sii ae o a aa as as ibn 13 MENU 0 5 8 5 5555 9
11. After the scan the data is saved in TABLE1 in the Quantity field Note that among the settings under LIMITS the SIZE value is set to 5 or the maximum number of acceptable characters defined in the Quantity field description in TABLE1 If this value is left at 0 default during input more than 5 characters will be accepted but the data will not be recorded and the Error variable will assume the value of 31 to indicate this Beep for Quantity OK emits an acoustic signal to confirm the quantity inserted Read amp Store Date saves the date in the Date field acquiring it in real time from the Hardware clock Read amp Store Time saves the date in the Time field acquiring it in real time from the Hardware clock Point to next record amp Restart allows the program to restart and so request a barcode and a quantity once more PROGRAMMING EXAMPLES Sample barcodes 1 2 3 4 5 6 768967 7689 6 7 IAM AT 1 234567 890128 Type code 39 Type Interleaved 2 5 Type Code 128 Type Ean 13 81 EASYGEN A 2 EXAMPLE 2 EAN128 3 FIELDS This is a special version of EXAMPLE 1 so please refer to that example for general specifications The example demonstrates how the use of code EAN128 can simplify repetitive operations which often take place in the warehouses This code gives information about the article its producer and its quantity which the user can get through a single read of the barcode label This is
12. _D 110 000 EasyGen Search Ctrl F 4460 bytes t Clear Display a barcode amp Store itin Code field 123 Input quantity amp store it in Quantity field q The commands of this menu allow you to copy insert delete and search for program functions The command Paste inserts a previously copied function below the current line If more than one program is opened it is possible to copy or move a group of functions from one program to another 23 a EASYGEN 4 3 1 Search C This command allows the user to search for a function inserted in the program In this case the following window appears tz Function search Select the function type Results Beep for Code OF Beep for Quantity OK Once a function name has been chosen from the pull down list in the Results area you will be presented with a list of the occurrences of that function in the program you are working with By selecting a specific function in the Results area and pressing the Go key its position is immediately located and pointed to by the arrow in the program ApWin The Function Search window will be closed The same procedure can be obtained by double clicking on the function name from the Results area The Next key allows scrolling the Results area list and therefore locating the occurrences of program fun
13. 1 Terminal Formula 2 The menu option is absolutely Windows standard and allows the user to choose the most convenient display mode when more than one window is opened at the same time Cascading the windows are displayed with standard dimensions one on top of the other but slightly displaced so that each one can be seen Tiled the windows opened at the moment are automatically scaled and occupy all available space without overlapping The windows can be minimized and represented by an icon on the screen Arrange icons the windows present on the screen will be aligned 39 5 EASYGEN Formula 5 INSERT MENU FUNCTIONS 5 1 REMARK FUNCTION Text Allows you to display on the Formula terminal up to four different comments in four locations EasyGen H x File Edit Insert Run Tools Utility Window Help igre 70u gt nR Tent 4 22 Mia Text 123 B TS Remark 1 Terminal Formula 732 512 bytes Remark 2 DiWin Remark 1 Remark 2 Remark 3 Remark 4 apis wf ApWin Custom Remark 1 C Table Tablet Date Variable rror PrWin PrWin has four tabs Remark1 Remark2 Remark4 for four comments DiWin shows the display status with the four comments 40 INSERT MENU FUNCTIONS 5 The comment can be specified as a message from the programmer a table field or the value of a variable Ac
14. begins a memory test The display screen shows what is indicated in the figure In case of error detected during the running of the test the Formula terminal freezes In this case it is advisable not to run other operations and to contact a technician 18 4 TestingQ3 Rambank 99 83 EASYGEN If no errors are detected during the running of the test the Formula terminal is able to interpret the application commands created with EasyGen and the display screen shows what is im 1255 indicated in the figure DATALOGIC Interpreter for BAS YGEN Rel 1 00 The interpreter program EIXXX_YYY HEX can be deleted just like any other application The activation of the reset button always causes the deletion of data and application programs which must then be reloaded The reading of ERASE ALL causes the initialization of the interpreter program with deletion of the data and application program see par 6 3 ATTENTION The EasyGen Interpreter for Formula 732 does not handle the RETURN TO DEFAULT PARAMETERS barcode 51 2 DOSDL EXE Application program To load the application in the Formula terminal the item File Send can be selected from EasyGen main menu or the DOSDL EXE program can be used First of all it is necessary to use the item File Export in the EasyGen main menu to prepare the files required by DOSDL for application loading Place any table DAT files requi
15. PrWin has three tabs Input barcode tab for the description of the comment and the saving location of the code entered a table field or a variable Limits tab for the choice of bar code type and lengths to be read Input Standard 3 9 Tai a heck digit Interleaved 2 5 of of of check digi E Matrix 2 5 of of of Check digit E DeaaibM of of 02 SE M MSI cf of of check digit B UPVEAN Of Of 0 06 71 For each code type it is possible to define 3 acceptable lengths 43 5 EASYGEN A value of 0 will accept any length When there are only one or two acceptable lengths it is necessary to fill the remaining boxes with the same value In addition it is possible to handle the control digit or not as desired The lt Other gt button permits access to other types of codes Other barcode Ea F UPEA EAN13 n Of Of 0 i Extended 37 9 T EAN 5 only of of 0 Pharmaceutical It T UPC only of of o Pharmaceutical Fr 7 UPEE only of or I UPC EAN 2 of Of 0 F industrial 2 5 M UPC EAN 5 of of 0 Monach 2 7 F UPCE of of on F UPCE withouto Of Of 0 T Pako F UPEA 13 characters Of 0 Zellweger of 0 Code 128 ol fl JJ 1 2 1 l EAMI28 Exception tab where you can define an exit from the bar code acquisition mode by pressing a particular button and continue with
16. be a loss of data Each table is distinguished by O Number The number is a progressive number which uniquely identifies the table and corresponds to the order in which it is sent to the Formula terminal O Name The name of the table is an unique alphanumeric field of maximum 8 characters O N max Maximum number of records which can be read into this table Before inserting the number of records which comprise the table it is necessary to verify the quantity of memory available on the Formula terminal The maximum number of records allowed depends on the available memory on the Formula Terminal O EAN 128 By checking the EAN 128 box a special table is defined for EAN 128 barcode reading The table is automatically assigned the name EAN128tb This table must have a number of fields greater than or equal to the maximum number of fields to be read For more details see par 5 4 31 4 EASYGEN Add table Remove table Add a table Delete a table It is not possible to remove tables which have already been called by one or more program functions ATTENTION There is an index for each table which identifies the record where the variable or the result of an acquisition will be stored The index may be repositioned by the programmer to point to any record in the table When the tables are loaded into the Formula terminal the indexes are always positioned at the first record The Fields option allows the def
17. characters indicating begin block end block and end of text The suggested values are those required to communicate with the Formula terminal using the Datalogic S p A programs such as SysTools 2001 If you use Eavesdrop communication Interface you have to set Checksum none and Start of block End of block none The Message option allows the user to define the courtesy message which the Formula terminal displays when it is placed in the cradle Options Row 1 DATALOGIC Row 2 EASYGEN Row 3 1 1 Row 4 CODE QUANTITY _ Cancel 37 a EASYGEN 4 7 UTILITY MENU f EasyGen O x File Edit Insert Run Tools Utility Window Help i F Initiate Communication Text J gt Val Text 125 2 Application6 app Terminal The Utility menu contains two options Initiate and Communication Initiate can be used for updating the interpreter program on the Formula terminal It allows the user to find the file with a HEX or a HOO extension in the current directory or in the entire disk This operation is also possible using the DOSDL EXE command in a DOS environment see Appendix B Communication allows selecting the type of data transfer to use towards the terminal 38 MENU DESCRIPTION 4 8 WINDOW MENU File Edit Insert Run Tools Utility Window Help Text 45 75 Wil Text 122 re M Aonicationtanp BE 1 RSS 11 _ I
18. display screen The deletion request is confirmed by pressing the lt ENTER gt key the contents of the field are deleted definitively Pressing the lt ESC gt key on the other hand cancels the deletion request the field s contents will not be deleted Deleting the contents of a table selected on the display screen can be carried out by pressing function keys as described above A message requesting confirmation appears on the display The deletion request is confirmed by pressing the lt ENTER gt key the table is deleted Pressing the lt ESC gt key on the other hand cancels the deletion request the table will not be deleted 67 mm EASYGENTM The deleted file will not be eliminated from the Formula terminal all field contents are deleted and file pointer is set to the first record NOTE 6 2 5 Data Search To activate this function press the keys according to the Formula terminal in use as suggested in the following table Data Search F734 lt F6 gt lt SHIFT gt lt F2 gt F732 lt F6 gt lt SHIFT gt lt F2 gt F725 lt F6 gt lt SHIFT gt lt SHIFT gt lt DOWN ARROW gt F660 lt F4 gt lt SHIFT gt lt F2 gt It is possible to search for a code only if a data table has been previously selected EASYGEN INTERPRETER The figure indicates what appears on the display It is necessary to insert the code to be searched for and to press lt ENTER gt what is shown in th
19. field by field To do this each field is changed into a record before being transmitted While this is being done the separators are removed Let us imagine that the following record has been input to the terminal Before being sent to the host computer it is broken down as shown below 015 10131 19101 115 1 1415 8 8 0 7 4 3 2 9 This operating mode is not available for the F732 terminal ATTENTION 109 K EASYGEN C 3 HOST COMPUTER COMMANDS Using a serial line you can handle the data stored in a Formula terminal directly from the host computer The data handling commands are sent to the Formula terminal as groups of characters having the character lt ESC gt ASCII 1B 6 at the beginning and end The general command format is the following lt ec lt command types command datas lt esc Framing ch actes Commana Framing characters Command type represents the instruction to perform and can take the values described below Download data ee VI 7 7 N VI Terminal information B Start application F V File field structure R File structure Clock tasks Command data this command data takes alphanumeric values according to the instruction that you send to the terminal 110 COMMUNICATION PROTOCOL 53 0 Download data Use this command when you want to download a data file or program file Command data can take the following values filename request all re
20. filename EXP if the COM2 serial port is used B1 3 DOSDL EXE Tables To load the tables relative to the application loaded on the Formula terminal the item File Send can be selected from the EasyGen main menu or the DOSDL EXE program can be used To use this loading possibility its necessary that you have already carried out the Export operation After making the RS 232 connection between the Formula terminal and the host computer and loading the interpreter program onto the Formula terminal it is necessary to select the Table item from the DOSDL Choice menu Choice Exit Operating System Application program 102 DOSDL _ _ fy A list of all application tables INP extension present in the current directory appears on the monitor it is possible to change directories 2 Tables found TAB 1 INP 90 12 06 97 15 41 Current Directory Previous Directory Select the desired table and press lt ENTER gt the following appears on the monitor As TAB_ INP File size 382544 1 254 505 5 3008 m 1235 Records processed Elapsed time 01 12 Key A File name and size B Loading status bar C Reply message To interrupt the installation of a table at any time just press lt CTRL gt lt BREAK gt on the computers keyboard It is also possible to load the table using DOSDL EXE directly from the DOS prompt Enter the command DOSDL f filename INP if t
21. key simultaneously the display screen will show fm 1255 PROGRAM ERASE A No ves V 2 To proceed with the deletion press the A key after a few seconds the display screen will show Now you can load another 88 12 53 application program using either c ng EasyGen see par 4 2 7 or IH DOSDL EXE see Appendix B ni 74 EASYGEN INTERPRETER The deletion of the application program can be also obtained by reading the following ERASE ALL code ERASE ALL By responding with a the interpreter software will also be deleted as indicated in par 6 4 6 4 DELETION OF THE INTERPRETER PROGRAM If it is necessary to delete the interpreter software currently in use proceed as follows 1 Press lt SCAN gt and the protected RESET key simultaneously the display screen will show im 1253 PROGRAM ERASE No ves V If you wish to delete the interpreter program press the key 75 mm EASYGENTM The terminal s LED will remain red until the end of the deletion operation The terminals display screen will show below 1255 BOOTSTRAP im 55 BOOTSTRAP LOADER v r VvaitDownload LOADER v r TestPrgFlash When the terminal is inserted in the Pressing the lt SCAN gt button when the cradle terminal is not inserted in the cradle You can reload the interpreter program using either EasyGen see par 4 7 or DOSDL EXE see
22. make one copy of the SOFTWARE solely for backup or archival purposes or b transfer the SOFTWARE to a single hard disk provided you keep the original solely for backup or archival purposes You may not copy the written materials accompanying the software NON PERMITTED USES Without the express permission of DATALOGIC S p A you may not 1 Use the software in a computer service business including rental networking or time sharing software nor may you use it for multiple users or multiple computer system applications in the absence of individual network licenses with DATALOGIC S p A 2 Use Copy or modify alter or transfer electronically or otherwise the software or documentation except as expressly allowed in this agreement 3 Translate reverse engineer de assemble de compile or create derivative works based on the written materials 4 Sub license or lease this program or its documentation LIMITED WARRANTY This software and accompanying written materials are provided as is without warranty of any kind THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THIS SOFTWARE IS ASSUMED BY YOU SHOULD THE SOFTWARE PROVE DEFECTIVE IN USE YOU AND NOT DATALOGIC OR ITS AGENTS ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION OF DATA FURTHER DATALOGIC DOES NOT WARRANT GUARANTEE OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF CORRECTNESS ACCURACY RELIABILI
23. the files that are obtained by exporting the application in use in EasyGen M 113 K EASYGENTM S Serial programming This command allows you to configure the Formula terminal from the host computer via serial line Due to the complexity of the topic refer to the par C 4 Configuring the terminal serial command S Z Clock tasks This command allows the host computer to carry out special tasks on the internal clock of the Formula terminal Command data can take the following values YYMMDDHHMMSS date and time setting request date and time of Formula terminal The answers are ACK Operation ready NAK Wrong format YYMMDDHHMMSS _ Year Month Day Hours Minutes Seconds 114 COMMUNICATION PROTOCOL K C 4 CONFIGURING THE TERMINAL SERIAL COMMAND S Configure Formula terminal communication parameters by choosing the items Tools Options from the main menu of the EasyGen You can edit the configuration by using the serial command S Command data must have the following structure ze gt as command datas da a Bruel Station ore Stort En 1 Leta irte Check of of Eon Porty wet cr E B Ga Detr eae Block Text FIE ST zn ae j Si cag Say La rr The parameters that must not be edited must in any case be included in the command data with the value unchanged In the following t
24. very useful when several pieces of the same article are shipped together in the same box as it allows to get all information required by reading the barcode of just one piece Through EasyGen it is possible to select the special table EAN128tb see par 4 6 1 which allows to read the code fields Then it is necessary to download the acquired data from the EAN128tb to TABLE 1 There are five fields ARTICLE QUANTITY PRODUCER DATE TIME 82 PROGRAMMING EXAMPLES Aa 1 Logic flow description Start Start amp Clear Display Reset Error Variable Input Barcode False True Copy Field Article from EAN128tb table to Table1 Copy Field Quantity from EAN128tb table to Table1 Copy Field Producer from EAN128tb table to Table1 Read amp Store Date Read amp Store Time Next Record 84 EASYGEN Reset error sets the error variable to zero to check that the scanned code is correct Error 00 compares the error variable to the value 00 to check if it is correct Input barcode amp store it in EAN128tb saves the data in the EAN128tb table Store code in Table1 field Article saves the data in TABLE1 in the Article Field acquiring it from the EAN128tb Store code in Table1 field Quantity saves the data in TABLE1 in the Quantity Field acquiring it from the EAN128tb Store code in Table1 field Producer saves the data in TABLE1 in the Producer Field acquiring it from the EA
25. 0 0 0 0 4 F630 0 0 0 5 MW25 6 0 0 0 KI EASYGENTM DATALOGIC GP NETWORK GERMANY 4 4 4 4 DATALOGIC QP NETWORK U K 5 3 5 PROGRAMMING EXAMPLES Aa A 4 EXAMPLE 4 LISTED PICKING This example demonstrates that the INPUT files can also be used as OUTPUT files after processing by the terminal A LIST table is loaded that refers to the LIST DAT ASCII file containing a series of articles to be taken The operator is told which code to take its position and the quantity to be taken After checking that the code read matches the one requested the exact quantity to be taken is requested and the processed record is marked with an X in the FLAG field If you press F1 before selecting a code it is possible to jump to the following code of the LIST table In this way the ignored code will not be flagged At the end of the loading list checked by setting an END Code the operator is asked to download the processed table by using SysTools 2001 program see SysTools 2001 User s Manual Once the table is downloaded it is necessary to delete it before creating a new one Then the new table is sent to the interpreter By clicking the F2 button on the terminal it is possible to start again 91 EASYGEN 1 Logic flow description
26. 5 mm EASYGENTM 6 2 3 Data Display Once a table is selected it is possible to view its contents on the Formula terminal display screen by pressing the keys according to the Formula terminal in use as suggested in the following table Data Display F734 lt F8 gt lt SHIFT gt lt F4 gt F732 lt F8 gt lt SHIFT gt lt F4 gt F725 lt F8 gt lt SHIFT gt lt SHIFT gt lt RIGHT ARROW gt F660 lt F6 gt lt SHIFT gt lt SHIFT gt lt F2 gt The figure indicates what appears on the display screen Key A A Field name B B Field contents D C Record position D Active mode It is possible to move in all directions by using the arrow keys as indicated in the figure below Code Date Time Qty Record nj0001 Record nj0002 Record nj0003 During the data display phase it is possible to delete a field modify it or proceed to a search function at any time 66 EASYGEN INTERPRETER 6 2 4 Data Deletion Two types of deletions are possible while using the Formula terminal the deletion of the contents of a field the deletion of a data table To activate this function press the keys according to the Formula terminal in use as suggested in the following table Deletion F732 lt F7 gt lt SHIFT gt lt F3 gt To delete a field it is necessary to display it on screen and to press the function keys as described above A message requesting confirmation appears on the
27. Appendix B 76 PROGRAMMING EXAMPLES a Formule A PROGRAMMING EXAMPLES Once the Formula terminal is inserted in the relative cradle it is possible to see the courtesy message of EasyGen on the display The message can be set from the Option item in the Tools menu and it must have a maximum length of 4 lines where each line can contain up to 16 characters see below Datalogic EASYGEN Then you can load the following examples describing standard applications for portable Formula terminals data collection inventory sales aids loading unloading lists These five examples take advantage of all the EasyGen functions demonstrating the use of basic functions and the possibility of applying them directly in real projects 77 EASYGEN For each example the new functions will be explained in detail leaving out the explanations for the more familiar and more often used ones It is advised that these pages should be at hand when studying the applications directly A 1 EXAMPLE 1 CODE QUANTITY The first simple example for inventory applications allows the acquisition of barcodes the setting of a quantity per code and the saving of everything inside the Formula terminal in a table An internal calendar clock in the terminal also saves the date and time of the acquisition This program is totally linear i e it is run from beginning to end without jumps or interrupti
28. Help Mathematical operation Result 1 element Operation 2 element The Mathematical operation PrWin is composed of four tabs Result The result can be saved in a table field in a variable in the index of a table 1 element The first element of the operation may be a constant a table field the value of a variable the index of a table Mathematical operation Result 1 element Operation 2 element Custom i Tablet Date v w 3 Error O Index Tablet 7 Sezsting Initial pos is Final pos HE 57 5 EASYGENTM Operation ts possible to define operations between number string or none the arithmetic operations are the four base operations addition subtraction multiplication and division and also percentage the available string operations are concatenation or substring The concatenation is the union between the string contained in the first element with the string contained in the second element Concatenation is selected in the Operation list box 11 item Mathematical operation Result a 1 element Operation 2 element G Number C String C None In this tab if you check the Operation box None you can also define the substring operation The substring operation is selected in the 1 element tab You have to check the Operation bo
29. INN EasyGen User s Manual 2 DATALOGIC EasyGen USER S MANUAL gt DATALOGIC DATALOGIC S p A Via Candini 2 40012 Lippo di Calderara di Reno Bologna Italy EasyGen M User s Manual Vers 1 00 and later Ed 04 01 Code 820042310 ALL RIGHTS RESERVED Datalogic reserves the right to make modifications and improvements without prior notification Product names mentioned herein are for identification purposes only and may be trademarks and or registered trademarks of their respective companies O 2001 Datalogic S p A DATALOGIC S p A Software License Agreement This legal document is an agreement between you the end user and DATALOGIC S p A BY INSTALLING THE SOFTWARE YOU ARE AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT which includes the SOFTWARE LICENSE LIMITED WARRANTY and ACKNOWLEDGMENT GRANT OF LICENSE DATALOGIC grants to you the right to use one copy of the enclosed DATALOGIC S p A program the SOFTWARE on a single terminal connected to a single computer i e with a single CPU You may not network the SOFTWARE or otherwise use it on more than one computer or computer terminal at the same time COPYRIGHT The SOFTWARE is owned by DATALOGIC S p A or its suppliers and is protected by copyright laws and international treaty provisions Therefore you must treat the SOFTWARE like any other copyrighted material i e a book or musical recording except that you may either a
30. ION 1 Formule 1 GENERAL INFORMATION 1 1 SCOPE OF THIS MANUAL This manual was created by Datalogic S p A and accompanies the EasyGen Easy Application Generator Package CD Rom for Windows 95 98 2000 ME and NT The manual describes the methods for installation and use of both EasyGen and its relative interpreter program It is also designed for those who are familiar with the Microsoft Windows 95 98 2000 ME NT operating environment and basic programming techniques 1 2 DESCRIPTION OF THE APPLICATIONS PACKAGE EasyGen is an applications package for Windows 95 98 2000 ME and Windows NT environments designed to simplify the creation of personalized software for Formula batch terminals It facilitates the creation of programs so that even users who are not programming experts can create software which can be transferred to Formula batch terminals EasyGen permits the user to define the sequence of functions which the Formula batch terminal should execute the interactions with the user and the use of data or support tables It loads the interpreter program the application program and the associated tables onto the Formula batch terminal using the relative cradle connected to the PC via an RS 232 port Currently EasyGen functions on Formula batch terminals F734 F732 F725 and F660 1 EASYGEN 1 3 PACKAGE CONTENTS The EasyGen package includes e 1 CD Rom containing the following program
31. L EXE Interpreter Program To load the Interpreter Program in the Formula terminal the item Utilities Initiate in EasyGen main menu can be used or the Operating System item can be selected from the DOSDL Choice menu and the lt ENTER gt key pressed A list of all the interpreter programs HEX extension present in the current directory appears on the monitor it is possible to change directories 1 Operating System Found Current Directory Previous Directory It is necessary to change the name of the interpreter program file EIXXX_YYY HEX since it must have a maximum length of 8 characters while working in a DOS environment ATTENTION 98 DOSDL p Select EIXXX_YYY HEX and press lt ENTER gt and the following appears on the monitor A EI732 HEX Pile site 182544 ik 254 B a 1799 Recorde Hlapeed times 00200253 Key A File name and size B Loading status bar C Reply message EOt 754 1004 To interrupt the installation of the EasyGen Interpreter Program at any time just press lt CTRL gt lt BREAK gt from the computer keyboard It is also possible to load the EasyGen Interpreter Program using DOSDL EXE directly from the DOS prompt Enter the command DOSDL EIXXX_YYY HEX if the COM1 serial port is used DOSDL L2 EIXXX_YYY HEX if the COM2 serial port is used When the Interpreter Program has finished loading the Formula terminal
32. N128tb PROGRAMMING EXAMPLES Aa Sample barcodes 1000 9 TAL Y 2 000 2 2 GERMANY 1000 4 0 GERMANY 3 0 0 0 3 0 0 FRANCE 3 0 0 0 2 0 0 HOLLAND 3 0 0 0 100 ENGLAND 85 EASYGEN A 3 EXAMPLE 3 ASSISTED SALES This example shows how all EasyGen options work The idea is to assist sales by referring to an item database inside the Formula terminal Thanks to a customized menu it is possible to organize the client management and get an on line total cost for him Two ASCII files must be created with any DOS Windows ASCII compatible text editor The first file is INPUT DAT which contains the article codes of the warehouse and gives them an item description and unit price The second one is CLIENT DAT which contains a reference table with a Client Code and a Client Description The program starts by offering a personalized menu through the MENU function which allows the creation of a series of customizable items associated with a keyboard character see par 5 5 Two choices are available the client setting and the cost setting If the client setting is selected the program will refer to the CLIENT DAT table In this way all the following cost readings will refer to that particular client and a client code field appears in the output table The code scanning allows to verify the presence or lack of the code in the warehouse and get the item description its unit price and after entering the item quantity fo
33. START Is the End of Table code END NO Clear Display Display Information Input Q O T l NO YES Is It the right code Display Flag th Wrong Code sneer Record Display Code Input Real Quantity Store it in Real Quantity Field Point to Next Record 92 PROGRAMMING EXAMPLES Aa Sample barcodes 0 4 0 0 0 4 0 1 0 4 0 2 0 4 0 3 0 4 0 4 4 0 5 0 4 0 6 93 EASYGEN A 5 EXAMPLE 5 INVENTORY This example allows the creation of an inventory of the articles and their relative quantity When entering an article code the program EasyGen will automatically search for this article in the database If the article is found its quantity will be increased by 1 if it is not found it is recognized as a new article and recorded in a new position In this case it is required its initial quantity When an article quantity corresponds to 0 the program does not record it In this way it possible to avoid the record of a wrong article in the database While recording new data it is possible to see the current inventory on the display through the function keys see par 6 2 1 At the end of the operation the inventory can be downloaded in a table with SysTools 2001 The database is recorded in the ARTICLE table which can contain up to 500 records and it has two fields CODE QUANTI
34. TY 94 PROGRAMMING EXAMPLES Aa 1 Logic flow description START Input Article Is a valid Article No Search Not Found Article Increment Quantity Input Quantity Quantity 0 Search Not Found Free Display Database Store Article Full 95 8 1 Sample barcodes A 0 0 0 0 1 A 0 0 2 0 0 B 0 0 2 0 0 C 0 1 0 1 0 96 EASYGEN DOSDL rormu B DOSDL B 1 LOADING FILES USING DOSDL EXE DOSDL EXE is a utility program that allows the loading of files to the Formula terminal under the DOS environment DOS 5 0 or higher The following files can be loaded EasyGen Interpreter program application files with associated tables exported by EasyGen individual tables DOSDL is placed in the installation directory of EasyGen on your PC After making the RS 232 connection between the Formula terminal and the host computer execute DOSDL EXE by entering the following at the DOS prompt DOSDL if the COM1 serial port is used DOSDL L2 if the COM2 serial port is used It is possible run the command DOSDL to display the help 97 83 EASYGEN The DOSDL Choice menu appears on the host computer monitor Choice l Exit Application program Table From this menu it is possible to select the item relevant to the file that is to be loaded onto the Formula terminal B1 1 DOSD
35. TY CURRENTNESS OR OTHERWISE AND YOU RELY ON THE SOFTWARE AND RESULTS AT YOUR OWN RISK DATALOGIC warrants to the original licensee that the CD Rom on which the SOFTWARE is recorded is free from defects in materials and workmanship under normal use and service for a period of ninety 90 days from the date of delivery as evidenced by a copy of your receipt DATALOGIC s entire liability and your exclusive remedy shall be at DATALOGIC s option replacement of the CD Rom which shall be returned to DATALOGIC with a copy of your receipt If failure of the CD Rom has resulted from accident abuse or misapplication of the product then DATALOGIC shall have no responsibility to replace the product under this warranty THE ABOVE IS THE ONLY WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THAT IS MADE BY DATALOGIC ON THIS DATALOGIC PRODUCT IN NO EVENT SHALL DATALOGIC OR ITS SUPPLIERS NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION PRODUCTION OR DELIVERY OF THIS PRODUCT BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL OR INCIDENTAL DAMAGES WHATSOEVER INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS PROFITS BUSINESS INTERRUPTION LOSS OF BUSINESS INFORMATION OR OTHER PECUNIARY LOSS ARISING OUT OF THE USE THE RESULTS OF USE OR INABILITY TO USE SUCH PRODUCT EVEN IF DATALOGIC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
36. a maximum of 30 fields see par 4 6 1 The index variable points to the nth record It assumes the minimum value of zero or first record and the maximum value of maximum number of records minus one USE OF EASYGEN 3 4 ERROR REPORTING The Error Variable reports these possible error conditions Error type Variable value No error lt F1 gt button has been pressed Division by zero Table limit reached 30 Data code not suitable for destination field It is the responsibility of the programmer to make sure that the inserted function does not generate one of these errors by using the comparison function The Error Variable must be set to the value 00 at program start and reset after each reporting of an error value a EASYGEN Formule 4 MENU DESCRIPTION 4 1 DESCRIPTION OF THE MAIN MENU In this chapter we will describe the functionality of each item of the menu bar and the corresponding toolbar button available for it Instead of using the menu bar it is possible to make the same actions by clicking the buttons The Tool bar buttons show the tool tips when you point at them with the cursor The main menu of the EasyGen environment appears at the top of the window when you start the program Its composed of the following items File file support printing application loading Edit moving and deleting functions Insert inserting func
37. ables the default values are placed in a square U Baud rate VALUE SERIAL COMMAND This parameter allows you to set the transmission speed 115 K EASYGENTM Parity Allows you to set parity check O Data Bit VALUE SERIAL COMMAND 7 0 3016 IEEE _ The instrument uses ASCII code exclusively so 7 bits are sufficient for communication O Interface VALUE SERIAL COMMAND RS 485 RS 232 1 3116 EAVESDROP Allows you to define serial interface for connection between Formula terminal and host computer O Station Address This parameter defines the Formula terminal address unequivocally The Station Address must be defined as a two digit number from 00 to 99 The default value of this parameter is 01 116 COMMUNICATION PROTOCOL 1 Block Check Characters VALUE SERIAL COMMAND LRCC 0 3016 Checksum 256 When this parameter is enabled all data transmitted to host computer or Formula terminal is completed by Block Check Characters that carry out a transmission check If transmission is successful the receiving instrument sends an ACK character By contrast if transmission occurs with a wrong checksum the receiving instrument replies with a NAK character It is advisable to always define the Block Check Characters when connecting host computer to Formula terminal because this is the only way to check that data is not lost or corrupted during transmission refer to th
38. aximum number of fields to be read The EAN 128 code content will ALWAYS be assigned to the EAN128tb table The code fields will automatically be separated and saved in their respective fields defined in the table always starting NOTE from the first field The EAN128tb table is made up of ONLY one record Therefore it is necessary to save this data elsewhere before reading a new code otherwise it will be overwritten Enabling multiple code types simultaneously If data is to be saved in the EAN128tb table all other code types read different from EAN 128 will be saved in the specified field of the EAN128tb table If data is to be saved in a table other than EAN128tb for example table1 all other code types read different from EAN 128 will be saved in the specified table To test a program that allows reading EAN 128 codes using the simulator see par 4 5 use the Pipe character as the first character of the code use the Pipe character as the field separator instead of character GS For example ONE TWO THREE 46 INSERT MENU FUNCTIONS 5 5 5 INPUT TEXT FUNCTION Text This function allows you to enter a seguence of characters from the Formula tl terminal keyboard and to save the information in a table field or in a variable It is possible to display a fixed comment in a pre defined position Pz EasyGen 10 x File Edit Insert Run Tools Utility Window Help _
39. be sent to the terminal 5 Read amp Store Time Point to next record amp Restart x g A s Mark for the Function type selected function Skip function 17 a EASYGENTM Mark cell with an arrow points to the selected function in editing mode Skip function cell with multiple red arrows to one point shows that this function is connected by a jump or a loop see par 5 10 The little arrow button on the cell can be used if selected with the pointing device to see the name of the calling function Function name cell shows the unique name assigned to the function The name is used to connect jump or loop functions to this one By selecting this box it is possible to change the name of a function directly within the window the name can be of any length and identifies the function The system suggests a default name with progressive numbers automatically Function type cell shows the symbol of the function used Pointing to the cell causes a little arrow to appear in the right upper corner By clicking on it its possible to change the function type by selecting from the list that appears EasyGen 1 1 File Edit Insert Run Tools Utility Window Help 2 Clear display aril Input barcode Beep for Quantity OF Read amp Store Date Y The function position can be changed within the ApWin through the Drag and Drop pro
40. cation the figure indicates what appears on the Formula terminal display Frrorlype Elxxx_yyy HEX can detect eight possible types of errors ERROR TYPE DESCRIPTION DBASE FULL Database full During a SAVE or CHECK operation the data could not be written to the database or the record pointer reached its maximum limit INSTR ERR Wrong program instruction TIMER FLT Internal error EasyGen malfunction READ ERROR Internal error EasyGen malfunction The L variable gives the line number containing the error while the S variable indicates the type of operation that caused the error 71 mm EASYGENTM The possible values of the S variable and the corresponding error causes are indicated in the following table 5 FUNCTION WITH ERROR REMEDY Acquisition The causes of this error could be Non permissible acquisition executed Field acquisition of a non existent table executed Field acquisition executed where addressed record does not exist in table Next instruction does not exist Check ti causes are Table to check does not exist Decode Command containing an unexpected decode sent to terminal Enable Decode Next instruction does not exist Sequential search Possible causes are 1 Table to check does not exist 2 Comparison operator indicated not permissible Data Element Possible causes are 1 Error in current instruction 2 Next instruction does not exist 3 Genera
41. cedure If the CTRL key is pressed simultaneously the dragged function will then be copied 18 MENU DESCRIPTION a 4 2 3 Save 1 This choice allows you to save an application program which you have I created This command saves immediately the currently open application Note that it will not prompt for a name If the open program is not already named EasyGen will assign one of the format Applicationx APP where x is a progressive number A file with the same name and PWT extension Applicationx PWT will be automatically saved This file contains the name of Formula terminal and is useful for some terminal dependent instructions If this file does not exist Formula 734 will be the default terminal 4 2 4 Saveas This command can be useful when you wish to modify a program and save it to disk with a different name without modifying the original EE Save ln E Example 1 Code Quartity a ee E Exampled app My Computer File name Save 85 type Easy en Application File app Cancel 4 2 5 Print Setup This command allows you to select a printer and to specify print options page size orientation etc in a standard printer setup dialog of Windows 95 98 2000 ME or NT 19 a EASYGEN 4 2 6 Print This command allows you to print the current application program The following dialogue box appears on the screen Cancel Tables variables
42. cords of specified file if it exists The filename must always consist of 8 characters request all records of the existing files request download of current record record pointer is not updated nnn reguest download of nnn records beginning with the current one The record pointer is not updated request zero setting of downloaded indices During data download not more than three empty consecutive records must be present otherwise the operation in progress end ATTENTION The Formula terminal transmits the n data records ee TU HEADING RECORDS 9 EELEE END OF n I lt Elo T gt END OF TRANSMISSON If an individual record is requested the Formula terminal sends the record to be transmitted and the message lt EOT gt to the host computer RECORD END OF TRANSMISSION 111 K EASYGENTM 1 Delete This command deletes clears one or more data or program files Command data can take the following values filename the specified file is deleted whether it is a data file or a program file all output file records are deleted deletes the current record and moves the pointer by one position The answers are DEL Records deleted CLR Records deleted WAI Wait deleting FNF File not found 2 Load record Use this command when you want to load a record into the Formula terminal Command data takes the value of the record as its value The answe
43. cter entered SPACE KEY Introduces a space If the lt SHIFT gt key was pressed beforehand the choice of optional characters is made possible ENTER KEY allows validation of what has been typed EASYGEN INTERPRETER SHIELDED RESET KEY it is activated by inserting a blunt object in the slot while simultaneously pressing the lt SCAN gt key see par 6 3 6 2 2 Select Table To activate the Select table function press the keys according to the Formula terminal in use as suggested in the following table Select Table F734 lt F5 gt lt SHIFT gt lt F1 gt F732 lt F5 gt lt SHIFT gt lt F1 gt F725 lt F5 gt lt SHIFT gt lt SHIFT gt lt UP ARROW gt F660 lt F3 gt lt SHIFT gt lt F1 gt All available files appear on the Formula terminal s display screen Filename Key 00 A B File number 00 15 C Select C File name Active mode By pressing the lt UP ARROW gt and the lt DOWN ARROWS keys it is possible to select one of the 16 possible files File 15 is the application software file developed by the user with EasyGen Once the correct file is selected it is possible to choose the type of operation to execute by using the function keys see par 6 2 1 for details AN File 15 the application software file must never be deleted ATTENTION To leave Select table simply press the lt ESC gt key The last file selected continues to be displayed 6
44. ctions scrolling The Function Search window will not be closed 24 MENU DESCRIPTION 4 4 INSERT MENU This menu shows the list of all the available functions for creating the program KE EasyGen Mel File Edit Insert Run Tools Utility Window Help 1 Ir Remark Beep Clear display Input barcode Input text Input number Input d te ss Input time Menu Terminal Loop Comparison ko Mathematical operation Find Each function can be inserted into the program by selecting the choice from the menu or by selecting its corresponding icon Remark Input time Beep Menu Clear display Loop Input barcode Comparison Input text Go to function Input number Mathematical operation Input date Find A full description of these functions is given in chapter 5 25 a EASYGEN 4 5 RUN MENU This function will simulate the execution of the application program Fie Edit Insert Run Tools Utility Window Help i F b Compile ii start t k mu Text 4 Z2 CR Step Application4 app Terminal Formula raz 4 5 1 Compile This command allows checking the correct syntax of each function The compilation is followed by a message If an error has occurred the message reports its type while the arrow in the program ApWin will signal the cell containing the wrong function 26 MENU DESCRIPTION a 4 5 2 Start This function allows the use
45. dow NERU si 39 INSERT MENU FUNCTIONS 5555000 5555550000 50595 40 Remark FONG H I esssss2s40120saetosblteasclabstedevosedg E diode 40 Beep FUNCION tesine astes siikais 41 Clear Display EUNCl0N zesus asiegaddas tiska didi 42 input Barcode 16 71 16 110 996 dai saieta 43 HAUT Text FGI CUO IW esi a 47 Mpu Number FUNCION n 49 IOUT Date FUNCION sisina 51 1111 1 11 UO eren a ae terre cere 52 Men FUNCUON0 eataa S 53 LOOD FUNGCUON ara ota N E 54 Comparison F LIHOTIOT asssasezaizsgfsioecbdkealstbeitbstosltvlseodrtdthasseibdliodostgoseesbbslvglgead 55 GOTO F li i6fj msauweesdsdes asai ni nem 56 Mathematical Operation Funciion a 57 FING Ie WNC U0 iisti as ss a o as in tas ein 60 EASYGEN INTERPRETER 0 2 1 62 interpreter Program U Sence d sni asis 62 Use ofihe roimnula Tetmif lssassanes sesks di 62 DESCNDUONOFR VS zs oi as s esi 63 61661 T bDl si eeaaies as maiss ads k 65 D la DISPl li tid sends sis i asas 66 87 10 18 1121 19196989 988 59 NE 67 DalaSe liisveiss sies ds ej 68 EMO M ESSAd S ss ed a 71 Deletion of the Application
46. e Data is considered to be alphanumeric Zero Data is considered to be numeric and the alignment is set flush right This selection assumes relative importance when the data is used for example equivalence tests and arithmetic operations Size It is possible to enable control of the length of data to be inserted into the field Control is done by verifying whether the length is within the defined value The maximum length allowed is 32 characters Length control is disabled as the default 33 4 EASYGEN Check characters from to By defining a range of characters it is possible to enable a control on the type of characters which will be inserted into the field By default character control is between the character space and the character Z For whole numbers insert the control from 0 to 9 For real numbers insert the control from to 9 Add 51 Remove feld Add a field Delete a field It is not possible to remove fields contained in the tables which have already been called by one or more program functions ATTENTION 34 MENU DESCRIPTION a 4 6 2 Editor Variables zr Choosing this command causes a window of the following type to be um displayed ariables editor General Error Variable Variable 3 Variable 4 Variable 5 Varable 6 Variable coca The variables are used by the application to store temporary data There are 7 temporary variabl
47. e figure will appear on the display screen If the code is found what is shown in the figure will appear on the Formula terminals display screen Key A B C D 488 ie Search 418 Data code searching Search Field name Field contents Record position Active mode 69 mm EASYGENTM Once a code is found it is possible to continue searching toward the beginning of the data table lt UP ARROW gt or toward the end of the data table lt DOWN ARROWS If other fields with that code are present they will be displayed Once the code searched for is found it is possible to modify its contents simply by inserting a new value and confirming it pressing lt ENTER gt By doing this Edit mode is entered and the figure indicates what appears on the display screen Date X new code If the number of characters entered is less than the length of the field it is filled by a series of zeroes 0 If the code is not found the figure indicates what appears on the Formula a Cade code terminals display screen Mot found Press lt ESC gt to exit the Search mode There should not be more than three consecutive empty records during the data search phase otherwise the current operation will be terminated ATTENTION 70 EASYGEN INTERPRETER 6 2 6 Error Messages If the Elxxx_yyy HEX program detects an error during the execution of the appli
48. e paragraph entitled Communications frame O Characters Delay This parameter defines the time the Formula terminal waits before transmitting the next character This delay must be defined as a one digit number from 0 to 9 and is calculated as i lt a see command data msec For example set command data to 9 to obtain a Delay of 0 45 seconds 0 45 sec 50 9 msec 117 EASYGEN O Reception Mode VALUE SERIAL COMMAND Half Duplex Full Duplex This parameter allows you to set the type of communication In Full Duplex mode the Formula terminal can transmit and receive data simultaneously in Half Duplex mode the Formula terminal cannot receive data while it is transmitting so the transmitted data is lost O Check characters The block check characters are Start of Block default lt stx gt End of Text default lt etx gt End of Block default lt cr gt The next section provides all the possible values associated with block check characters You cannot associate the same value to different block check characters stx 0216 dc2 1216 dc3 ot 0416 dc4 1416 no 6 65 18 NT
49. ed on for a maximum of 20 seconds gt ARROW KEYS only available for the application when not in Select or Data Edit see par 6 2 3 m 4 SCAN SCAN KEY Enables the laser for barcode scanning and turns the terminal on if it is off F1 F2 FUNCTION KEYS up to eight function keys are available with _ the following meaning JES Fa Free for F734 lt F1 gt lt F2 gt lt F3 gt lt F4 gt EasyGen F732 lt F1 gt lt F2 gt lt F3 gt lt F4 gt Application F725 lt F1 gt lt F2 gt F660 lt F1 gt lt F2 gt Select Table F734 lt F5 gt lt SHIFT gt lt F1 gt F732 lt F5 gt lt SHIFT gt lt F1 gt F725 lt F5 gt lt SHIFT gt lt SHIFT gt lt UP ARROW gt F660 lt F3 gt lt SHIFT gt lt F1 gt Data Search F732 lt F6 gt lt SHIFT gt lt F2 gt F725 lt F6 gt lt SHIFT gt lt SHIFT gt lt DOWN ARROW gt Deletion F732 lt F7 gt lt SHIFT gt lt F3 gt F725 lt F7 gt lt SHIFT gt lt SHIFT gt lt LEFT ARROW gt F660 lt F5 gt lt SHIFT gt lt SHIFT gt lt F1 gt Data Display F734 lt F8 gt lt SHIFT gt lt F4 gt F732 lt F8 gt lt SHIFT gt lt F4 gt F725 lt F8 gt lt SHIFT gt lt SHIFT gt lt RIGHT ARROW gt F660 lt F6 gt lt SHIFT gt lt SHIFT gt lt F2 gt 63 ESC SHIFT gt SHIFT 7 8 9 ve lM wolf 2 2 91 ESEI SP E N
50. es of 32 characters available Each variable is distinguished by a name which enables recognition To change the name of a variable it is only necessary to select it modify the name and press the lt Tab gt key to skip to the next variable or lt OK gt to exit this window 35 a EASYGENTM 4 6 3 Options Al Choosing this command causes a window of the following type to be displayed General Protocol Message Baud rate 400 zr Data bits 4 H Parity Mak A Comunication Half duplex Interface hs 232 O M In this window it is possible to define the communications parameters between the Formula terminal and the host computers In the General option the user must enter the speed used by the Formula terminal for communicating with host computer the number of data bits the parity mode and type of communication RS 232 RS 485 and Eavesdrop 36 MENU DESCRIPTION a The Protocol option defines how the records will arrive at the host computer when they are requested to be unloaded the communication frame is declared in this window Options General Protocal Message ID Ts sleep 9 Checksum Moze 0 Start of block STX Start Test x End of block CR Carriage Retum Z End of text ETxIEndTa Cancel The identifier of the Formula terminal can be defined the transmission delay expressed in milliseconds the type of message integrity control and the
51. has not yet been defined must be done by successively returning to this function menu 53 5 EASYGEN 5 10 LOOP FUNCTION Gan This function allows the user to increment the index of three tables and define a function loop which repeats until a specified condition is met EasyGen ID x File Edit Insert Run Tools Utility Window Help Application1 app Jof x Terminal Formula 732 w 6720 bytes Input number1 Input date Input time Menul Loop Increase IV Table Tablet T Table Tablet Table Tablet The loop begins with the function defined with the parameters in the PrWin and ends with the function Loop This loop is repeated until a jump is made to a function which allows an exit The first time the program is used or when a table is re loaded the index is always pointing to the first record The user can choose which index es to increment in the PrWin of the loop function If the index is not incremented it always points to the same record and therefore each successive code read will overwrite the previous one 54 INSERT MENU FUNCTIONS 5 5 11 COMPARISON FUNCTION The first element is compared with the second and based on the result true or false a decision is made as to where the program continues f5 EasyGen lel E File Edit Insert Run Tools Utility Window Help Input datel z Input time 4 Menu
52. he COM1 serial port is used DOSDL L2 f filename INP if the COM2 serial port is used To load the actual table DAT files to the Formula terminal it is necessary that they are also present in the same directory They will then be automatically loaded with the table INP files 103 K EASYGEN B 2 ALTERNATIVE FILE LOADING METHOD Application programs and tables Exported see par 4 2 8 from EasyGen can be sent to the Formula terminal using a serial port under a different operating system than Windows 95 98 2000 ME or NT Loading an application program To load the application program in a Formula terminal in which the interpreter is already loaded you must use the default protocol with the serial port set to 9600 baud 8 bits and MARK parity The data or command of the communication frame see Appendix C must be input as a single line without the terminating characters CR OD Hex and LF 0A Hex of the file to be sent maintaining the following FIXED sequence 1 Appl CFG file contains the configuration parameters of the Formula terminal 2 table1 INP file contains the first table definition 3 table1 DAT file this is a data table with the format defined in table1 INP This file must be created outside EasyGen following the rules described in par 4 6 1 The single text data line without the terminating characters CR OD Hex and LF OA Hex preceded by ESC 1B Hex 2 32 6 and fo
53. ic mathematical operation operation Find to find text or a number inside a table See paragraph Editor tables on page 30 If your operation must store data either previously prepared tables or an output file for uploading to the PC you must define several different tables each one composed of a fixed number of records in which you have different fields see paragraph 4 6 1 USE OF EASYGEN To develop a new program with EasyGen we suggest that you proceed with the following steps 1 2 rdl a perform an analysis of the application and build a flow chart using the available functions open a new program File menu New see par 4 2 1 choose the type of Formula terminal to be used define the tables and fields Tools menu Editor Tables see par 4 6 1 define names for variables Tools menu Editor Variables see par 4 6 2 proceed with the insertion of all the functions that must be executed by the terminal as defined by your flow chart Insert menu see par 4 4 save the program File menu Save see par 4 2 3 set the Formula terminal with the serial parameters that must be used by your application Tools menu Options see par 4 6 3 send the interpreter program EIXXX_YYY HEX to the Formula terminal this Initialization operation is only performed the first time that a program must be loaded Utility menu Initiate see par 4 7 load the actual application prog
54. inition of the fields making up each record Table3 General Fields Humber 2 Hame Type Noma Normal field Alignment let x Size 22 Fill Blank gt Check character from to eo Remove field OF Cancel Apply A record may be a maximum of 256 characters and may contain up to 30 fields Variable length records may not be defined 32 MENU DESCRIPTION a Each field is distinguished by O Number The number is a progressive number which uniquely identifies a field and corresponds to the order in which it is sent to the Formula terminal O Name The name of the field is an alphanumeric field with a maximum length of 10 characters O Type The field type may be selected from Normal for example code price location Time internal to the terminal contains the time in the format hh mm ss Any time a record is updated the time will be automatically updated as well Date internal to the terminal contains the date in the format dd mm yy Any time a record is updated the date will be automatically updated as well For each field of tyoe Normal it is possible to define Alignment It is possible to define the alignment of data within the field whenever the fill character is not defined as being equal to zero Fill The character to be used to complete acquired data if the data has a length shorter than the field length Spac
55. ion program which was created with EasyGen and the tables associated with it onto a Formula batch terminal with a PC running DOS Permits the interpretation by Formula terminals of operations defined with the application program EasyGen The characters xxx refer to the terminal name while yyy indicate the software version Permits the connection of the computer to the terminal via a cradle for configuration and the creation of archives containing collected data 2 EASYGEN OLE for Formula 15 for very skilled users only lt can be used to load applications and collect data from the Formula batch terminals from within your own application using any Development System for Windows that supports the Microsoft OLE Technology 2 2 CONNECTING THE TERMINAL TO THE HOST COMPUTER VIA RS 232 It is necessary to make the proper RS 232 connection for your PC to the Formula batch terminal Before proceeding to this phase make sure that both the computer and the terminal are turned off CAUTION INSTALLATION To connect the Formula cradle to the host computer proceed as indicated below 1 S E connect the serial port of the host computer to cable 94A054000 for 9 pin connections or to cable 94A054010 for 25 pin connections connect the other end of the same cable RJ connector to the RS 232 port of the cradle insert the power supply plug into the jack on the base of the cradle attach the p
56. ion that has not yet been defined must be done by successively returning to this function menu NOTE 61 mm EASYGENTM Formule 6 EASYGEN INTERPRETER PROGRAM In this chapter the images representing the Formula terminal are only used as examples to demonstrate use of the keys and messages appearing on the display NOTE 6 1 INTERPRETER PROGRAM USE Application programs created by EasyGen can be run on the Formula terminal only if the Elxxx_yyy HEX interpreter program has been previously loaded onto the terminal Some example application programs are installed onto the PC and can be loaded onto the Formula terminal using either EasyGen see par 4 2 7 or DOSDL EXE see Appendix B 6 2 USE OF THE FORMULA TERMINAL Once the application software is loaded onto the Formula terminal either an example supplied or an application developed with EasyGen to launch it it is necessary to extract the Formula terminal from the cradle and press lt SHIFT gt and then the lt UP ARROWS key If the barcode scanning function has been used in the application scanning is possible 62 EASYGEN INTERPRETER 6 2 1 Description of Keys Although EasyGen allows assigning customized functions to function keys there are some standard functions common to all applications because they are implemented in the interpreter software Every time a key is pressed the Formula terminal remains turn
57. ived It is possible to configure each character using the S type command see par C 4 Configuring the Terminal Serial Command S If these parameters are not defined by the user the default configuration is used Once a value is attributed to a particular character in the communications frame it is important not to attribute it to another character from the same frame In case more than one terminal is connected to the same host computer it is essential to configure the Station Address character so that it assumes different values for each terminal 106 COMMUNICATION PROTOCOL K The Formula terminal can use two different Block check characters BCC These can be set by using the serial command S described in Appendix C LRCC Longitudinal Redundancy Check Character Checksum 256 The use of any type or other is completely arbitrary The only existing limitation regards the specifications of the management program residing in the host computer Depending on the BBC used the calculating method of the two characters that compose it varies If LRCC is used it is necessary to calculate the xor operation of all characters preceding the LRCC including any Start of Block and lt etb gt or etx gt characters The ASCII character corresponding to the value thus obtained must be inserted in the communications frame If Checksum 256 is used it will be necessary to calculate the sum of all the character
58. l user program error Pointer Element Possible errors are 1 Points to a non existent table 2 Next instruction not among expected ones Search Type Only two types of searches are possible 1 BINARY where the table must be ordered in ascending order in the field in guestion 2 SEQUENTIAL where the table may have any order Comparison Type Only two types of comparison are possible 1 With database field 2 With constant 72 EASYGEN INTERPRETER 5 FUNCTION WITH ERROR REMEDY 11 Save Two types of errors are possible 1 Table does not exist 2 Tried to save a data item in a non existent location Divisible Data Item Next instruction does not exist 30 1 Operation on Index Four types of errors are possible 1 Non existent table 2 Wrong operator only incremental and decremental are possible Define Beep Next instruction does not exist Binary Search Table does not exist 42 Display Three errors are possible 1 Table does not exist 2 Operating system error 3 Next instruction does not exist 73 mm EASYGENTM 6 3 DELETION OF THE APPLICATION PROGRAM The procedure described below will entail the deletion of the data acquired and of the application software even if the procedure is not completed CAUTION If the application is to be changed it is necessary to first delete the application currently in use as indicated below 1 Press lt SCAN gt and the protected RESET
59. lculate the sum with hexadecimal values you obtain the result 1FD16 divide it by 10016 256Dec and you are left with FD16 In practice only the last two less important digits of the hexadecimal sum are considered If you calculate the sum with binary values you obtain 1 1111 1101 divide it by 1 0000 0000 Bin 256Dec and you are left with 1111 1101 when that is changed into hexadecimal form it is FD s In practice only the last two less important nibbles of the binary sum are considered The value obtained must be broken down into the two nibbles that make it up thus the characters to be inserted into the communication frame are the ASCII values F and D 108 COMMUNICATION PROTOCOL K C 2 DATA TRANSMISSION The transmission of data from the Formula terminal towards the host computer depends on the interface used C2 1 RS 232 and RS 485 Interfaces Data transmission for both of these interfaces is virtually identical To receive and or send data in this mode every unit of information must have the following structure Start 8 Block Erel af Akat zla record af Check Block i Text Characters Bock I J kJ Framing ch actes Data or Commend Framing ch actes C 2 2 Eavesdrop Connection Interface In this operating mode the Formula terminal will begin to transmit data contained in the table to the host computer as soon as it is inserted into the cradle This data is not sent record by record but rather
60. llowed by ESC 1BHex becomes the communication frame see Appendix C to be sent lf your application does not require this file go to step 4 2N 3N tableN INP Repeat step 2 and 3 for every table defined 4 appl CMD file contains the actual application program For your convenience Export also creates an appl EXP file which is the list without the table DAT files required by your application 104 DOSDL _ _ fy O Loading a single table Similarly it is possible to send the data of an individual table to the Formula terminal This means that a table from an already loaded application program can be changed and the terminal file can be updated without reloading the program Using the definition of a table INP file created with Export you can send the new table DAT file directly to the Formula terminal using the fixed sequence and format described in points 2 and 3 of the previous paragraph Loading an Application Program onto the Formula Terminal 105 K EASYGENTM Formule C COMMUNICATION PROTOCOL C 1 COMMUNICATIONS FRAME To receive and or send data or commands EasyGen uses the following communications frame lt E8 lt command type lt command datas lt es ss z Framing ch actes Commana Framing characters The figure shows the position of each character constituting the communications frame of the information to be transmitted or rece
61. mp Store total this function is a real mathematical operation The total is calculated by multiplying the Price field of the INPUT table by the Quantity field of the OUTPUT table The product is recorded in the Total field of the OUTPUT table Calculate incremental total this function is a real mathematical operation The current total is added to the previous incremental total The amount is recorded in the Incremental variable Input barcode client stands by for the scanning of a barcode whose specifications are indicated between configurable parameters After the scan the data is recorded in the CLIENT table Search for client in the CLIENT table is used to search for the client that has just been scanned and recorded in the CLIENT table Depending on the outcome found or not found the program will proceed to different phases Client found Display description is called when the client is found in the CLIENT table It allows to display the client description PROGRAMMING EXAMPLES Sample barcodes ARTICLE F734 1 0 0 0 F732 0 0 0 2 F725 3 0 0 0 DATALOGIC QP NETWORK ITALY 1 1 1 1 DATALOGIC GP NETWORK FRANCE 2 2 2 DATALOGIC QP NETWORK SPAIN 3 3 3 3 89 90 ARTICLE F66
62. nstall and use this program to collect data from Formula terminals USE OF EASYGEN Formule 3 USE OF EASYGEN 3 1 INTRODUCING EASYGEN EasyGen is the fastest and easiest way to create applications for many Datalogic hand held terminals Whether you are an experienced professional or brand new to hand held scanner programming EasyGen provides you with a tool to simplify rapid application development Rather than writing numerous lines of code to create your application running on the terminal you add simple functions into a list on the PC screen The functions properly described in chapter 5 give the EasyGen user access to the main features of the terminal EASYGEN ne A full list of available functions is Remark to write text on the display Beep to make a sound Clear display Input barcode Input text Input number define the scanner barcode reading to key in or read with the scanner alphanumeric text to key in or read with the scanner a number Input date to read the date from the real time clock of the terminal Input time to read the time from the real time clock of the terminal Menu to display different choices and allow the user to select one Loop to go to a function and update the tables indexes see paragraph Editor tables on page 30 Comparison to make a comparison between numbers or text Go to to go to a function Mathematical to make a bas
63. ntial or in the case of an ordered table according to the field to be searched with the binary method also called dichotomous and may begin with the first record or with the current record index value Seguent Binary From first record From current record In table Tablet va Date be To obtain the best results using the binary method it is advised to use tables relative to the search field that are completely full already ordered without duplicate elements 60 INSERT MENU FUNCTIONS 5 The Go to option defines the function to execute after the search Find Information Lo to Found Inpat barcode amp Store tin C Unfound Beep for Quantity OK Find 30 tol Input barcode amp Store itin Li Input quantity amp store it Ou Mathematical operation Point to nest record amp Restart Read amp Store Date a Based on the results of the search the program will jump to one of two functions specified The result of the search positions the table index at the record containing the field searched for if the search is of the equivalence type or at the first record which satisfies the requested comparison If no record is found the index variable maintains its current position It is only possible to jump to functions which are already defined in the application The creation of a jump to a funct
64. omputer 4 gt File name Code quantity Save Save as type 256 exportation file exp Cancel 2 My Network P The Export command produces files with the same name as your application appl and with different extensions for different sequential loading lt appl EXP gt lt appl CMD gt and lt appl CFG gt 21 4 EASYGEN DOSDL recognizes application filenames having a maximum of 8 characters It is advised to select filenames that respect this limit before Exporting them from EasyGen The application program and the tables assigned to it must be loaded onto the Formula terminal in compliance with the communication frame described in Appendix C CAUTION This command also produces the table files INP with the name of the tables that are defined in your application program Each table INP file contains a description of the structure of the table It is the responsibility of the programmer to have prepared an ASCII table DAT file as defined in par 4 6 1 in cases where the table should be filled in with default or constant data To load files with other methods see Appendix B 4 29 Exit Select this command to exit EasyGen 22 ME 4 3 NU DESCRIPTION EDIT MENU 8 FasyGen PM File Edit Insert Run Tools Utility Window Help Cut Ctrl Copy Ctrl C E Te Haste Cab ey 123 Ga gt Delete z
65. ons as will be seen from the more complex examples below To understand how the examples functions the first thing to check is the composition of the data table In the EDITOR TABLES item of the TOOLS menu there is a setting selected for TABLE1 which is used to save all the scans There are 4 fields DATE TIME CODE QUANTITY The Date and Time fields are automatically acquired from the terminal s internal clock via dedicated EasyGen functions The Code and Quantity fields on the other hand will be requested from the user 78 PROGRAMMING EXAMPLES Aa 1 Logic flow description Clear Display Input Barcode Store Barcode Input Quantity Store Quantity Next Record Here is a list of all messages which can be displayed on the Formula terminals Start amp Clear Display deletes the entire display so that each time the program starts anew there is no leftover data from previous use that might disturb normal viewing This function has no parameters to be configured 79 EASYGEN 80 Input Barcode amp Store it in Code Field stands by for the scanning of a barcode whose specifications are indicated between configurable parameters After the scan the data is saved in TABLE1 in the Code field Beep for OK code emits an acoustic signal to confirm the code scanning Input Quantity amp Store it in Quantity Field stands by for the quantity reading numeric value
66. ower supply to a power outlet turn on the cradle and the computer put the Formula terminal into the cradle LJP 94A054000 94A054010 PowerSupply 2 EASYGEN 2 3 LOADING EASYGEN INTERPRETER Load the EasyGen Interpreter Program EIXXX_YYY HEX onto the Formula terminal with the EasyGen command INITIATE see par 4 7 You can also load the EasyGen Interpreter Program with a DOS system using the DOSDL EXE program see Appendix B Before proceeding with this operation verify if another interpreter program has been previously loaded In this case it is required to delete the program by using the shielded reset key See par 6 2 1 and par 6 4 for details 2 4 LOADING A SAMPLE PROGRAM Select an EasyGen sample application the simplest one is EXAMPLE1 APP found in the Installation Directory Examples Your Language EXAMPLE 1 Code Quantity and load it onto the Formula terminal using the SEND command see par 4 2 7 for details You should be able to run the loaded application on the Formula terminal The example application EXAMPLE1 APP helps you to build a program which stores collected barcodes date and time in a table To collect data from the sample application use the SysTools 2001 program Follow the SysTools 2001 User s Manual for details on how to i
67. r to start the simulation of the application program gt which runs until there is an acquisition function In this case a window appears in which you can insert the requested information Fie Edit Insert Run Tools Utility Window Help 71s Text d 22 Mil Text 123 8 CODE Terminal Formula 734 v 4992 bytes a Eri ee barcode amp Store it in Code field Elear 06681 ajz CODE Tt Stop Watch BH mg Running In this operation if you press the lt Watch gt button you can see the tables and variables contents Tables Variables Tablel A WD 0 4 1 ok we ee 2 27 a EASYGEN Watch value 4 5 3 Stop This function stops the simulation of the application program 4 5 4 Step This function will force the simulation to go step by step 28 MENU DESCRIPTION 4 6 TOOLS MENU Ka EasyGen File Edit Insert Fun Tools Utility Window Help i F b Editor tables Editor variables X sak Text c F Lil Options Application6 app Terminal I Paa When a EasyGen program is open the Tools menu is activated in order to configure tables variables and the terminal 29 a EASYGEN 4 6 1 Editor Tables A Choosing this command causes a window of the following type to be displayed Tablei 8 85 Huimher
68. ram on the Formula terminal File menu Send see par 4 2 7 EZ EASYGEN 3 2 STARTING EASYGEN To start EasyGen proceed as follow 1 Click Start on the task bar Select Programs Datalogic EasyGen and then J EasyGen this path corresponds to the default installation Or Use the Windows Explorer to find the EasyGen executable file Setup EXE 2 Double click the EasyGen icon When you first start EasyGen you see the interface of the development environment as shown in the following figures EasyGen File Edit Insert Run Tools Utility Window Help Menu bar Toolbar 4 Toolbar of Insert menu for File and Tools menu p EasyGen of x Fie Edit Insert Run Tools Utility Window Help M8 gt nR ti 122 ct t i E gt i cz Terminal layout Selected function Input barcode amp Store it in Code field Beep for Code OK Input quantity amp store it in Quantity field Input barcode Limits Exception Beep for Quantity OK Im J ri ate 6 m 6 Label CODE Table Tablet Code x Variable Error z 10 USE OF EASYGEN BB The development environment interface of EasyGen is similar to other programs for Windows 95 98 2000 ME NT The main elements are Menu bar Tool bar Button Application Window ApWin Display Window DiWin
69. red by your application in the same directory as the Export saved files After making the RS 232 connection between the Formula terminal and the host computer and loading the application onto the Formula terminal it is necessary to select the Application program item from the DOSDL Choice menu Choice Exit Operating System Table 100 DOSDL _ _ fy A list of all applications EXP extension present in the current directory appears on the monitor it is possible to change directories 5 Applications Found EXAMPIEXP 35 12 06 97 15 31 EXAMP3EXP 35 12 06 97 15 31 EXAMP4EXP 40 12 06 97 15 31 EXAMP5 EXP 40 12 06 97 15 31 Current Directory Previous Directory DOSDL EXE recognizes application filenames having a maximum of 8 characters It is advised to select filenames that respect this limit before exporting them from EasyGen V 101 mm EASYGENTM Choose one application program and press lt ENTER gt The screen displays the following EXAMP4 EXP pile size 4 254 ad 0 t 5 Key A File name and size B Loading status bar C Reply message To interrupt the installation of the application at any time just press lt CTRL gt lt BREAK gt via the computer keyboard It is also possible to load the application using DOSDL EXE directly from the DOS prompt Enter the command DOSDL f filename EXP if the COM1 serial port is used DOSDL L2 f
70. rogram by jumping to a specified function Input number Limits Exception pressed ri Go to function 7 The available exit keys for the Formula 734 terminal are Input number Limits Exception IV If pressed Go to function Other available Formula terminals may have more or less keys See the relevant Formula terminal User s Manual It is only possible to jump to functions which are already defined in the application The creation of a jump to a function that has not yet been defined must be done by successively returning to this function menu Input number Limits Exception lfpressed bi Go to function v Beep for Code OK Beep for Quantity OK Input barcode amp Store it in Cc Input barcode Input barcode2 Input barcode3 Input barcode4 Input barcode5 50 INSERT MENU FUNCTIONS 5 7 INPUT DATE FUNCTION H This function allows the user to save the system date in a table field or in a variable lel Es 2 Easyben File Edit Insert Run Tools Utility Window Help Application1 app Terminal Formula 732 vy 5056 bytes Clear display 1 41 Input barcode Text Input text Input date Input date n Table T ablel w Date v C Variable Error 7 122 Input numberl To avoid possible errors it is recommended that the field in which you wish to save the date be defined as a date field see par 4 6 1 51
71. rs are ACK Records saved NAK Record not conforming with previously given definition or file full 5 Enquiry Each time that the Formula terminal receives this command it transmits a message that defines its internal status to the host computer Command data does not take up any value The answers are RUN Terminal connected 112 COMMUNICATION PROTOCOL 6 Terminal information This command allows the host computer to identify the type of Formula terminal Command data can take the following values no value Formula terminal transmits its name to the host computer Formula terminal sends version and firmware release to the host computer in the format v x r y Formula terminal sends the RAM extension in the format XXX Kbyte The answers are name name of the terminal v X r Y X is the version and Y is the release of the terminal in use XXX RAM memory of the terminal NAK Wrong command B Start application This command allows the host computer to send the application program start command Command data does not take up any value F File fields structure This command defines the structure of the file fields It is not used directly by the user but it can be found inside the files that are obtained by exporting the application in use in EasyGen V R File structure This command defines the file structure It is not used directly by the user but it can be found inside
72. s EasyGen with example programs EasyGen Interpreter SysTools 2001 OLE for Formula DOSDL program e The following manuals EasyGen this manual SysTools 2001 OLE for Formula 1 4 MINIMUM CONFIGURATION REQUIRED In order to install and use the EasyGen program it is necessary to have at least the following PC with a Pentium processor one of the following operating systems e Windows 95 SR2 or later e Windows 98 e Windows 2000 e Windows ME e Windows NT Service Pack 4 Internet Explorer 4 01 SP2 installed in the Active Desktop HTML Help Viewer 1 32 available in the EasyGen installation directory free serial port 16 MB memory for Windows 95 98 32 MB for Windows ME 2000 NT hard disk with at least 30 MB free space to run VGA video card or better Advised only for Windows NT 4 0 or Windows 95 INSTALLATION p Formule 2 INSTALLATION 2 1 INSTALLING EASYGEN Once the CD is inserted launch the Windows software application EasyGen for WIN 95 98 2000 ME NT by pressing the Setup button Through this procedure the following programs will be installed EASYGEN EXE DOSDL EXE ElXXX YYYHEX SYSTOOLSTM 2001 Permits the creation and modification of personalized application programs and their loading onto a Formula batch terminal Allows you to load the Interpreter Program the applicat
73. s command it is possible to open a previously created application La program The Windows 95 98 2000 ME NT File selection dialogue window appears on the screen RIES Look in E Example 1 Code Quantity Example1 app x History Desktop My Documents File name xamplel app Files of type EasyGen Application File app Cancel 16 MENU DESCRIPTION a The ApWin that appears contains the application program that is the sequence of functions that must be sent to the Formula terminal File Edit Insert Run Tools Utility Window Help start amp Clear Display Input barcode amp Store it in Code fielc 2 Beep for Code OF 123 Input quantity amp store itin Quantity asan field ef Beep for Quantity OF E Date aj ApWin o In the ApWin there is the list of functions that are performed by the application in the Formula terminal The four columns as seen in the figure below are used for from left to right D Program Files Datalogic2000 EasyGen 1 E4 Terminal Formula 734 4480 bytes 5 Point to next record amp Restart E E i 8 T Dr Input barcode amp Store it in Code field Function name 4 Beep for Code OK 123 Input quantity amp store it in Quantity field ef Beep for Quantity OK Read amp Store Date List of functions that will
74. s preceding the Block Check Characters including any Start of Block and lt etb gt or lt etx gt characters and subtract from the result 256 dec The value obtained must be broken down into the two nibbles that its composed of groups of 4 bits and the two ASCII characters corresponding to the values obtained must be inserted in the communications frame EXAMPLE Let us imagine that you have to send the command lt ESC gt 5 lt ESC gt lt CR gt using BBC LRCC The value of the Block Check Characters must be calculated as follows ASCII Hexadecimal Binary ESC 76 00011011 xor Xe 3516 00110101 xor lt ESC gt 1B16 00011011 xor lt CR gt OD 16 00001101 8 38176 00111000 you carry out the xor operation with hexadecimal values the result will be 3816 If you carry out the xor operation with binary values the result will be 00111000 The ASCII character 8 must be inserted into the communication frame 107 K EASYGENTM EXAMPLE Let us imagine that you have to send the message lt ESC gt 7CKSUM lt ESC gt lt CR gt using BCC Checksum module 256 The Block Check Characters value must be calculated as follows ASCII Hexadecimal Binary ESC 766 00011011 7 3716 00110111 4 C 4316 01000011 K 4B16 01001011 S 5316 01010011 4 y 5516 01010101 M 4D16 01001101 lt ESC gt 1B16 00011011 lt CR gt 0D16 00001101 1FD16 111111101 If you ca
75. the program by jumping to a specified function Input barcode Input barcode Limits Exception lf pressed JF Go to function Beep for Code OF 44 INSERT MENU FUNCTIONS 5 The available exit keys for the Formula 734 terminal are Input barcode Input barcod Limits Exception pressed Go to functors Other available Formula terminals may have more or less keys See the relevant Formula terminal User s Manual It is only possible to jump to functions which are already defined in the application The creation of a jump to a function that has not yet been defined must be done by successively returning to this function menu Input barcode Input barcode Limits Exception lf pressed JF Go to function Beep for Code OF Beep for uantity OF Input barcode amp Store Ci Input barcode Input barcodes Input barcodes Input barcoded Input barcodes 45 EASYGEN EAN128 8 CODE 128 By enabling CODE 128 codes it is possible to read not only normal CODE 128 barcodes but also single field EAN 128 codes By enabling EAN 128 codes it is possible to read not only single field EAN 128 barcodes but also CODE 128 codes To correctly read EAN 128 codes of more than one field it is necessary to create the special EAN128tb table See par 4 6 1 This table must have a number of fields greater than or equal to the m
76. ticle Found Search Article Search Client Not Found Display Description amp Price Input Quantity Store all Data Calculate Total Quantity Price Calculate Display Client description Display Client Not Found New Client Incremental Display Total Incremental E5 Ec ni n e V Next Record Total 87 EASYGEN 88 Menu prompts the define client option OR the shopping article one Input barcode article stands by for the scanning of a barcode whose specifications are indicated between configurable parameters After the scan the data is recorded in the Article variable The choice of the variable originates from the fact that before saving it in the INPUT table it is necessary to check that the code scanned is present in the codes reference table Search for article in input database is used to search for the code that has just been scanned and recorded in the Article variable in the INPUT table Depending on the outcome found or not found the program will proceed to different phases Press Enter 0 allows to go on with the program Found Display description amp price is called when the article is found in the database of the INPUT table It allows to display the item description and the unit price Input quantity stands for the article quantity which is directly recorded in the Quantity field of the OUTPUT table Calculate a
77. ting upon X and Y it is possible to position the initial coordinates of the comment The result of the comment function is visible in the window that simulates the display of the Formula terminal 5 2 BEEP FUNCTION 4 Allows the Formula terminal to emit a beep Also it is possible to define its loudness the pitch and the duration on the PrWin EasyGen Afel Es File Edit Insert Run Tools Utility Window Help Text qd sat b i pplication1 app Terminal Formula 732 w 576 bytes Beep Intensity Low Note C4 X Period 50 ms v 41 5 EASYGEN 5 3 CLEAR DISPLAY FUNCTION z Completely clears the display of the Formula terminal K PrWin and DiWin are not necessary File Edit Insert Run Tools Utility Window Help Text 4 2 Mii Text 123 re sat ha gt gt MERE 42 INSERT MENU FUNCTIONS 5 5 4 INPUT BARCODE FUNCTION pes Allows you to read a bar code and save the information in the field of a table milll i or in a variable It is possible to display a predefined comment in any position on the screen The code when read or keyed will be displayed after the last characters of the comment Fie Edit Insert Run Tools Utility Window Help Clear display1 Input barcode Input barcode Input barcode Limits Exception 59 12 E Label Table Tablet Date Variable ror z
78. tions in the application Run emulation under windows of the Formula terminal Tools parameters editing Utility load interpreter on the Formula terminal Window multiple windows setting Help help 14 MENU DESCRIPTION a 4 2 FILE MENU Manage application file printing and loading to the Formula terminal 1 EasyGen Es E3 File Edit Insert Run Tools Utility Window Help 52 gt 4 2 1 New i Choosing this command allows you to create a new application program An Empty Application Window ApWin appears on the screen File Edit Insert Run Tools Utility Window Help Tot 4 22 58 Tet 123 s gt 5 pplication1 app 15 a EASYGEN The upper part of the ApWin shows the type of Formula terminal the program is to run on With the down arrow it is possible to choose the terminal type and EasyGen adapts the base program to the model of the Formula terminal chosen Below the Formula terminal name there is row with 4 cells under which you can insert functions using the Insert command or function tool bar button The description of the 4 cells is given under the Open command see par 4 2 2 Application1 app OF x Formula terminal ee th feria Formula 732 rogram is to run S 5 Formula 550 Formula 25 Formula 32 Formula r34 List of the Formula terminals 4 cells under which you can insert functions 4 2 2 Open With thi
79. und its total cost The search functions are used in the example to search for the code in the internal database while the mathematical functions allow to calculate the total costs There are two exceptions The first one occurs when the article is requested In this case the program goes back to the main menu by pressing F1 This allows to close the cost for a client and to go on with a new client s setting The second exception regards the progressive calculation of the total The Increase variable sums all the separate costs Then by pressing F2 instead of Enter to continue it is possible to see on the display a client total cost up to that moment This does not mean that the sale is closed rather that it can be displayed check at all times There are three Tables INPUT TABLE contains the field structure of the code reference table created with DOS edit command with the item description and its price The file should be called INPUT DAT and its fields are ARTICLE DESCRIPTION PRICE CLIENT TABLE contains the field structure of the client reference table created with DOS edit command with the client code and the client description Its fields are CLIENT CODE CLIENT DESCRIPTION OUTPUT TABLE contains the field structure of the output table data downloading DATE TIME CODE QUANTITY TOTAL 86 PROGRAMMING EXAMPLES 1 Logic flow description Main Menu is Input F1 Exception Ar
80. vely returning to this function menu NOTE Input text Limits Exception lfpressed F1 Go to function Beep for Code OK Beep for Quantity OK Input barcode amp Store it in Cc Input barcode5 48 INSERT MENU FUNCTIONS 5 5 6 INPUT NUMBER FUNCTION 125 This function allows the user to insert a number and to save the information ses ina table field or in a variable It is possible to display a fixed comment in a predefined position fe EasyGen x Fie Edit Insert Run Tools Utility Window Help 7 tn 4 Z2 8 Tet 128 8 Clear display1 Input barcode1 Input text Input numberl Input number Limits Exception ts 01 Label Table Tablet ose x Variable Error x To set the maximum number of acceptable digits just click the Limits tab and enter the value In your application if more digits than the maximum acceptable value are input the string of digits entered will be truncated to the maximum acceptable value Example Size 3 Input string 1234 When the digit 4 is input the string 123 is automatically accepted The maximum possible value is 32 digits default 7 Size 32 49 mm EASYGENTM With the Exception tab you can define an exit from the number acquisition mode by pressing a particular button and continue with the p
81. x None and then in the 1 element tab you have to check the Sez string box and specify the first and the last position of the string required The result string must be stored in a variable Mathematical operation Besult 1 element Operation 2 element Custom Table Tablet T Quantity Variable Error C Index Table Sezstring Initilpos 1 Finalpos 1 The none operation copies the 1 element into the location defined in the Result tab 58 INSERT MENU FUNCTIONS 5 2 element The second element of an operation between numbers or strings may be a constant a table field the value of a variable the index of a table In the case where the arithmetic operation is an assignment operation none the second element must not be defined Mathematical operation C Custom O Table Tablet Date Variable Variable 4 C Index Tabl l z 59 5 EASYGEN 5 14 FIND FUNCTION Mian This function allows the user to search for a constant the value of a table field or the value of a variable within a table EasyGen x File Edit Insert Run Tools Utility Window Help a ER gt Find Information Go to Custom Table Tablet v Date Variable Em g The Information option allows the user to define the type of search which can be seque
Download Pdf Manuals
Related Search
Related Contents
Samsung MH050FXEA2B Manuel de l'utilisateur Muvit MUPRBKCGG2153 mobile phone case iPhone OS Einsatz in Unternehmen HP CONTROL TOWER FOR BLADE SYSTEM 417731-192 User's Manual 0349-2LEDスリムライト取説補足説明書8 [更新済み] Maytag MGD5801TW0 User's Manual Sony DSC-W220/L Marketing Specifications オートリフタ十YBOー 092用 Copyright © All rights reserved.
Failed to retrieve file