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 13 of 17

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

Pages 97 to 104 of 134: D - AIM Code Identifiers; E - Advanced Data Formatting

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 97

Appendix

D

AIM Code Identifiers Each AIM Code Identifier contains the 3-character string ]cm where: ]

=

Flag Character (ASCII 93)

c

=

Code Character (see table below)

m

=

Modifier (see table on next pages)

Code Character / Generic Identifier

Code Type

A / ]A0

Code 39

C / ]C0

Code 128

E / ]E0

UPC/EAN

I / ]I0

Interleaved 2 of 5

L / ]L0

PDF417

The modifier character is the sum of the applicable option values based on the following table. Code Type

Code 39

Option Value

Option

0 1 2

No Check character or Full ASCII processing. Reader has checked one check character. Reader has stripped check character. Reader has performed Full ASCII character conversion. A Full ASCII bar code 1234 with check character W, A+I+MI+DW, can be transmitted as ]A71234 where 7 = (1+2+4).

4 Example:

Publication 2755-6.4

Page 98

D–2

AIM Code Identifiers

Code Type

Option Value 0 1

Code 128

2 Example:

0

EAN/UPC

1 2 4 Example: 0 1

Interleaved 2 of 5

2 Example:

Option Standard data packet. No Function code 1 in first symbol position. Function code 1 in first symbol character position. Function code 1 in second symbol character position. A Code (EAN) 128 bar code 1234 with Function 1 character in the first position, Fcnt112345 will transmitted as ]C112345. Standard packet in full EAN country code format, which is 13 digits for UPC-A and UPC-E (not including supplemental data). Two digit supplement data only. Five digit supplement data only. EAN-8 data packet. A UPC-A bar code 012345678905 will be transmitted as ]E00012345678905. No check digit processing. Reader has checked check digit. Reader has stripped check digit before transmission. An I 2 of 5 bar code without check digit, 4123 will be transmitted as ]I04123.

According to AIM standards, a UPC with supplemental bar code is transmitted in one of the following formats: ]E0 (UPC chars) (terminator) ]E2 (supplemental) (terminator) or ]E2 (supplemental) (terminator) ]E0 (UPC chars) (terminator) In the 2755-HTG-4, however, this format is changed to: ]E0 (UPC chars) ]E2 (supplemental) Therefore, a UPC with two supplemental characters, 01234567890510, will be transmitted as a 21-character string ]E00012345678905]E110. Publication 2755-6.4

Page 99

Appendix

E

Advanced Data Formatting Advanced Data Formatting (ADF) provides a way to customize data before transmitting it to a host device. Scan data can be edited to meet your particular requirements. Topics in this appendix include:

• • • • • • • • •

Rules Programming a Rule Criteria Actions ADF Formatting Example Alternate Rule Sets Default Rules Rules Hierarchy (in Bar Codes) Beeper Definitions

Publication 2755-6.4

Page 100

E–2

Advanced Data Formatting

ADF can be implemented by scanning a related series of bar codes, which appear in the Programming Guide (Publication 2755-6.7). The table below references the page location of the ADF bar codes. ADF Bar Codes

Page

Special Commands Start/Save Rule

A-2

Erase/Quite Rule

A-3

Disable Rule Sets

A-4

Criteria Code Types

A-5

Code Lengths

A-7

Specific Data String / Numeric Keypad

A-10

Rule Belongs to Set

A-13

Actions Send Characters/Data

A-14

Skip Ahead/Back

A-18

Spaces and Zeros

A-22

Send Value

A-23

Beeps

A-24

Pad Spaces

A-25

Pad Zeros

A-29

Send Control Characters

A-33

Send Keyboard Characters

A-37

AlphaNumeric Keyboard

A-49

Turn on Rule Set

A-60

Publication 2755-6.4

Page 101

Advanced Data Formatting

E–3

Rules ADF data is customized using 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. The following describes an example of a data formatting rule:

• Criteria – 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, then the following is transmitted: 00001299<SPACE>. If a Code 39 bar code of 1299X15598 is scanned, this rule is ignored because the code length is not 12. The rule specifies the editing conditions and requirements before data transmission occurs.

Publication 2755-6.4

Page 102

E–4

Advanced Data Formatting

Programming a Rule When programming a rule, the rule must follow a specific format. Plan ahead before you start scanning. To program each data formatting rule:

• Start the Rule. Scan the Start New Rule bar code. • 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 the Criteria section. • 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 describe in the Actions section. • Save the Rule. Scan the Save Rule bar code. This places the rule in the top position in the rule buffer. • If you make errors during this process, the following bar codes may be use useful:

– Erase Criteria and Start Again – Erase Actions and Start Again – Erase Previously Saved Rule The table on pages E–13 and E–14 provides beeper indications to help guide you through the programming steps.

Publication 2755-6.4

Page 103

Advanced Data Formatting

E–5

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 ignored. Code Length 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 will affect 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, than scan the desired character or characters (up to 8) from the Alphanumeric Keyboard bar codes. • Specific String Any Location – Scan this bar code, then, using the the Numeric Keypad bar codes, scan a 2-digit number representing the position (using a leading zero if necessary). Then scan the desired characters (up to 8) on the Alphanumeric Keyboard, followed by the End of Message bar code. • Any Message OK – By not scanning any bar code, all selected code types will be formatted, regardless of information contained.

Publication 2755-6.4

Page 104

E–6

Advanced Data Formatting

Actions Select how to format the data for transmission.

• Send Data – Send all data that follows, send all data up to a specific character selected from the Alphanumeric Keyboard bar codes, or send the next N characters. N= any number from 1 to 254, selected from the Alphanumeric Keyboard. • Setup Fields – Define fields as follows:

– Move Cursor To Character – Scan this bar code, then any

– –

–

–

– printable ASCII character from the Alphanumeric Keyboard. 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 – Scan this bar code to move cursor to the beginning of the data. Move Cursor to Position “N” – Scan this bar code, then select the position to which you want to move (1 to 254) from the Numeric Keypad bar codes. Move Cursor Ahead “N” Positions – Scan this bar code, then select the number of positions ahead you want to move (0 to 254) from the Numeric Keypad bar codes. Move Cursor Back “N” Positions – Scan this bar code, then select the number of positions back you want to move (0 to 254) from the Numeric Keypad bar codes. Move Cursor Past Character – This parameter will move the cursor past all occurrences of a selected character. Scan this bar code, then select a character from the Alphanumeric Keyboard bar codes. If the character is not there, the cursor does not move (has no affect).

Publication 2755-6.4