The text of a manual · part 18 of 29
Cyclone M2000 Series Product Reference Guide, pages 171 to 180
Pages 171 to 180 of 287
The original document is the PDF (2.4 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 Symbol M2004, Symbol M2005 and Symbol M2007
Page 171
Advanced Data Formatting (ADF)
Alternate Rule Sets ADF rules may be grouped into one of five alternate sets that can be turned on and off when needed. This is useful when you want to format the same message in different ways. For example, a Code 128 bar code contains the following information: Class (2 digits), Stock Number (8) digits, Price (5 digits) This bar code might look like this: 245671243701500 where: Class = 24 Stock Number = 56712437 Price = 01500 Ordinarily you would send this data as follows: 24 (class key) 56712437 (stock key) 01500 (enter key) But, when there is a sale, you may want to send only the following: 24 (class key) 56712437 (stock key) and the cashier keys the price manually. To implement this, first enter an ADF rule that applies in the normal situation. This rule may look like this: When scanning a bar code of length 15, send the next 2 characters, send the class key, send the next 8 characters, send the stock key, send the data that remains, send the Enter key. The “sale” rule may look like this: When scanning a bar code of length 15, send the next 2 characters, send the class key, send the next 8 characters, send the stock key. To switch between the two sets of rules, a “switching rule” must be programmed. This rule specifies what type of bar code must be scanned to switch between the rule sets. For example,
4-5
Page 172
CycloneTM M2000 Series Product Reference Guide in the case of the “sale” rule above, the rule programmer wants the cashier to scan the bar code “M” before a sale. To do this, a rule can be entered as follows: When scanning a bar code of length 1 that begins with “M”, select rule set number 1. Another rule could be programmed to switch back. When scanning a bar code of length 1 that begins with “N”, turn off rule set number 1. The switching back to normal rules can also be done in the “sale” rule. For example, the rule may look like this: When scanning a bar code of length 15, send the next 2 characters, send the class key, send the next 8 characters, send the stock key, turn off rule set 1. It is recommended that you scan the Disable All Rule Sets bar code after programming a rule belonging to an alternate rule set. In addition to enabling and disabling rule sets within the rules, you can disable them by scanning the appropriate bar codes in Disable Rule Set on page 4-13.
Rules Hierarchy (in Bar Codes) The order of programming individual rules is important. The most general rule should be programmed first. All programmed rules are stored in a buffer. As they are programmed, they are stored at the “top” of a rules list. If three rules have been created, the list would be configured as follows: Third Rule Second Rule First Rule When data is scanned, the rules list is checked from top to bottom to determine if the criteria matches (and therefore, if the actions should occur). Input is modified into the data format specified by the first matching set of criteria it finds. Be sure that your most general rule is the first one programmed. For example, if the THIRD rule states: When scanning a bar code of any length, send all data, then send the ENTER key. And the SECOND rule states: When scanning a Code 128 bar code of length 12, send the first four characters, then send the ENTER key, then send all remaining data.
4-6
Page 173
Advanced Data Formatting (ADF)
If a Code 128 bar code of length 12 were scanned, the THIRD rule would be in effect. The SECOND rule would appear to not function. Note also that ADF rules are actually created when you use the standard data editing functions. Scan options are entered as ADF rules, and the hierarchy mentioned above also applies to them. For the M2000, this applies to prefix/suffix programming in the parameter Scan Data Transmission Format. These rules reside in the same “rule list” as ADF Rules, so the order of their creation is also important.
Default Rules Every unit has a default rule to send all scan data. Units with custom software may have one or more default rules burned in. The rules hierarchy checks user programmable rules first, then the default rules. Default rules can be disabled by entering the following general rule in the user programmable buffer: When receiving scan data, send all data. Since this rule always applies, ADF will never go into the default rules.
4-7
Page 174
CycloneTM M2000 Series Product Reference Guide
Beeper Definitions for ADF The following table defines beep sequences that occur during rule entry. Table 4-3. Beeper Definitions Beeper Sequence
Indication
Normal Data Entry. Duration of tones are short. High-Low
Entry of a number is expected. Enter another digit. Add leading zeros to the front if necessary.
Low-Low
Entry of an alphabetic character is expected. Enter another character or scan the End of Message bar code.
High-High
Entry of Criterion/Action is expected. Enter another criterion or action, or scan the Save Rule bar code.
High-Low-High-Low
Rule saved. Rule entry mode exited.
High-Low-Low
All criteria or actions were cleared for rule currently being entered; continue entry of rule.
Low
Last saved rule was successfully deleted. The rule presently being entered is left intact.
Low-High-High
All rules are now deleted. The rule presently being entered is left intact. (This beep sequence has a different meaning outside of ADF.)
Error Indications. Duration of tones are very long. Low-High-Low-High
Out of rule memory. Erase some existing rules, then try to save rule again. (The current rule need not be re-entered.)
Low-High-Low
Cancel rule entry. Rule entry mode exited because of an error or the user asked to exit rule entry.
Low-High
Entry error, wrong bar code scanned. Re-enter criterion or action. All previously entered criteria and actions are retained. Criteria or action list is too long for a rule.
4-8
Page 175
Advanced Data Formatting (ADF)
ADF Bar Codes The following table helps you locate the bar codes you need to create an ADF rule. Table 4-4. ADF Bar Codes Bar Code
Description
Page
Special Commands Begin New Rule
Starts data formatting rule.
4-11
Save Rule
Completes and saves rule.
4-11
Erase
Erases criteria, actions, or rules.
4-12
Quit Entering Rules
Quits entering rules.
4-12
Disable Rule Set
Disables rule sets.
4-13
Code Types
Selects code types to be affected by rule.
4-14
Code Lengths
Defines the number of characters each code type must contain.
4-17
Message Containing A Specific Data String
Select whether formatting affects data that begins with or contains a specific character or data string.
4-22
Numeric Keypad
Used for specifying a data string.
4-23
Rule Belongs To Set
Selects which set a rule belongs to.
4-24
Send Data
Sends all data that remains, sends all data up to a specific character, or sends N characters.
4-25
Send Pause
Inserts a pause.
4-29
Setup Field(s)
Moves the cursor in relation to a specified character.
4-29
Send Preset Value
Sends prefix and suffix values.
4-36
Criteria
Actions
4-9
Page 176
CycloneTM M2000 Series Product Reference Guide
Table 4-4. ADF Bar Codes Bar Code Modify Data ! Remove All Spaces ! Crunch All Spaces ! Stop Space Removal ! Remove Leading Zeros ! Stop Zero Removal ! Pad Data With Spaces ! Pad Data With Zeros Beeps Send Keystroke ! Control Characters ! Keyboard Characters ! Send ALT Characters ! Send Command Characters ! Send Special Characters ! Send Keypad Characters ! Send Function Keys
Description
Page
Modifies data as follows: Removes all spaces in the send commands. ! Leaves one space between words. ! Stops space removal. ! Removes all leading zeros. ! Stops removal of zeros. ! Pads data to the left with spaces. ! Pads data to the left with zeros.
4-36 4-36 4-36 4-37 4-37 4-37 4-38 4-43
Selects beep sequence for each rule.
4-48
Specifies control and keyboard characters to send. Sends control characters. ! Sends keyboard characters. ! Sends ALT characters. ! Sends command characters.
4-49 4-49 4-54 4-66 4-70
!
!
Sends special characters. Sends keypad characters. Sends function keys.
4-72 4-73 4-77
Turn On/Off Rule Sets
Turns rule sets on and off.
4-83
Alphanumeric Keyboard
Used to specify characters and strings when creating a rule.
4-84
4-10
! ! !
Page 177
Advanced Data Formatting (ADF)
Special Commands Bar codes and explanations of the following special commands are provided on the next few pages. !
Begin New Rule
!
Save Rule
!
Erase
!
Quit Entering Rules
!
Disable Rule Set
Begin New Rule Scan this bar code to start entering a new data formatting rule.
<FN3>7B1211 Begin New Rule
Save Rule Scan this bar code to complete and save the rule you entered.
<FN3>4 Save Rule
4-11
Page 178
CycloneTM M2000 Series Product Reference Guide
Erase Use these bar codes to erase criteria, actions, or rules.
<FN3>6C-
<FN3>6A-
Erase Criteria And Start Again
Erase Actions And Start Again
<FN3>81
<FN3>80
Erase Previously Saved Rule
Erase All Rules
Quit Entering Rules Scan this bar code to quit entering rules.
<FN3>6Q Quit Entering Rules
4-12
Page 179
Advanced Data Formatting (ADF)
Disable Rule Set Use these bar codes to disable rule sets.
<FN3>01
<FN3>02
Disable Rule Set 1
Disable Rule Set 2
<FN3>03
<FN3>04
Disable Rule Set 3
Disable Rule Set 4
<FN3>00 Disable All Rule Sets
4-13
Page 180
CycloneTM M2000 Series 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 are affected.
4-14
<FN3>6C13D01
<FN3>6C13D02
Code 39
Codabar
<FN3>6C13D03
<FN3>6C13D07
Code 128
Code 93
<FN3>6C13D06
<FN3>6C13D04
I 2 Of 5
D 2 Of 5