The text of a manual · part 20 of 32
MS-880 Industrial Long Range Scanner User's Manual, pages 191 to 200
Pages 191 to 200 of 312
The original document is the PDF (6.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.
For the Microscan MS-880
Page 191
Chapter
13
Output Format and Filtering
Overview of Output Format/Filtering..........................................................13-4 Extraction Mode ........................................................................................13-5 Insertion Mode...........................................................................................13-7 Advanced Output Format by ESP .............................................................13-9 Multilabel Output Format Assignment .....................................................13-10 Ordered Output/Filtering..........................................................................13-11 Master Database in ESP .........................................................................13-16
This section has instructions for assigning formatting rules that determine what portions of a bar code label will be read and specific sequence and data that will be inserted in the output. Note: The characters NULL <> and , can only be entered through embedded menus, not through ESP or serial commands.
MS-880 Industrial Long Range Scanner User’s Manual
13-1
13–Output Format
Chapter Contents
Page 192
Output Format and Filtering by ESP
Click this button to bring up the Output Format menu.
13–Output Format
Note: Allow a few seconds for the menus to display.
Output Format/Filtering by Serial Command old cmds new cmds
Extraction Mode
KS
K740,
<K740,output #,start position,length>
Insertion Mode
Ku
K741,
<K741,output #,length,hex string>
Assignment Command
KJ
K742,
<K742,label number,status>
Output Format Status
Kl
K743,
<K743,output format status>
Command Title
Ordered Output
K744,
Number of Filters
K745,
13-2
Format
<K744, filter#,code type,length,wildcard character, placeholder character,data> <K745,number of filters involved>
MS-880 Industrial Long Range Scanner User’s Manual
Page 193
Chapter 13 Output Format and Filtering
Output Format/Filtering by Embedded Menu For information on accessing the embedded menus, see “Embedded Menus” on page A-23. From the Main menu, scroll down through the options and select the following screen:
13–Output Format
MS-880 Industrial Long Range Scanner User’s Manual
13-3
Page 194
Overview of Output Format/Filtering
Overview of Output Format/Filtering Output Format consists of a set of criteria expressed in Extraction and Insertion serial or ESP menu commands that can be chained together to control the presentation of data that is transmitted from decoded bar code labels. If a label does not meet the defined criteria, it is treated as a noread. Note that Extraction and Insertion functions are independent of Ordered Output criteria. The output format control can also work with all standard read modes such as Matchcode, Multilabel etc. Commands can be chained together in an array of as many as 100 steps and applied to any label.
Output Format Status
13–Output Format
Definition: ESP:
Serial Cmd: Default: Options:
Output Format Status is a “master switch” that controls Output Format. Extraction and/or Insertion commands must be defined before an output occurs. When you setup Output Format in the ESP Output Format menu and click on Apply in the same menu, Output Format Status will be changed to Enable in the scanner and displayed as such in the Outputs configuration menu after you send a Retrieve Scanner Settings command. You can also enable/disable Output Format from the Outputs menu by double-clicking on Output Format. <K743,output format status> Disabled 0 = Disabled 1 = Enabled
Note: Output Format Status must be enabled in order for any Output Format commands to function.
13-4
MS-880 Industrial Long Range Scanner User’s Manual
Page 195
Chapter 13 Output Format and Filtering
Extraction Mode Definition: Usage:
Selects a portion of a bar code data to be transmitted and ignores the rest. Useful in scanning labels in which only a portion or portions of the bar code data needs to be transmitted and sorted.
Extraction by ESP 1. Click on Read Label. This will display in the current bar code data under Original. 2. Select text to be extracted
13–Output Format
3. Click on Extract
4. Click on Apply or proceed with additional extractions and insertions.
Note: When you click Apply, Label #1 in Label Output Format Status window will automatically be enabled.
5. Click on Test
Figure 13-1 Output Format Extraction After selecting and entering the extracted portion or portions of a label, you can proceed to Insertion mode where user-selectable ASCII text can be inserted. You can perform up to 100 instances in extraction and insertion for all labels being scanned in the read cycle. See “Advanced Output Format by ESP” on page 13-9.
MS-880 Industrial Long Range Scanner User’s Manual
13-5
Page 196
Extraction Mode
Extraction by Serial Command Output # Definition:
ESP: Serial Cmd: Default: Options:
An Output # identifies the step involved in an output format process. For example, if the routine involves a series of 6 Extraction and/or Insertion steps, each of these steps is controlled by assigning sequential output numbers from 1 to 4. Output # appears in the Advanced Formatting tab. <K740,output #,start position,length> (none) Must be entered. 1 to 100
Start Position
13–Output Format
Definition: Serial Cmd: Default: Options:
Specifies the precise character in the data sequence (from left to right) where the selection for output begins. <K740,output #,start position,length> 0 (Zero is disabled. It also marks the end of a format cell array.) 0 to maximum characters per label (zero is disabled)
Length Definition: Serial Cmd: Default: Options:
13-6
Specifies the length of the output string. <K740,output #,start position,length> 0 0 to maximum characters per label (zero is disabled)
MS-880 Industrial Long Range Scanner User’s Manual
Page 197
Chapter 13 Output Format and Filtering
Insertion Mode Definition: Usage:
Inserts up to four characters at a time into a data output string. You can add additional characters by repeating the procedure. Useful in adding designators or separators to add meaning or content to data in applications where label data needs to be sorted.
Note: Insertion by ESP is much simpler than by serial command because the text and sequences can be visually verified.
Insertion by ESP Up to 4 ASCII characters can be inserted at any point in bar code input and added to the output. After scanning in a bar code label and selecting the original characters for extraction, as shown in “Extraction by ESP” on page 13-5, do the following: 1. Click on Insert.
13–Output Format
2. Type in text to be inserted or select ASCII character from the ASCII selector and click on Add to Insertion Data.
3. Click on Apply. This will append the insertion to the end of the extracted data under Format. In this case Format will read SPN123. 4. You can now add another extraction from the original (for example 40) followed by an insertion and another extraction in any order or sequence that you want it to appear upon output. Note: When you click Apply, Label #1 in Label Output Format Status window will automatically be enabled.
Note: When you click Apply, Label #1 in Label Output Format Status window will automatically be enabled.
5. Click on Apply when all insertions and extractions are completed.
6. Click on Test to see resulting output.
Figure 13-2 Output Format Insertion
MS-880 Industrial Long Range Scanner User’s Manual
13-7
Page 198
Insertion Mode
Insertion by Serial Command Output # Definition:
Serial Cmd: Default: Options:
An Output # identifies the step involved in an output format process. For example, if the Output Format routine involved a series of four Extraction and/or Insertion steps, each of these steps is controlled by assigning sequential output numbers from 1 to 4. <K741,output #,length,hex string> (none) Must be entered. 1 to 100
Length
13–Output Format
Definition: Serial Cmd: Default: Options:
Specifies the length of the output string. <K741,output #,length,hex string> 0 (A zero disables Length or can mark the end of a format cell array.) 0 to 4
Hex String Definition:
Serial Cmd: Default: Options:
A pair of hex digits represent an ASCII character. Each pair of hex digits ranges from 00 to FF. Each hex string has a maximum of 4 pairs. For example, hex 65 = ‘e’, 6e = ‘n’, 64 = ‘d’, thus 656e64 = “end” <K741,output #,length,hex string> 00 00 to FF
Output Format Examples by Serial Commands A label with the data ABCDEFGH needs to be manipulated to output: DEFGH@$ABCend.
The following commands are sent to achieve this setup: <K740,1,4,5> for extraction mode, output# =1, start position = 4, length = 5. <K741,2,2,4024> for extraction mode, output# = 2, start position = 4, length = 5. Note that the hex pairs 40 and 24 = @$ in ASCII. <K740,3,,3> for extraction mode, output# = 3, start position = 4, length = 5. <K741,4,3,656e64> Note that 656e64 = “end”. <K741,0> This ends the sequence and could have been done with a 740 command, as well.
13-8
MS-880 Industrial Long Range Scanner User’s Manual
Page 199
Chapter 13 Output Format and Filtering
Advanced Output Format by ESP Advanced Formatting allows you to view and edit up to 100 formatting steps. Typically, extraction and insertion entries are made in the Output Format screen(figure 13-3) and viewed on the Advanced Formatting screen (figure 13-3). You can also make adjustments in the Advanced Formatting screen by double-clicking on any of the rows.
Double-click in any row to bring up the Output Format Settings dialog.
13–Output Format
Click Insertion Mode to enable the Insertion box.
Figure 13-3 Advanced Formatting Screen You can insert data into the Insertion entry box in the Output Format Settings dialog. However the data can only be entered as binary hex pairs. These must be even numbers and cannot exceed four pairs. For example, entering 3031323334 in Insertion will result in 1234 when the Test button in the Output Format tab is clicked.
MS-880 Industrial Long Range Scanner User’s Manual
13-9
Page 200
Multilabel Output Format Assignment
Multilabel Output Format Assignment Label Output Format Status corresponds directly with labels setup in Multilabel. If Number of Labels in Multilabel is set to the default 1, then only Label #1 in Label Output Format Status will be enabled. See “Multilabel” on page 4-16. Definition: Usage: Serial Cmd: Default: Options:
Specifies the label in a multilabel operation to which output format status is being applied. Allows the user to set up as many labels that are already assigned in Multilabel for output and filter formatting. <K742, label number,status> 0 1 to 12, as applicable to label number.
Output Format Status by ESP
13–Output Format
Note: Label Output Format Status table is found on the right side of the Output Format tab in the Output Format menu.
Double-click on this line to bring up the popup on the left for label #2.
Figure 13-4 Multilabel Output Format Status
Special Rules for using Multilabel with Output Format 1. Unless you want to assign output formatting to more than one label at a time in your multilabel sequence, disable all labels except the one to which you are applying the output formatting. 2. The 12 labels in Label Output Format Status correspond with multilabels; the 12 filters in Ordered Output apply only to the order of output and have no relationship to Multilabel or Label Output Format Status.
13-10
MS-880 Industrial Long Range Scanner User’s Manual