Honeywell 1202g2 Manual
Have a look at the manual Honeywell 1202g2 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 178 Honeywell manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
7 - 5 Insert bar code length B4 Insert the bar code’s length in the output message, without moving the cursor. The length is expressed as a numeric string and does not include leading zeros. B3 and B4 Example: Insert the symbology name and length Send the symbology name and length before the bar code data from the bar code above. Break up these insertions with spaces. End with a carriage return. Command string: B3F42001B4F42001F10D B3 is the “Insert symbology name” command F4 is the “Insert a character multiple times” command 20 is the hex value for a space 01 is the number of times the space character is sent B4 is the “Insert bar code length” command F4 is the “Insert a character multiple times” command 20 is the hex value for a space 01 is the number of times the space character is sent F1 is the “Send all characters” command 0D is the hex value for a CR The data is output as: Code128 20 1234567890ABCDEFGHIJ Move Commands Move the cursor forward a number of characters F5 Move the cursor ahead “nn” characters from current cursor position. Syntax = F5nn where nn is the numeric value (00-99) for the number of characters the cursor should be moved ahead. F5 Example: Move the cursor forward and send the data Move the cursor forward 3 characters, then send the rest of the bar code data from the bar code above. End with a carriage return. Command string: F503F10D F5 is the “Move the cursor forward a number of characters” command 03 is the number of characters to move the cursor F1 is the “Send all characters” command 0D is the hex value for a CR The data is output as: 4567890ABCDEFGHIJ Move the cursor backward a number of characters F6 Move the cursor back “nn” characters from current cursor position. Syntax = F6nn where nn is the numeric value (00-99) for the number of characters the cursor should be moved back.
7 - 6 Move the cursor to the beginning F7 Move the cursor to the first character in the input message. Syntax = F7. FE and F7 Example: Manipulate bar codes that begin with a 1 Search for bar codes that begin with a 1. If a bar code matches, move the cursor back to the beginning of the data and send 6 characters followed by a carriage return. Using the bar code above: Command string: FE31F7F2060D FE is the “Compare characters” command 31 is the hex value for 1 F7 is the “Move the cursor to the beginning” command F2 is the “Send a number of characters” command 06 is the number of characters to send 0D is the hex value for a CR The data is output as: 123456 Move the cursor to the end EA Move the cursor to the last character in the input message. Syntax = EA. Search Commands Search forward for a character F8 Search the input message forward for “xx” character from the current cursor position, leaving the cursor pointing to the “xx” character. Syntax = F8xx where xx stands for the search character’s hex value for its ASCII code. Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. F8 Example: Send bar code data that starts after a particular character Search for the letter “D” in bar codes and send all the data that follows, including the “D.” Using the bar code above: Command string: F844F10D F8 is the “Search forward for a character” command 44 is the hex value for “D” F1 is the “Send all characters” command 0D is the hex value for a CR The data is output as: DEFGHIJ Search backward for a character F9 Search the input message backward for “xx” character from the current cursor position, leaving the cursor pointing to the “xx” character. Syntax = F9xx where xx stands for the search character’s hex value for its ASCII code. Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes.
7 - 7 Search forward for a string B0 Search forward for “s” string from the current cursor position, leaving cursor pointing to “s” string. Syntax = B0nnnnS where nnnn is the string length (up to 9999), and S consists of the ASCII hex value of each character in the match string. For example, B0000454657374 will search forward for the first occurrence of the 4 character string “Test.” Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. B0 Example: Send bar code data that starts after a string of characters Search for the letters “FGH” in bar codes and send all the data that follows, including “FGH.” Using the bar code above: Command string: B00003464748F10D B0 is the “Search forward for a string” command 0003 is the string length (3 characters) 46 is the hex value for “F” 47 is the hex value for “G” 48 is the hex value for “H” F1 is the “Send all characters” command 0D is the hex value for a CR The data is output as: FGHIJ Search backward for a string B1 Search backward for “s” string from the current cursor position, leaving cursor pointing to “s” string. Syntax = B1nnnnS where nnnn is the string length (up to 9999), and S consists of the ASCII hex value of each character in the match string. For example, B1000454657374 will search backward for the first occurrence of the 4 character string “Test.” Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. Search forward for a non-matching character E6 Search the input message forward for the first non-“xx” character from the current cursor position, leaving the cursor pointing to the non-“xx” character. Syntax = E6xx where xx stands for the search character’s hex value for its ASCII code. Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. E6 Example: Remove zeros at the beginning of bar code data This example shows a bar code that has been zero filled. You may want to ignore the zeros and send all the data that follows. E6 searches forward for the first character that is not zero, then sends all the data after, followed by a carriage return. Using the bar code above: Command string: E630F10D E6 is the “Search forward for a non-matching character” command 30 is the hex value for 0 F1 is the “Send all characters” command 0D is the hex value for a CR The data is output as: 37692
7 - 8 Search backward for a non-matching character E7 Search the input message backward for the first non-“xx” character from the current cursor position, leaving the cursor pointing to the non-“xx” character. Syntax = E7xx where xx stands for the search character’s hex value for its ASCII code. Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. Miscellaneous Commands Suppress characters FB Suppress all occurrences of up to 15 different characters, starting at the current cursor position, as the cursor is advanced by other commands. When the FC command is encountered, the suppress function is terminated. The cursor is not moved by the FB command. Syntax = FBnnxxyy . .zz where nn is a count of the number of suppressed characters in the list, and xxyy .. zz is the list of characters to be suppressed. FB Example: Remove spaces in bar code data This example shows a bar code that has spaces in the data. You may want to remove the spaces before sending the data. Using the bar code above: Command string: FB0120F10D FB is the “Suppress characters” command 01 is the number of character types to be suppressed 20 is the hex value for a space F1 is the “Send all characters” command 0D is the hex value for a CR The data is output as: 34567890 Stop suppressing characters FC Disables suppress filter and clear all suppressed characters. Syntax = FC. Replace characters E4 Replaces up to 15 characters in the output message, without moving the cursor. Replacement continues until the E5 command is encountered. Syntax = E4nnxx 1xx2yy1yy2...zz1zz2 where nn is the total count of the number of characters in the list (characters to be replaced plus replacement characters); xx 1 defines characters to be replaced and xx2 defines replacement characters, continuing through zz 1 and zz2. E4 Example: Replace zeroes with CRs in bar code data If the bar code has characters that the host application does not want included, you can use the E4 command to replace those characters with something else. In this example, you will replace the zeroes in the bar code above with carriage returns. Command string: E402300DF10D E4 is the “Replace characters” command 02 is the total count of characters to be replaced, plus the replacement characters (0 is replaced by CR, so total char- acters = 2) 30 is the hex value for 0 0D is the hex value for a CR (the character that will replace the 0) F1 is the “Send all characters” command
7 - 9 0D is the hex value for a CR The data is output as: 1234 5678 ABC Stop replacing characters E5 Terminates character replacement. Syntax = E5. Compare characters FE Compare the character in the current cursor position to the character “xx.” If characters are equal, move the cursor forward one position. Syntax = FExx where xx stands for the comparison character’s hex value for its ASCII code. Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. Compare string B2 Compare the string in the input message to the string “s.” If the strings are equal, move the cursor forward past the end of the string. Syntax = B2nnnnS where nnnn is the string length (up to 9999), and S consists of the ASCII hex value of each character in the match string. For example, B2000454657374 will compare the string at the current cursor position with the 4 character string “Test.” Refer to the ASCII Conversion Chart (Code Page 1252), page A-2 for decimal, hex and character codes. Check for a number EC Check to make sure there is an ASCII number at the current cursor position. The format is aborted if the character is not numeric. EC Example: Only output the data if the bar code begins with a number If you want only data from bar codes that begin with a number, you can use EC to check for the number. Command string: ECF10D EC is the “Check for a number” command F1 is the “Send all characters” command 0D is the hex value for a CR If this bar code is read, the next data format, if there is one, will be used on the data. If there is no other format, the format fails and the raw data is output as AB1234. If this bar code is read: the data is output as: 1234AB Check for non-numeric character ED Check to make sure there is a non-numeric ASCII character at the current cursor position. The format is aborted if the character is numeric. ED Example: Only output the data if the bar code begins with a letter If you want only data from bar codes that begin with a letter, you can use ED to check for the letter. Command string: EDF10D ED is the “Check for a non-numeric character” command F1 is the “Send all characters” command 0D is the hex value for a CR
7 - 10 If this bar code is read, the next data format, if there is one, will be used on this data. If there is no other format, the format fails and the raw data is output as 1234AB. If this bar code is read: the data is output as: AB1234 Insert a delay EF Inserts a delay of up to 49,995 milliseconds (in multiples of 5), starting from the current cursor position. Syntax = EFnnnn where nnnn stands for the delay in 5ms increments, up to 9999. This command can only be used with keyboard wedge interfaces. Data Formatter When Data Formatter is turned Off, the bar code data is output to the host as read, including prefixes and suffixes. You may wish to require the data to conform to a data format you have created and saved. The following settings can be applied to your data format: Data Formatter On, Not Required, Keep Prefix/Suffix Scanned data is modified according to your data format, and prefixes and suffixes are transmitted. Data Formatter On, Not Required, Drop Prefix/Suffix Scanned data is modified according to your data format. If a data format is found for a particular symbol, those prefixes and suffixes are not transmitted. Data Format Required, Keep Prefix/Suffix Scanned data is modified according to your data format, and prefixes and suffixes are transmitted. Any data that does not match your data format requirements generates an error tone and the data in that bar code is not transmitted. If you wish to process this type of bar code without generating an error tone, see Data Format Non-Match Error Tone. Data Format Required, Drop Prefix/Suffix Scanned data is modified according to your data format. If a data format is found for a particular symbol, those prefixes and suffixes are not transmitted. Any data that does not match your data format requirements generates an error tone. If you wish to process this type of bar code without generating an error tone, see Data Format Non-Match Error Tone. Choose one of the following options. Default = Data Formatter On, Not Required, Keep Prefix/Suffix. Data Formatter Off * Data Formatter On, Not Required, Keep Prefix/Suffix Data Formatter On, Not Required, Drop Prefix/Suffix
7 - 11 Data Format Non-Match Error Tone When a bar code is encountered that doesn’t match your required data format, the scanner normally generates an error tone. However, you may want to continue scanning bar codes without hearing the error tone. If you scan the Data Format Non-Match Error Tone Off bar code, data that doesn’t conform to your data format is not transmitted, and no error tone will sound. If you wish to hear the error tone when a non-matching bar code is found, scan the Data Format Non-Match Error Tone On bar code. Default = Data Format Non-Match Error Tone On. Primary/Alternate Data Formats You can save up to four data formats, and switch between these formats. Your primary data format is saved under 0. Your other three formats are saved under 1, 2, and 3. To set your device to use one of these formats, scan one of the following bar codes. Data Format Required, Keep Prefix/Suffix Data Format Required, Drop Prefix/Suffix * Data Format Non-Match Error Tone On Data Format Non-Match Error Tone Off Primary Data Format Data Format 1 Data Format 2 Data Format 3
7 - 12 Single Scan Data Format Change You can also switch between data formats for a single scan. The next bar code is scanned using an alternate data format, then reverts to the format you have selected above (either Primary, 1, 2, or 3). For example, you may have set your device to the data format you saved as Data Format 3. You can switch to Data Format 1 for a single button press by scanning the following Single Scan-Data Format 1 bar code. The next bar code that is scanned uses Data Format 1, then reverts back to Data Format 3. Single Scan-Primary Data Format Single Scan-Data Format 1 Single Scan-Data Format 2 Single Scan-Data Format 3
8 - 1 8 Symbologies This programming section contains the following menu selections. Refer to Chapter 10 for settings and defaults. All Symbologies If you want to decode all the symbologies allowable for your scanner, scan the All Symbologies On code. If on the other hand, you want to decode only a particular symbology, scan All Symbologies Off followed by the On symbol for that particular sym- bology. Note: Scanner performance may be slower when using All Symbologies. Enable just the necessary symbologies to improve scanner performance. Message Length Description You are able to set the valid reading length of some of the bar code symbologies. You may wish to set the same value for mini- mum and maximum length to force the scanner to read fixed length bar code data. This helps reduce the chances of a misread. EXAMPLE:Decode only those bar codes with a count of 9-20 characters. Min. length = 09Max. length = 20 EXAMPLE:Decode only those bar codes with a count of 15 characters. Min. length = 15Max. length = 15 For a value other than the minimum and maximum message length defaults, scan the bar codes included in the explanation of the symbology, then scan the digit value of the message length and Save bar codes on the Programming Chart inside the back cover of this manual. The minimum and maximum lengths and the defaults are included with the respective symbologies. All Symbologies GS1-128 Airline Code 5 - see Straight 2 of 5 IATA (two-bar start/stop) Interleaved 2 of 5 China Post (Hong Kong 2 of 5) ISBT 128 Concatenation Codabar Matrix 2 of 5 Code 11 MSI Code 128 NEC 2 of 5 Code 32 Pharmaceutical (PARAF) Plessey Code Code 39 Postal Codes Code 93 Straight 2 of 5 IATA (two-bar start/stop) EAN/JAN-13 Straight 2 of 5 Industrial (three-bar start/stop) EAN/JAN-8 Telepen GS1 DataBar Expanded Trioptic Code GS1 DataBar Limited UPC-A GS1 DataBar Omnidirectional UPC-A/EAN-13 with Extended Coupon Code GS1 Emulation UPC-E0 All Symbologies On All Symbologies Off
8 - 2 Codabar Codabar On/Off Codabar Start / Stop Characters Start/Stop characters identify the leading and trailing ends of the bar code. You may either transmit, or not transmit Start/ Stop characters. Default = Don’t Transmit. Codabar Check Character Codabar check characters are created using different “modulos.” You can program the scanner to read only Codabar bar codes with Modulo 16, Modulo 7 CD, or CLSI check characters. Default = No Check Character. No Check Character indicates that the scanner reads and transmits bar code data with or without a check character. When Check Character is set to Validate and Transmit, the scanner will only read Codabar bar codes printed with a check character, and will transmit this character at the end of the scanned data. When Check Character is set to Validate, but Don’t Transmit, the unit will only read Codabar bar codes printed with a check character, but will not transmit the check character with the scanned data. * On Off Transmit * Don’t Transmit * No Check Character Validate Modulo 16, but Don’t Transmit