Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 14 of 17

2-D Hand-Held Bar Code Scanners (Cat. No. 2755-HTG-4) User Manual, pages 105 to 112

Pages 105 to 112 of 134

The original document is the PDF (644 KB). 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 Allen-Bradley 2755-DS

Page 105

Advanced Data Formatting

E–7

• Send Keystroke – Scan the Send “___ ” bar code for the keystroke you want to send. • Send Preset Value – Send Values 1 through 6 by scanning the appropriate bar code. These values must be set using the Scan Prefix or Scan Suffix bar codes located on page 1-16. • 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. Turn Off Space Removal – Scan this bar code to disable space removal. Pad Data on Left 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. Remove Leading Zeros – Scan this bar code to remove all leading zeroes. Turn Off Zero Removal – Scan this bar code to disable the removal of zeros. Pad Data on Left With Zeros – To pad data to the left, scan the bar code containing the desired number of zeros. This parameter is activated by Send commands.

Publication 2755-6.4

Page 106

E–8

Advanced Data Formatting

ADF Formatting Example This section shows how ADF rules are entered and used for scan data. An auto parts distributor wants to encode manufacturer ID, part number, and destination code into their own Code 128 bar codes. The distribution center also has products that carry UPC bar codes, placed there by the manufacturer. The Code 128 bar codes have the following format: MMMMMPPPPPDD where:

M= Manufacturer ID P = Part Number D = Destination Code

The distribution center uses a personal computer with dedicated control characters for manufacturer ID [CTRL M], part number [CTRL P], and destination code [CTRL D]. At the center, the UPC data is treated as manufacturer ID code. The following rules need to be entered:

• When scanning data of code type Code 128, send the next 5 characters, send the manufacturer ID key [CTRL M], send the next 5 characters, send the part number key [CTRL P], send the next 2 characters, send the destination code key [CTRL D]. • When scanning data of code type UPC/EAN, send all data, send the manufacturer ID key [CTRL M].

Publication 2755-6.4

Page 107

Advanced Data Formatting

E–9

Rule 1 – The Code 128 Scanning Rule Step

Bar Code

On Page

Beeper Indication

1

Scanner Port

2

Code 128

G-5

High High High High

3

Send next 5 characters

G-15

High High

4

Send [CTRL M]

G-34

High High

5

Send next 5 characters

G-15

High High

6

Send [CTRL P]

G-35

High High

7

Send next 2 characters

G-15

High High

8

Send [CTRL D]

G-33

High High

9

Save Rule

G-2

High Low High Low

On Page

Beeper Indication

Rule 2 – The UPC Scanning Rule Step

Bar Code

1

Scanner Port

2

UPC/EAN

G-5

High High High High

3

Send all remaining data

G-15

High High

4

Send [CTRL M]

G-34

High High

5

Save Rule

G-2

High Low High Low

If you made any mistakes while entering the rule, scan Quit Entering Rules bar code.

Publication 2755-6.4

Page 108

E–10

Advanced Data Formatting

Alternate Rule Sets ADF rules may be grouped into one of four alternate sets which can be turned on and off as 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: Class = 24 Stock Number = 56712437 Price = 01500 Ordinarily you would send the 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 will key the price manually. To implement this, you would first enter and ADF rule that applies to 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

Publication 2755-6.4

Page 109

Advanced Data Formatting

E–11

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” you must program a switch rule. This rule specifies what type of bar code must be scanned to switch between the two rule sets. For example, in the case of the “sale” rule above, you want the cashier to scan the bar code “M” before a sale. To do this rule, you can enter a rule as follows: When scanning a bar code of length 1 that begins with “M”, select rule set number 1. You can program another rule to switch back. When scanning a bar code length of 1 that begins with “N”, turn off rule set number 1. The switching back to normal rules can also be done on the “sale” rule. For example: When scanning a bar code length of 15:

– – – – – send the next 2 characters send the class key send the next 8 characters send the stock key turn off rule set 1

We recommend that you scan the Disable All Rules Sets bar code after programming a rule belonging to an alternate rule set. Besides enabling and disabling rule sets within rules, you can enable or disable them by scanning the appropriate bar codes. Publication 2755-6.4

Page 110

E–12

Advanced Data Formatting

Rules Hierarchy (in Bar Codes) In addition to the correct programming of rules, you must be aware of the order of programming individual rules. Program the most general rule last. 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 the actions should occur). Input is modified into the data format specified by the first matching set of criteria it finds. Important: The order of rules in the buffer is very important. Be sure that your most general rule is the last 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 128 bar code of length 12, send the first four characters, then send the ENTER key, then send remaining data. If a code 128 bar code of length 12 were scanned, the Third rule would be in affect. The Second rule would appear not to 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 LS 4800 scanner, this applies to prefix/suffix programming when selecting the Data Transmission Format. Publication 2755-6.4

Page 111

Advanced Data Formatting

E–13

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 will check 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.

Beeper Definitions – Normal Data Entry During normal data entry, the duration of tones is short. Beeper Sequence

Indication

High–Low

Entry of a number is expected. Enter another digit. Add leading zeros 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).

Publication 2755-6.4

Page 112

E–14

Advanced Data Formatting

Beeper Definitions – Error Indications When errors occur, the duration of tones very long. Beeper Sequence

Indication

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–Low

Cancel rule entry. Rule entry mode exited because of an error or you 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.

Publication 2755-6.4