The text of a manual · part 11 of 26
TriCoder Users Manual, pages 101 to 110
Pages 101 to 110 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 101
to make sure the correct type of data is entered. For example, to make sure the TriCoder only accepts data for this prompt that starts with 1A1, put 1A1 in the Data ID field: DATA ID 1A1_
01
Data Identifiers can be up to 3 characters long and can be position specific. To only accept data where the second character is “S”, put S in the second character position in the Data ID field: DATA ID 01 S_ (data is “space” “S” “space”) In this example, the data in positions 1 and 3 can be anything; put position 2 must be an “S”.
2. UPC/EAN Check digit verification for keyed-in data The second function of the Data ID field is to have the TriCoder verify the check digit on an UPC or EAN bar code when the data has be entered on the TriCoder keypad (not scanned). This scenario happens often when bar codes are damaged or missing and the data has to be entered by hand. To avoid errors when the data is keyed in, the TriCoder will calculate a check digit for the data and compare it to the check digit that was keyed in. If the two digits do not match, the TriCoder generates the following error message: INVALID INPUT HIT ANY KEY_ To use this feature, enter the following characters at the DATA ID prompt: U10 - Use this to verify UPC 12 or 8 digit entries E10 - Use this to verify EAN 13 or 8 digit entries B10 - Use this to check for both UPC and EAN 13, 12 or 8 digit entries. UPC/EAN 2 and 5 digit supplements are not supported.
3. Specifying Tables and Pick Lists The TriCoder can access downloaded tables and pick lists during data collection. Tables are lists of data that can be either validated (compares the entered data to the table data) or maintained (finds the entered data in the table and allows editing of associated data). Pick Lists serve as instruction to the user in order filling and warehousing applications. The TriCoder has room for up to 3 tables in memory at a time. Table validation uses data records that consist of a single field. The user enters a piece of data into the TriCoder and the TriCoder checks the table to see if there is matching data. If so, the TriCoder writes the data to the 8-12
Page 102
data file and goes to the next program statement. To use Table Validation enter the following characters at the DATA ID prompt: A1A, A2A or A3A
(validates data from table #1) (validates data from table #2) (validates data from table #3)
Not only can the TriCoder validate the data but can prevent the user from entering the same data twice by entering these characters at the DATA ID prompt: D1D D2D or D3D Table maintenance uses tables of data that contain records made up of multiple fields. An example would be a price checking application that lists the item number, a description, a size and a price. Upon scanning the item number, the associated data (description, size and price) would be displayed on the TriCoder. Any of these fields may be designated as updateable and can be then edited and written to the data file. To use Table maintenance, enter these characters: M1M (table 1) M2M or (table 2) M3M (table 3) Pick Lists are a specific type of application that is usually associated with order filling or other warehouse activities. Pick Lists typically tell the user where to go to find an item, the item number and how many to pick for the order. To access a Pick List, use: P1P P2P or P3P To transfer the order number from the pick list to the data file to be uploaded, use: O1O O2O or O3O
4. Display Date and Time Normally, a date or time stamp statement does not display any data when executed but sometimes you may want the user to see the data being written to the data file. To display the date and or time, use: DIS in the DATA ID field.
8-13
Page 103
5. Prevent duplicate entry of data To prevent the duplication of data entered at a particular statement, use DUP in the DATA ID field. During Data Collection, if data is entered at a statement prompt that had been entered previously for the same statement prompt, the user will see the message: DUPLICATE ACCESS PRESS ENTER_ Press ENTER to discard the data and repeat the statement prompt. To accept the data and write it to the data file, press the F1 key. The program will then advance to the next statement prompt.
Data Type Program Prompt 7
The DATA TYPE field determines what kind of data alphabetic, numeric or both - is accepted for a particular statement. There are five options for the DATA TYPE field:
D Digits Only; digits are 0-9 N Numeric Only; numeric data is 0-9, SPACE + - / $ , . A Alphabetic Only; alphabetic data is A-Z a-z SPACE - , . ENTER Allow input of all characters S Start the data entry Shifted for all characters If the data is alphabetic (A), data entry is started with the cursor shifted to allow for entry from the TriCoder keypad. The DATA TYPE field is intended to work in a manner similar to the DATA ID field - it is meant to minimize operator data entry errors. For example, if the statement prompt text is QUANTITY, and you want only digits entered at this statement, use D in the DATA TYPE field.
Maximum Data Length Program Prompt 8
The next field in the TriCoder programming is the MAX DATA LEN field. This field determines the maximum number of characters allowed for a statement.
The TriCoder reserves memory for a data field based on the Maximum Data Length. If you specify a maximum data length longer than you know you’ll need, you will be able to collect less data due to the extra memory. For example, specifying 10 characters instead of 12 would allow for almost 100 more pieces of 10- character data. Maximum Data Length can be between 01 and 99 and should include Data Identifiers if your data uses them.
8-14
Page 104
MAX DATA LEN 01_
01
To clear the MAX DATA LEN and enter a new value, press CLEAR on the TriCoder keypad and enter the new value. The MAX DATA LEN is important when using the Xtra Statement. See the section on the XTRA STATEMENT for more information.
Minimum Data Length Program Prompt 9
The MIN DATA LEN field tells the TriCoder the fewest number of characters to accept for a particular program statement. Specifying a Minimum Data Length can reduce data entry errors and is particularly important when using an Xtra Statement. The Minimum Data Length should take into consideration Data Identifiers if your data uses them. MIN DATA LEN 01_
01
The minimum data length can be anywhere from 00 to 99. 00 would be used if you wanted the user to be able to simply press the ENTER key without actually entering any data for the statement. To enter a minimum data length, press the CLEAR key (or use the DELETE key) to clear the current setting and enter the new value using the TriCoder keypad.
Input Device Program Prompt 10
The INPUT DEVICE field tells the TriCoder where the data will be coming from. There are 3 valid entries for this field: K - TriCoder keypad entry only W - Wand input only. This includes any bar code scanner (Laser, wand, CCD) attached or built into the TriCoder. R - Serial device input. Use for scales or other serial interface instruments. Data must be terminated by carriage return (CR). Upload prefix /suffix and max/min data length are not supported.
Pressing ENTER allows for both keyboard and wand/scanner input.
8-15
Page 105
Yes/Next Statement Program Prompt
The YES/NEXT STMT field allows you to tell the TriCoder which statement to go to next or, in the case of a Question statement, where to go if the question is answered by the YES key.
11
YES/NEXT STMT 02_
01
Make sure the statement number you specify is a valid statement. If your program is a simple one statement program (assuming it is statement #01), you would specify statement #01 as the YES/NEXT STMT. When editing a program, you cannot delete or remove statements, but you can simply not go to them. For example, lets say statement #01 is the item number, statement #02 is the bin number and statement #03 is the quantity. Maybe you decide you don’t need to prompt for the bin number anymore and want to remove the statement. Change the YES/NEXT STMT field for statement #01 to go to statement #03. See the coding form example below to see how this would work. Stmt #
01 02 03
Prompt Text
Yes/Next Stmt
ITEM NUMBER BIN NUMBER QUANTITY
03 03 01
No/End Statement Program Prompt 12
The NO/END STMT field determines where the program goes if the END key is pressed, or in the case of a question statement, where the program goes if the NO key is pressed.
NO/END STMT 01 99_ For a question statement, this field simply tells the TriCoder where to go next when the question is answered with NO. In the instance of the END key, what can happen next can vary. Pressing the END key can have a different effect; depending on what statement you go to next: •
Go to any valid statement by specifying that statement number in the NO/END STMT field. Besides simply going to another statement, this allows you to use the END key to break out of complex data collection loops. For example, say you have a program that prompts for (1)BLDG., then (2)AISLE, then (3)ITEM, then (4)QUANTITY, with a loop that goes back to ITEM after QUANTITY. To break out of the loop at ITEM and go back to BLDG, use 01 in the NO/END STMT for ITEM. To break out of the loop at QUANTITY and go to AISLE, use 02 in 8-16
Page 106
the NO/END STMT for QUANTITY.
•
If you want to exit data collection when the END key is pressed, specify 99 in the NO/END STMT field.
•
If you want to disable the END key (have it do nothing), specify statement #00 in the NO/END STMT field.
Upload Prefix Program Prompt 13
The Upload Prefix field allows you to specify a unique 1-15 character string to be uploaded BEFORE the data for this statement, every time the statement is executed. The Upload Prefix is an extremely useful tool, as it has more uses than simply adding characters to a field of data. Here are the six functions of the Upload Prefix field: 1. Identification of a field 2. Adding key sequences for uploading into an application 3. Timing Delays 4. Appending data to another field 5. Trimming data from the front of a field 6. Padding data with spaces or zeros at the front of a field
1. Identification of a field By specifying particular characters in the Upload Prefix, you can help the host computer program identify or distinguish one field of data from another. For example, if your software identifies part numbers by seeing the letter P before each part number, specify P in the Upload Prefix. Think of it as a way to add Data Identifiers when they aren’t already part of your bar code. UPLOAD PREFIX P_
01
2. Adding key sequences for uploading into an application If you are uploading your data directly into an application, the upload prefix (and suffix) can add any keystrokes necessary for your program to accept the data. You would have to get the application to the point where you would normally type the data in, then upload the TriCoder and let it type it for you. For example, if you are uploading into a program that requires that you press the F1 key before you enter a particular field of a data, you would program an “F1” into the Upload Prefix for that statement by scanning the correct bar codes on the TriCoder FULL ASCII MENU. If you use the Upload Prefix or Upload Suffix to emulate keystrokes, the first thing you must do is carefully note (we suggest writing it down) which keys must be pressed at what point in your application to get the data in the TriCoder to go into the right spots in your program. 8-17
Page 107
The SINGLE CYCLE TRANSMIT feature can help you with this process by uploading one piece of data at a time, allowing you to check each field as it uploads.
3. Timing Delays for this field only Timing delays of .10 seconds to 9.9 seconds can be programmed into the Upload Prefix (and Suffix). This inserts a time delay before or after a field of data, allowing your application to keep up with the data coming from the TriCoder. This is especially important when uploading directly into an application using the TriCoder as a keyboard wedge. As well as giving your application time to process the data coming from the TriCoder, delays also allow you to keep pace with screen changes and avoid overloading the keyboard buffer. Delays are often required when uploading into programs such as EXCEL. Timing delays are programmed by scanning the DEL (ASCII 127) from the Full ASCII Menu, then entering two characters - use any combination between 01 (.10 seconds) and 99 (9.9 seconds). Use as small a delay as possible to avoid a slow upload. UPLOAD PREFIX ?05_
01
The previous example shows a . 5 second delay.
4. Appending data to another field A very common use of the Upload Prefix (or Suffix) is to append data to a field every time that field is uploaded. Use the characters: }xx where xx is the number of the statement you want to attach. To save space (you are allowed only 15 characters in a prefix or suffix), a single digit can be used when the statement number is a single digit - }2 is the same as }02 - as long as it is not followed by another valid digit. As an example, let’s say you wanted to attach an aisle number as a prefix to every item number you entered. Assuming the aisle number is statement #02, entering }02 in the Upload Prefix of the item number statement would attach the aisle number to every item number. Only the data in statement #02 would be attached; any Upload Prefix or Upload Suffix characters for statement #02 will not be uploaded. The field that is appended (#02 in our example) is typically not uploaded by itself - it is only uploaded in conjunction with another field. To suppress the transmission of a field entirely upon uploading, use: ~0 in the Upload Prefix or Upload Suffix (either will work) for that field.
8-18
Page 108
UPLOAD PREFIX }01
03
The example above would upload the data in statement #01 attached in front of the data for statement #03 every time it is uploaded.
5. Trimming data from a field The Upload Prefix can be used to trim 1-15 leading characters from the specified statements data. Trimming can happen in 3 ways: ~x -where x is a single hex digit corresponding to the number of characters you want to remove from the data. Valid entries are 1 F (corresponding to 1-15). Trimming characters using the ~ waits to trim the data until it is uploaded. UPLOAD PREFIX ~A
01
The example above would trim 10 characters from the front of the data for statement #01. The data is not trimmed until it is uploaded; the TriCoder displays and stores the data in its original form. If the data in statement #01 was less than 10 characters, no trimming would occur and the data would be transmitted in its entirety. {x -where x is a single hex digit corresponding to the number of characters you want to remove from the data. As above, valid entries are 1-F. Trimming characters using the { character trims the data BEFORE displaying it on the TriCoder screen and before checking data lengths and data ID’s. UPLOAD PREFIX {4
01
The example above would trim 4 characters from the front of the data in statement #01. The trimming would occur immediately, displaying the trimmed data on the TriCoder screen. If the data is less than 4 characters, no trimming would occur and the data would display in its entirety. Because the data is trimmed BEFORE it is checked for its data length and data ID’s, remember to take those fields into consideration when trimming your data. {zx -where z is the bar code ID character and x is a single hex digit corresponding to the number of characters you want to remove from the data. As above, valid entries are 1-F. This type of trimming is called “selective” trimming. It only trims characters from the specified bar code type if it is scanned. See Chapter 6; TriCoder Setup - Code 128 Parameters for the correct bar code ID characters for each bar code type.
8-19
Page 109
UPLOAD PREFIX {b3
01
The example above would trim 3 characters off of a Code 39 bar code scanned for statement #01. If you scanned a UPC bar code instead, no trimming would occur.
6. Padding data with zeros or spaces The Upload Prefix can be used to add zeros or spaces before the data up to the Maximum Data Length specified for the statement. Padding and Trimming are mutually exclusive; trimming always takes precedence. To pad data with zeros, use: ^0 To pad data with spaces, use: ^S For example, if statement #01 has a Maximum Data Length of 10 and you scan the number 12345, the following Upload Prefix for statement #1 would produce data of 0000012345. UPLOAD PREFIX ^0
01
When programming an Upload Prefix, you must press the ENTER key on the TriCoder to terminate the entry, whether you have entered data from the keypad or scanned it from the Full ASCII Menu. If you try to scan ENTER from the Full ASCII Menu, the TriCoder will think you want to add an ENTER (carriage return) to the Upload Prefix. When entering unprintable characters from the Full ASCII Menu as Upload Prefix data, each character will display on the TriCoder as ?. If you want to know what ASCII character is there, press the F2 key and the three-digit ASCII equivalent of your entry will appear. For example, if you scanned the CR from the Full ASCII Menu, it would display on the TriCoder as ?. Pressing F2 will display the CR as 013 (the ASCII for CR). See Appendix O; ASCII Code Equivalent Table for a chart of all ASCII characters. Upload Prefixes and Upload Suffixes are the only program statement fields that can be edited after data has already been collected in the TriCoder. All other statement fields are not editable until the current data file is deleted.
8-20
Page 110
Upload Suffix Program Prompt 14
The Upload Suffix is just like the Upload Prefix; only it is appended AFTER the data for the statement. All of the properties of the Upload Prefix apply to the Upload Suffix also: 1. 2. 3. 4. 5. 6.
Identification of a field Simulating keystrokes Timing Delays Appending data to another field Trimming Data (from the END of the data) Padding Data (padding at the END of the data)
For details on any of the above uses, see the previous section on Upload Prefixes. By default, Upload Suffix data is transmitted AFTER the data but BEFORE the Terminator Character. The default transmission format when using Upload Prefixes and Suffixes is as follows: (ID)(Prefix) DATA (Checksum Chs)(Suffix) (Terminator Ch)
To transmit the Upload Suffix after the Terminator, change the Terminator Character to 5 (the default is 4).
Programming the TriCoder by scanning bar codes only A program can be entered into the TriCoder entirely by scanning a sequence of bar codes. This is particularly useful for resellers who want to distribute a program that their users can scan in at any time. Using a bar code printing program such as Worth Data Label RIGHT, you can print a sheet of bar codes that when scanned in sequence, creates an entire program in the TriCoder. This method can also be used to edit existing programs. You can find out what bar codes you need to print (i.e. Code 39, Preamble etc.) by scanning the bar coded TriCoder Setup Menu. To do this, you must first set the TriCoder to Disable Full ASCII Code 39 (Code 39 Setup parameter). The only code you will not be able to read is Start Setup (see below for the bar code equivalent). There are some functions needed to create a program that you will not find corresponding bar codes for on the TriCoder Setup Menu. See Appendix H; Specification for Code 39 for help in creating Code 39 bar codes. Here is a listing of the functions (many of which are keys on the TriCoder keypad), along with their associated bar codes:
8-21