The text of a manual · part 10 of 26
TriCoder Users Manual, pages 91 to 100
Pages 91 to 100 of 246
The original document is the PDF (4.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Worth Tricoder T61, Worth Tricoder T62, Worth Tricoder T63, Worth TriCoder LT63, Worth Tricoder T50, Worth TriCoder T52 and Worth TriCoder T53
Page 91
Press YES at the PROGRAMMING MODE? prompt, then enter the password, WDTRI to get to the Programming Menu. Entering the password incorrectly generates the message: INCORRECT PASSWORD HIT ANY KEY_ Entering the password incorrectly 2 times generates the following message: ACCESS DENIED HIT ANY KEY_ At this point, you will be returned to the Mode Menu to start again. If you have entered the password correctly, you see the PROGRAM FUNCTION menu: Create Programs ------>1-3 Voice Operations------->4 Change Setup----------->5 Data File Names-------->6 Press the number of the program you wish to create; 1,2, or 3. The TriCoder then displays: (x is 1, 2, or 3) EDIT PROGRAM x? KEY [YES/NO] Press YES. If you press NO, the TriCoder asks if you want to delete the program. Use this to delete an existing program and create a new one in its place. After answering YES to the EDIT PROGRAM prompt, the TriCoder is ready to create a program.
Parts of the TriCoder programming screen Before you start programming the TriCoder, it helps to know what the TriCoder is asking you at each step. The text below is an example of what you see on the TriCoder screen when creating a program. PROMPT 01 _ The word PROMPT describes what field in the program statement you are working on; in the example above we are at the Prompt Text field. The 01 tells us what statement number we are working on. In the example, we are working on statement #01. If we were working on statement #03, the text would look like this: PROMPT 03 _ The cursor beneath the word PROMPT is waiting for input. In our example above, we would then type the text we want to use for our user prompt for statement #03. 8-2
Page 92
The remainder of this chapter will explain each step in creating program statements. They are described in the order that they appear when programming the TriCoder.
Program Name Program Prompt
The first prompt the TriCoder displays when creating a program is the PROGRAM NAME prompt. The PROGRAM NAME entered at this prompt will be used to identify the program in the DATA COLLECTION menu. The PROGRAM NAME can consist of alphanumeric data and can be up to 20
1 characters. The PROGRAM NAME prompt has another function besides simply naming the program. When collecting data, programs usually start with statement #1, or if data has already been collected, it starts at the statement number where the user left off. You can force the TriCoder to ALWAYS start at a particular statement number whether starting a new data file or resuming collection in an existing one. This is done using the first 3 characters in the PROGRAM NAME prompt. The first character must be ~, followed by the two digit statement number you want to start with. You can then follow with an actual program name if you want to. This feature can cause partial data records since resuming data collection after some data has been collected may start at a statement number other than where you left off. Because of possible partial records, the host program that processes this data needs to handle the partial records in a special way or ignore them completely. The following example shows a program named INVENTORY that always starts at statement #4: PROGRAM NAME? ~04INVENTORY This example shows a program named RECEIVING: PROGRAM NAME? RECEIVING This program starts with statement #1 if the data file is empty. If you are resuming a previous data collection and you still have data present (you didn’t upload and delete your data file), the program will resume at the statement number following the statement at which the user last entered data.
Statement Entry Types Program Prompt 2
The next prompt in the program process is the ENTRY TYPE prompt. This prompt determines what type of data is entered for this statement. This is the most important prompt as it determines exactly what happens at this step in the program. After entering a name at the PROGRAM NAME prompt, you see:
8-3
Page 93
ENTRY TYPE _
01
These are the Statement Entry types available: Statement Entry Type
Code used for TriCoder Coding Form
Data Branch Question Date and Time Stamp Time Stamp only Date Stamp only Xtra None Data AND Immediate Output
D B Q S T Y X N O
Details on each Statement Entry Type are as follows:
Data Data entry prompts are program statements that prompt the operator to enter data for storage in memory. A typical Data Statement would be prompting the operator for an Item Number or a Quantity. This is the most commonly used statement type. A program statement used to enter data looks like this: ENTRY TYPE D_
01
The previous example indicates a Statement Entry Type of Data for statement #01.
Branch A branch statement allows the program to jump to anywhere between 1 and 15 different statements depending on the character entered at the branch prompt. The data entered at a branch statement is not saved to memory; it simply acts as a pointer, directing the program to the appropriate statement. When creating a branch statement, the programmer will only see 3 program statement fields; ENTRY TYPE, PROMPT and STMT TO BRANCH. The ENTRY TYPE for a branch statement should look like this: ENTRY TYPE 01 B_ The next field is the PROMPT field. This field is the prompt text that the user will see when executing the branch statement. This is an example of a
8-4
Page 94
PROMPT field for a branch statement: PROMPT 01 TRANSACTION?_ The final field for a branch statement is the STMT TO BRANCH field. This field tells the program what statements to go to when particular characters are entered. At this point you can enter up to 15 groups of 3 digit codes for a total of 45 characters.
•
The first character in each 3 digit code is the conditional character; this is the character that determines the branch when entered. The * character is used to mean any character other than the conditional characters already specified.
•
The next 2 characters in the 3 digit code determine which statement to go to when the conditional character is entered.
For example, lets say you wanted the following branches to happen: Go to statement 18 if an R is keyed/scanned Go to statement 34 if a 5 is keyed/scanned Go to statement 02 if anything else is keyed/scanned The STMT TO BRANCH field would look like this: STMT TO BRANCH R18534*02_
01
Question A question statement creates a program prompt that the user answers YES or NO to. Data is not stored to memory for this type of statement; a YES answer directs the program to one statement number while a NO answer directs the program to another statement number. The question statement is answered by pressing the YES or NO key on the TriCoder keypad. When creating a question statement, the programmer will only see 5 program statement fields; ENTRY TYPE, PROMPT, VOICE MESSAGES, YES/NEXT STMT and NO/END STMT. The ENTRY TYPE prompt for a question statement looks like this: ENTRY TYPE 01 Q_ The PROMPT field determines what the user sees on the display screen for this field. Here is an example of a PROMPT field for a question statement: PROMPT 01 DAMAGED GOODS?_ The MESSAGE NUMBER field defines the voice messages you want to 8-5
Page 95
play for this statement. MESSAGE NUMBERS 01 0200_ The next field prompt, the YES/NEXT STMT prompt, determines which statement the YES key takes the program to. For example, if we wanted the program to jump to statement #05 if we answer YES to statement #01, the prompt should look like this: YES/NEXT STMT 05_
01
The NO/END STMT prompt determines where the program goes if the question is answered with the NO key. If we wanted the NO key to take us to statement #03 in the example above, our NO/END STMT prompt should look like this: NO/END STMT 03_
01
Date and Time Stamp The Date and Time Stamp statement requires no action from the user. By specifying S as the statement ENTRY TYPE, the TriCoder accesses its internal real-time clock and writes the current date and time information to memory when the program statement is executed. By default, this information is not displayed by the TriCoder when the statement is executed, but it can be displayed simply by entering DIS in the DATA ID field of the program statement. The default format of the date and time stamp is MMDDYYHHMM (if USA) The format can be changed using the Alternative Date Formats setup parameter. If you want to add seconds to the time portion of the Date and Time stamp, use s instead of S. ENTRY TYPE 01 s_ The Date and Time Stamp statement uses only 3 programming statement fields; ENTRY TYPE, DATA ID and YES/NEXT STMT.
Time Stamp The Time Stamp statement type records only the time information to memory in the HHMM format. Just as with the Date and Time Stamp statement, using DIS in the DATA ID field will display the time information on the TriCoder screen when the statement is executed. Use t 8-6
Page 96
instead of T to record seconds in addition to the hours and minutes: ENTRY TYPE 01 t_ The Time Stamp statement uses the same program fields as the Date and Time Stamp statement.
Date Stamp The Date Stamp statement stores only the date information in a MMDDYY format. As in the other Date/Time stamp statements, using DIS in the DATA ID field will display the Date information on the TriCoder when the statement is executed. The date format can be changed using the Alternative Date Format settings in the TriCoder setup. ENTRY TYPE 01 Y_ The Date Stamp statement uses the same program fields as the other Date and Time Stamp statements.
Xtra The Xtra Statement works with the "ENTER QUANTITY" prompt by automatically entering a quantity of “1” if the user enters another Item number instead of a quantity. The user has the option of entering an actual quantity if it is more than “1”. Using this feature in Program #1 is a good way to demonstrate its value. The XTRA Statement must be set before you begin your data collection. To use the XTRA Statement, three things must happen: 1.
The statement type for the “ENTER QUANTITY” prompt must be “X” (Xtra)
2.
The maximum data length of the “ENTER QUANTITY” statement must be less than the minimum data length for the next statement to be executed - in program #1, the next statement to be executed is the “ENTER ITEM NO.” statement.
3.
The length of the data entered at the “ENTER QUANTITY” prompt must be between the minimum data length and the maximum data length of the next statement to be executed (ITEM in program #1).
Using Program #1 as an example: If the number of characters entered at the “ENTER QUANTITY” prompt is less than the minimum data length of the “ENTER ITEM NO.” prompt, then the data entered is stored as the quantity. If the number of characters entered at the “ENTER QUANTITY” prompt is between the maximum data length and the minimum data length for the 8-7
Page 97
“ENTER ITEM NO.” prompt, then a “1” is stored as the data for the “ENTER QUANTITY” and the data entered at the “ENTER QUANTITY” prompt is stored as the data for the “ENTER ITEM NO.” prompt. If it seems confusing, use the following TriCoder Coding Form as an example: Stmt #
Entry Type
01
D
02
X
Prompt
Min Data Len
Max Data Len
Next Stmt
ENTER ITEM NO.
06
13
02
ENTER QUANTITY
01
04
01
While collecting data using the program shown above, if data between 6 and 12 digits in length is scanned or entered at the “ENTER QUANTITY” prompt, data of "1" is automatically entered. In other words, if you continually scan your item numbers (as long as they are all between 6 and 12 digits in length) you will automatically enter a quantity of 1 for each item. To enter a quantity other than 1, simply enter the quantity by using the keypad, making sure the length of the quantity data does not exceed the maximum data length for the quantity field (4 digits). The very last quantity entered at the end of data collection must be keyed in from the TriCoder keypad, even if it is 1. Also, in order to either scan an item or enter a quantity at this statement, you must change the “Input Type” statement to be blank instead of K or W. This is especially important if you are editing the default Program #1. If you are using the “selective bar code trimming” feature with the XTRA Statement, the trimming must be specified in both the “DATA Statement” and the “XTRA Statement”. For example, if you wanted to eliminate the leading character on all UPC codes, you would have to specify: {c1 in both the upload prefix for the DATA Statement (Statement 1 on the example above) and the upload prefix for the XTRA Statement (Statement 2 on the example above). If you do not specify the trimming in both upload prefixes, the trimming will not happen correctly.
None The None statement entry type is used as a “dummy” statement, recording no data and transmitting only the Upload prefix and suffix. It is typically used as a destination for a branch statement, allowing you to record what action the operator took without recording any data. The program goes on without any input from the operator. To illustrate it’s use, lets say that a branch statement (statement #3) goes to statement #04 (None statement) if the operator enters the letter A. ENTRY TYPE 04 N_ 8-8
Page 98
Even though the operator enters the letter A at statement #3, the A will not be written to memory and uploaded because branch statements record no data. What if your application requires the A as part of its data? By making statement #04 a None statement and entering an A as the upload prefix or suffix, an A will upload as the data for statement #04. UPLOAD PREFIX A_
04
The None statement can also be used to add more than 15 characters to an upload prefix or upload suffix when using refer-backs – many times 15 characters is not enough. See Upload Prefix in this chapter for more information on refer-back (appending data to another field) programming.
Data AND Immediate Output The Data AND Immediate Output statement entry type is used when you want to create a regular Data entry prompt (see Data) where the data is stored in memory but also want the data to be output immediately (like NON PORTABLE mode) as well. The TriCoder must be connected to the computer for the Immediate Output portion of this statement type to work. An example of using this type of statement would be if you want to collect sales invoice data in the TriCoder (to later upload and update your inventory) but want to also transmit data immediately to the computer to create the actual invoice itself. You would be scanning directly into your invoice software while saving the same data in the TriCoder to upload later for inventory management.
Program
Prompt Text
The next field in the TriCoder programming is the PROMPT text. This prompt is asking you to enter the text you want displayed to 3 the user. If you have chosen D (Data) for the STATEMENT ENTRY TYPE, typical PROMPT text might be something like "ENTER DATA" or "SCAN BARCODE". A "Q" (Question) statement might display text such as "DAMAGED GOODS?".
Prompt
The PROMPT Text statement has other uses besides just displaying an operator prompt. By using an @ as the first character in the statement text, you can display the last data entered for this prompt as the default data. To accept this displayed data as the data you want to enter for the prompt, press the ENTER key. For example, if the PROMPT text is "ENTER ITEM NO.", and the data entered for the prompt is 1234, then the next time the PROMPT text is displayed, it would display as follows: ENTER ITEM NO.? 1234_ To accept 1234 as the actual data (instead of entering new data), simply
8-9
Page 99
press the ENTER key on the TriCoder. Entering ! as the first character for the PROMPT text field will cause the TriCoder to increment the last data entered for the statement by 1. To accept this data, the user simply presses the ENTER key on the TriCoder. To enter different data, press CLEAR, then enter the new data via the scanner or the TriCoder keypad. Here is an example of how this works: PROMPT 01 ENTER ITEM NO. Lets say that while collecting data in our program, we enter the number 12345 at the ENTER ITEM NO. Prompt when it is displayed on the TriCoder. By using the ! as shown above, the next time we see the ENTER ITEM NO. Prompt, the TriCoder will increment the last data entered and display it as the input data: ENTER ITEM NO. 12346_ To accept the data, press ENTER. To enter different data press CLEAR, then the new data. Program Prompt 4
Voice Message Frequency The next programming field is the FREQUENCY field. This field determines how often the voice messages for this statement are played. FREQUENCY _
01
There are two choices for the FREQUENCY field: E
Exception - the voice message is played the first five times that the prompt for this statement is displayed. If the Frequency field is left blank, E is the default.
A
Always - the voice message is played every time the prompt for this statement is displayed.
Voice message prompts can be turned off while in data collection using the following key sequences: − press SHIFT − press F1 − press P For total silence, including prompts and error messages, use this key sequence: − press SHIFT − press F1 − press S 8-10
Page 100
Message Numbers Program Prompt 5
The MESSAGE NUMBER field is where the voice messages are specified for the current statement. Up to 2 voice messages can be specified for each statement: MESSAGE NUMBERS 01 0000_
Each voice message is identified using a 2 digit number. If two messages are specified, the first message is played, followed immediately by the second message. For example, the following program field would play message #5 (ENTER), then message #7 (ITEM): MESSAGE NUMBERS 01 0507 To play no voice messages, specify 0000. At this point in programming, you can get into the Voice Operations menu by pressing : − press SHIFT − press F1 − press F2 This allows you to record or listen to voice messages while you are programming. To exit back to programming, press the F1 key. For complete details and information on Voice Messages and their uses, see Chapter 13; Voice Messaging.
Data ID Program
The next field in the programming is the DATA ID field.
Prompt
DATA ID _
6
01
The DATA ID field has 5 different functions, depending on what is entered at the prompt: 1. 2. 3. 4. 5.
Data Identifiers UPC/EAN Check Digit verification Table Access Display Date/Time Prevent Duplicate Entry
1. Data Identifiers The first function of the DATA ID field is to specify Data Identifiers for the data entered for the current statement. Data Identifiers are commonly used by the Automotive and Retail industries and are used 8-11