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

Bulletin 2755 Hand-Held Scanner with Wedge Option (Catalog No. 2755-G3-W, 2755-G6-W) User Manual: 6 - Message Format Parameters

Pages 44 to 53 of 88, from Bulletin 2755 Hand-Held Scanner with Wedge Option (Catalog No. 2755-G3-W, 2755-G6-W) User Manual

The original document is the PDF (616 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.

For the Allen-Bradley 2755-G3

Page 44

Chapter

6

A–B

Message Format Parameters Chapter Objectives

This chapter defines parameters that control the format of transmitted bar code messages including:

• Prefix and Suffix • Scanner Identifier • Code Identifier • Preamble and Postamble In addition to these parameters, you can program an intercharacter delay to prevent data overruns with your host computer/terminal or wedge.

Message Format Prefix

Scanner Identifier

A message transmitted from the scanner upon a successful decode has the following format: Preamble

Code Identifier

Data

Postamble

Suffix

Some of these message parameters may not be required or may vary from one host system to another. You select parameters based on the requirements of your application and the host system. To select message parameters, you scan the appropriate bar code labels in each section. Note: Throughout this chapter default settings for parameters are flagged by an asterisk (*).

6–1

Page 45

Chapter 6 Message Format Parameters

Prefix

A prefix is a subset of the preamble normally formatted to some industry standard. It is represented by a specific ASCII code. An example of a prefix is the STX (Start of Transmission) code. Scan the appropriate prefix label.

6–2

IA

Prefix=None *

IB

Prefix=STX

IC

Prefix=SOH

Pref

Page 46

Chapter 6 Message Format Parameters

Suffix

A suffix is a subset of the postamble. Like the prefix, it is normally assigned to a specific ASCII code. Examples of suffixes are CR (Carriage Return) and LF (Line Feed). Scan the suffix appropriate for your application.

MA

Suffix=None *

MB

Suffix=ETX

MC

Suffix=CR

MD

Suffix=LF

ME

Suffix=HT

MF

Suffix=CR and LF

6–3

Page 47

Chapter 6 Message Format Parameters

Scanner Identifier

Scanner ID characters are used to identify individual scanners when more than one scanner is interfaced with the host system. Options available are none (Disabled) or digits 01 through 99. Scanning label JA disables the scanner identifier.

JA

Disable Scanner Identifier *

To enter a scanner ID, scan label JB and then two separate digits from Appendix B. The ID characters cannot exceed 99.

JB

+ Enable Scanner Identifier plus two characters

For example, to enter a scanner ID of 01, scan the JB label, then scan codes 0 and 1 in Appendix B.

6–4

Page 48

Chapter 6 Message Format Parameters

Code Identifier

A single-character code identifier may optionally be transmitted with a message. This option allows the host computer to identify the type of bar code scanned, as well as the encoded information. Scan option FA to disable the code identifier.

FA

Disable Code Identifier *

Scan option FB to enable the code identifier.

FB

Enable Code Identifier

Table 6.A shows the code identifier character assignments. Table 6.A Code Identifier Characters Symbology Code 39 Interleaved 2 of 5 Standard 2 of 5 UPC/EAN/JAN Code 128 Codabar

Code Identifier a b c d f h

6–5

Page 49

Chapter 6 Message Format Parameters

Preamble or Postamble

Preambles and postambles consist of up to four ASCII characters. Each ASCII character is encoded as two hexadecimal characters. Use Table 6.B, Hexadecimal Conversion Table, to look up the hexadecimal equivalent. To use the conversion table: 1. Find each ASCII character in the table and locate the corresponding bold hexadecimal equivalent character in the top row and the left column of the table. For example, the ASCII character ”Q” is represented by the hexadecimal numbers 5 (top) and 1 (left). 2. Scan the bar code symbols that correspond to the hexadecimal equivalent characters. First scan the bar code symbol that corresponds to the bold hex character at the top. Then scan the bar code symbol that corresponds to the bold hex character at the left. For example, for the ASCII character ”Q”, first scan the bar code symbol labeled 5, then scan the bar code symbol labeled 1. If your preamble or postamble contains an ”N”, first scan 4 and then E. 3. Repeat this procedure for each ASCII character you want to enter. Note: If you select a preamble or postamble you must scan four ASCII characters, even if the preamble or postamble is less than four characters in length. Do this by scanning null (NUL) characters for the additional characters. For example, if your preamble is ”AB” (in ASCII code), enter A, B, and two null characters by scanning the hexadecimal characters 4,1 4,2 0,0 0,0. Because each ASCII character is represented by two hexadecimal characters, you need eight scans.

6–6

Page 50

Chapter 6 Message Format Parameters

Preamble

A preamble is a string of characters that prefixes a message that is transmitted to the host. The preamble may be used to identify the scanner that sent the message. The maximum preamble length is four ASCII characters.

KA

Preamble=None *

To enter a preamble, scan the KB label, then refer to Table 6.B to enter the four ASCII characters. The procedure on the previous page explains how to enter preamble characters.

+

KB

Preamble = 4 ASCII (8 Hex) characters

Postamble

A postamble is similar to a preamble, except it is appended to the message which is transmitted to the host. Its maximum length is four ASCII characters.

LA

Postamble=None *

To enter a postamble, scan the LB label, then refer to Table 6.B to enter the four ASCII characters. The procedure on the previous page explains how to enter preamble characters.

LB

+ Postamble = 4 ASCII (8 Hex) Characters

6–7

Page 51

Chapter 6 Message Format Parameters

0

1

2

3

4

5

6

7

6–8

Table 6.B Hexadecimal Conversion Table

0 1 2 3 4 5 6 7 8 9 A B C D E F

0 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI

1 DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

2 SP ! ” # $ % & ’ ( ) * + , – . /

3 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

Page 52 read from a scan by OCR; it may hold reading errors

Chapter 6 Message Format Parameters

| : Table 6.B (continued) Hexadecimal Conversion Table 9 ae |

0 @ P ‘ p 1 A Q a q 3 C Ss Cc s 4 D T d t 5 E U e U

6 F V f V | B 7 G W g w 8 H Xx h Xx 9 | Y i y

A J Z j z Cc B K [ k { Cc L \ | | D M ] m }

E N n n ~ D F O _ fe) DEL

| °

Ih

6-9

Page 53

Chapter 6 Message Format Parameters

Intercharacter Delay

Certain terminals and computers require an intercharacter delay to simulate the effects of keystroke delays. Selecting an intercharacter delay causes the characters to be sent at the slower rate required by the device to which you are interfacing. Scanning label GA disables intercharacter delay.

GA

No Intercharacter Delay *

To set Intercharacter Delay to a value other than zero, scan label GB, then two separate digits from Appendix B. The intercharacter delay cannot exceed 31 milliseconds.

GB

+ Intercharacter Delay=xx msec

For example, to set the delay to 15 milliseconds, scan the GB label, then scan codes 1 and 5 in Appendix B.

6–10