The text of a manual · part 16 of 25
LS 6800 Product Reference Guide, pages 151 to 160
Pages 151 to 160 of 249
The original document is the PDF (1.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.
Filed in the catalog under the Symbol LS-6804
Page 151
Programming the LS 6800
Transmit Macro PDF User-Selected Fields (Cont’d)
<FN3>10M0051
ENABLE FILE SIZE TRANSMIT
<FN3>10M0050
DISABLE ADDRESSEE TRANSMIT
<FN3>10M0061
ENABLE ADDRESSEE TRANSMIT
DISABLE FILE SIZE TRANSMIT <FN3>10M0060
5-111
Page 152
LS 6800 Product Reference Guide
Transmit Macro PDF User-Selected Fields (Cont’d)
<FN3>10M0071
ENABLE MACRO PDF CONTROL HEADER TRANSMIT
DISABLE MACRO PDF CONTROL HEADER TRANSMIT <FN3>10M0100
5-112
<FN3>10M0070
DISABLE CHECKSUM TRANSMIT
<FN3>10M0101
ENABLE CHECKSUM TRANSMIT
Page 153
Programming the LS 6800
Transmit Macro PDF User-Selected Fields (Cont’d)
<FN3>10M0121 ENABLE LAST BLOCK MARKER
DISABLE LAST BLOCK MARKER <FN3>10M0120
5-113
Page 154
LS 6800 Product Reference Guide
Abort Macro PDF Entry This clears all currently-stored Macro PDF data in the buffer without transmission and aborts from Macro PDF mode.
Flush Macro PDF Entry This flushes the buffer of all decoded Macro PDF data stored to that point, transmits it to the host, and aborts from Macro PDF mode.
<FN3>FLUSH FLUSH MACRO PDF BUFFER
ABORT MACRO PDF ENTRY <FN3>ABORT
5-114
Page 155
Chapter 6 Advanced Data Formatting Introduction Advanced Data Formatting (ADF) is a means of customizing data before transmission to your host device. Scan data can be edited to suit your particular requirements. ADF can be implemented through scanning a related series of bar codes, which appear in Chapter 7, ADF Bar Codes.
Rules: Criteria Linked to Actions In ADF, data is customized through rules. These rules perform detailed actions when the data meets certain criteria. One rule may consist of single or multiple criteria applied to single or multiple actions. For instance, a data formatting rule could be the following: Criteria:
When scan data is Code 39, length 12, and data at the start position is the string “129”,
Actions:
pad all sends with zeros to length 8, send all data up to X, send a space.
If a Code 39 bar code of 1299X1559828 is scanned, the following is transmitted: 00001299<space>. If a Code 39 bar code of 1299X15598 is scanned, this rule is ignored. The rule specifies the editing conditions and requirements before data transmission occurs.
6-1
Page 156
LS 6800 Product Reference Guide
Using ADF Bar Codes When you program a rule, make sure the rule is logically correct. Plan ahead before you start scanning. To program each data formatting rule: Start the Rule. Scan the BEGIN NEW RULE bar code on page 7-1. t Criteria. Scan the bar codes for all pertinent criteria. Criteria can include code type (e.g., Code 128), code length, or data that contains a specific character string (e.g., the digits “129”). These options are described in Criteria on page 6-4. t Actions. Scan all actions related to, or affecting, these criteria. The actions of a rule specify how to format the data for transmission. These options are described in Actions on page 6-5. t Save the Rule. Scan the SAVE RULE bar code on page 7-2. This places the rule in the “top” position in the rule buffer. t If you make errors during this process, some special-purpose bar codes may be useful: Erase Criteria and Start Again, Erase Actions and Start Again, Erase Previously Saved Rule, etc. Criteria, actions, and entire rules may be erased by scanning the appropriate bar code (see Erase on page 7-2). t
Beeper Definitions on page 6-13 help guide you through the programming steps.
6-2
Page 157
Advanced Data Formatting
Special Commands Begin New Rule Scan this bar code first when programming a data formatting rule.
Save Rule Scan this bar code to complete a data formatting rule.
Erase Use these bar codes to erase criteria, actions, and rules.
Quit Entering Rules Scan this bar code to quit entering rules.
Disable Rule Set These bar codes allow you to disable particular rule sets.
6-3
Page 158
LS 6800 Product Reference Guide
Criteria Code Types Select any number of code types to be affected. All selected codes must be scanned in succession, prior to selecting other criteria. If you don't select a code type, all code types will be affected.
Code Lengths Define the number of characters the selected code type must contain. If you don't select a code length, selected code types of any length will be affected.
Message Containing A Specific Data String Select whether the formatting affects data that begins with a specific character or data string, or contains a specific character or data string.
Specific String at Start Scan this bar code, then scan the bar codes representing the desired character or characters (up to a total of 8) in the Alphanumeric Keyboard beginning on page 7-50.
Specific String, Any Location Scan this bar code, then, using the Numeric Keypad on page 7-12, scan a two-digit number representing the position (use a leading “zero” if necessary). Then scan the desired character or characters (up to a total of 8) on the Alphanumeric Keyboard beginning on page 7-50, followed by the END OF MESSAGE bar code on page 7-56.
Any Message OK By not scanning any bar code, all selected code types are formatted, regardless of information contained.
Rule Belongs To Set Select the set a rule belongs to.
6-4
Page 159
Advanced Data Formatting
Actions Select how to format the data for transmission.
Send Data Send all data that remains, send all data up to a specific character selected from the Alphanumeric Keyboard on page 7-50, or send the next N characters. N = any number from 1 to 254, selected from the Alphanumeric Keyboard on page 7-50.
Setup Field(s) Define fields as follows:
Move Cursor To a Character Scan the MOVE CURSOR TO CHARACTER bar code on page 7-17, then any printable ASCII character from the Alphanumeric Keyboard on page 7-50. When this is used, the cursor moves to the position after the matching character. If the character is not there, the rule fails and ADF tries the next rule.
Move Cursor to Start of Data Scan this bar code to move cursor to the beginning of the data.
Move Cursor Past a Character This parameter moves the cursor past all sequential occurrences of a selected character. Scan the MOVE CURSOR PAST CHARACTER bar code on page 7-17, then select a character from the Alphanumeric Keyboard on page 7-50. If the character is not there, the cursor does not move (i.e., has no effect).
Skip Ahead “N” Characters Scan one of these bar codes to select the number of positions ahead you wish to move the cursor.
Skip Back “N” Characters Scan one of these bar codes to select the number of positions back you wish to move the cursor.
6-5
Page 160
LS 6800 Product Reference Guide
Send Preset Value Send Values 1 through 6 by scanning the appropriate bar code. These values must be set using Prefix / Suffix Values on page A-5. Value 1 = Scan Suffix Value 2 = Scan Prefix
Modify Data Modify data in the ways listed. The following actions work for all send commands that follow it within a rule. If you program pad zeros to length 6, send next 3 characters, stop padding, send next 5 characters, three zeros are added to the first send, and the next send is unaffected by the padding. These options do not apply to the Send Keystroke or Send Preset Value options.
Remove All Spaces To remove all spaces in the send commands that follow, scan this bar code.
Crunch All Spaces To leave one space between words, scan this bar code. This also removes all leading and trailing spaces.
Stop Space Removal Scan this bar code to disable space removal.
Remove Leading Zeros Scan this bar code to remove all leading zeros.
Stop Zero Removal Scan this bar code to disable the removal of zeros.
Pad Data With Spaces To pad data to the left, scan the bar code containing the desired number of spaces. This parameter is activated by Send commands.
6-6