The text of a manual · part 12 of 16
IDAutomation SC7 USB 2D Scanner Programming Manual: String Format, pages 94 to 102
Pages 94 to 102 of 137, from IDAutomation SC7 USB 2D Scanner Programming Manual
The original document is the PDF (2.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the ID Automation SC7
Page 94
String Format
Prefix/Suffix When a barcode is scanned, additional information is sent to the host computer along with the barcode data. This group of barcode data and additional, user-defined data is called a “message string.” The selections in this section are used to build the user-defined data into the message string. Prefix and Suffix characters are data characters that can be sent before and after scanned data. You can specify if they should be sent with all symbologies, or only with specific symbologies. The following illustration shows the breakdown of a message string: Prefix / Suffix characters setting: Characters defined as prefix or suffix characters will be transmitted immediately with the scanned data for all symbologies. Up to 11 ASCII characters can be defined for both Prefix and Suffix. Tips • A prefix or suffix may be added or cleared from one symbology or all symbologies. • You can add any prefix or suffix f, plus Code I.D. and AIM I.D. • You can string together several entries for several symbologies at one time. • Enter prefixes and suffixes in the order in which you want them to appear on the output. • When Setting up for specific symbologies, instead of All Symbologies, the symbology ID value counts as an added prefix or suffix character. Prefix Scanned Data Suffix
90
Page 95
To Add a Prefix or Suffix: Step 1. Scan the Add Prefix or Add Suffix symbol. Step 2. Determine the 2 digit Hex value from the Symbology Chart or the symbology to which you want to apply the prefix or suffix. For example, for Code 128, Code ID is “j” and Hex ID is “6A”. Step 3. Scan the 2 hex digits or scan 9, 9 for all symbologies. Step 4. Determine the hex value from the for the prefix or suffix you wish to enter. Step 5. Scan the 2 digit hex value. Step 6. Repeat Steps 4 and 5 for every prefix or suffix character. Step 7. To add the Code I.D., scan 5, C, 8, 0. To add AIM I.D., scan 5, C, 8, 1. To add a backslash (\), scan 5, C, 5, C. Note: To add a backslash (\) as in Step 7, you must scan 5C twice – once to create the leading backslash and then to create the backslash itself. Step 8. Scan Save to exit and save, or scan Discard to exit without saving. Repeat Steps 1-6 to add a prefix or suffix for another symbology. Example: Add a Suffix to a specific symbology To send a CR (carriage return)Suffix for UPC only: Step 1. Scan Add Suffix. Step 2. Determine the 2 digit hex value for UPC. Step 3. Scan 6, 3 . Step 4. Scan 0, D (carriage return). Step 5. Scan Save, or scan Discard to exit without saving.
91
Page 96
To Clear One or All Prefixes or Suffixes: You can clear a single prefix or suffix, or clear all prefixes/suffixes for a symbology. When you Clear One Prefix (Suffix), the specific character you select is deleted from the symbology you want. When you Clear All Prefixes (Suffixes), all the prefixes or suffixes for a symbology are deleted. Step 1. Scan the Clear One Prefix or Clear One Suffix symbol. Step 2. Determine the 2 digit Hex value for the symbology from which you want to clear the prefix or suffix. Step 3. Scan the 2 digit hex value or scan 9, 9 for all symbologies. Your change is automatically saved.
To Add a Carriage Return Suffix to all Symbologies: Scan the following barcode if you wish to add a carriage return suffix to all symbologies at once. This action first clears all current suffixes, then programs a carriage return suffix for all symbologies.
92
Page 97
Function Code Transmit When this selection is enabled and function codes are contained within the scanned data, the scanner transmits the function code to the terminal. Function Code Transmit
Intercharacter, Interfunction, and Intermessage Delays Some terminals drop information (characters) if data comes through too quickly. Intercharacter, interfunction, and intermessage delays slow the transmission of data, increasing data integrity. Each delay is composed of a 5 millisecond step. You can program up to 99 steps (of 5 ms each) for a range of 0-495 ms.
Intercharacter Delay An intercharacter delay of up to 495 milliseconds may be placed between the transmission of each character of scanned data. Scan the Intercharacter Delay barcode below, then scan the number of milliseconds and the SAVE barcode. 93
Page 98
Intercharacter Delay
To remove this delay, scan the Intercharacter Delay barcode, then set the number of steps to 0. Scan the SAVE barcode. Note: Intercharacter delays are not supported in USB serial emulation.
User Specified Intercharacter Delay An intercharacter delay of up to 495 milliseconds may be placed after the transmission of a particular character of scanned data. Scan the Delay Length barcode below, then scan the number of milliseconds and the SAVE barcode. Next, scan the Character to Trigger Delay barcode, then the 2-digit hex value for the ASCII character that will trigger the delay. User Specified Intercharacter Delay
To remove this delay, scan the Delay Length barcode, and set the number of steps to 0. Scan the SAVE barcode. 94
Page 99
Interfunction Delay An interfunction delay of up to 495 milliseconds may be placed between the transmission of each segment of the message string. Scan the Interfunction Delay barcode below, then scan the number of milliseconds and the SAVE.
Interfunction Delay
To remove this delay, scan the Interfunction Delay barcode, then set the number of steps to 0. Scan the SAVE barcode.
Intermessage Delay An intermessage delay of up to 495 milliseconds may be placed between each scan transmission. Scan the Intermessage Delay barcode below, then scan the number of milliseconds and the SAVE barcode.
Intermessage Delay
To remove this delay, scan the Intermessage Delay barcode, then 95
Page 100
set the number of steps to 0. Scan the SAVE barcode.
Data Formatting Data Format Editor Introduction You may use the Data Format Editor to change the scanner's output. For example, you can use the Data Format Editor to insert characters at certain points in barcode data as it is scanned. The selections in the following pages are used only if you wish to alter the output. Default Data Format setting = None. Normally, when you scan a barcode, it gets outputted automatically; however when you do a format, you must use a “send” command within the format program to output data. Multiple formats may be programmed into the scanner. They are stacked in the order in which they are entered. However, the following list presents the order in which formats are applied: 1. Specific Term ID, Actual Code ID, Actual Length 2. Specific Term ID, Actual Code ID, Universal Length 3. Specific Term ID, Universal Code ID, Actual Length 4. Specific Term ID, Universal Code ID, Universal Length 5. Universal Term ID, Actual Code ID, Actual Length 6. Universal Term ID, Actual Code ID, Universal Length 7. Universal Term ID, Universal Code ID, Actual Length 8. Universal Term ID, Universal Code ID, Universal Length If you have changed data format settings, and wish to clear all formats and return to the factory defaults, scan the Default Data Format
96
Page 101
To Add a Data Format Step 1. Scan the Enter Data Format symbol Step 2. Primary/Alternate Format Determine if this will be your primary data format, or one of 3 alternate formats. (Alternate formats allow you “single shot” capability to scan one barcode using a different data format. After the one barcode has been read, the scanner reverts to the primary data format. If you are programming the primary format, scan 0 using the inside the back cover of this manual. If you are programming an alternate format, scan 1, 2, or 3, depending on the alternate format you are programming. Step 3. Interface Type Select the Interface ID number for your PC. Scan three numeric barcodes on the inside back cover to program the scanner for your Interface ID (you must enter 3 digits). For example, scan 0 0 0 for RS-232. Note: The wildcard for all terminal types is 099. Step 4. Code I.D. Find the symbology to which you want to apply the data format. Locate the Hex value for that symbology and scan the 2 digit hex value. Step 5. Length Specify what length (up to 9999 characters) of data will be acceptable for this symbology. Scan the four digit data length from the the back cover of this manual. (Note: 50 characters is entered as 0050. 9999 is a universal number, indicating all lengths.) Step 6. Editor Commands Refer to Data Format Editor Commands . Scan the symbols that represent the command you want to enter 94 alphanumeric characters may be entered for each symbology data format. Step 7. Scan Save to save your entries.
97
Page 102
• Clear One Data Format This deletes one data format for one symbology. If you are clearing the primary format, scan 0 . If you are clearing an alternate format, scan 1, 2, or 3, depending on the alternate format you are clearing. Scan the Interface Type and Code I.D. , and the barcode data length for the specific data format that you want to delete. All other formats remain unaffected. • Save: This exits, saving any Data Format changes. • Discard : This exits without saving any Data Format changes.
98