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 26 of 42

DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755): 15 - ASCII Host Commands, pages 229 to 238

Pages 229 to 238 of 361, from DS/DD Series B Enhanced Bar Code Decoders User Manual (Bulletin 2755)

The original document is the PDF (1.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 Allen-Bradley 2755-DD and Allen-Bradley 2755-DS

Page 229

ASCII Host Commands

15–41

RP - Read All Extended Match Data Command Format: RP Function:

Reads the value of all Extended data.

Parameters:

None

Response Parameters

Parameter Function

Valid Values

The number of the Extended match counts

001 to 128

Mode

A=Auto-load M=Match Entry D=Disabled L=Lot

Source

01=Scanner A 02=Scanner B 03=A|B 04=A–B

Symbology

01=Code 39 02=Interleaved 2-of-5 03=Codabar 04=UPC-A 05=UPC-E 06=EAN-8 07=EAN-13 08=Code 128 09=Pharma–Code 16=Any mmmmmm

The value of the count

000000 to 999999 ll

Length of match string

00 to 32

Match string up to 32 characters nnn a ss cc string

Response:

001assccmmmmmmmmllstring<end>.. ... 128assccmmmmmmmmllstring<end> =rr<end> rr = response code <end>= end of message control code

Publication 2755-833

Page 230

15–42

ASCII Host Commands

RP - Read All Extended Match Data (continued) Example: Command:

RP

Response:

001 M 03 01 001289 04 1289 CR 002 ... ... 128 M 03 01 001289 04 1289 CR =00CR

Command Parameters

Parameter Function

Values a

The number of the Extended match counts Mode s

Source

03=A|B cc nnn

064 M = Match Entry symbology

01=Code 39 mmmmmm

The value of the count

001289 ll

Length of match string

04

Match string

1289 a

Mode

M = Match Entry s

Source

3=A|B cc

Symbology

01=Code 39 mmmmmm

The value of the count

000222 ll

Length of match string

04

Match string

6247 string string

CR = delimiter and/or end of message control code for Carriage Return 00 = command complete response code CR = end of message control code for Carriage Return.

Publication 2755-833

Page 231

ASCII Host Commands

15–43

RA - Read All Extended Counters Command Format: RA Function:

Reads all Extended counts.

Parameters:

None

Response:

nnnmmmmmm<end>... ... nnnmmmmmm<end> = rr <end>

Response Parameters nnn mmmmmm nnn mmmmmm

Parameter Function The number of the Extended match count Value of count The number of the Extended match count Value of count

Valid Values 001 000000 to 999999 002 000000 to 999999

... nnn mmmmmm

The number of the Extended match count Value of count

128 000000 to 999999 rr= response code <end> = end of message control code

Publication 2755-833

Page 232

15–44

ASCII Host Commands

RA - Read All Extended Counters (continued) Example: Command:

RA

Parameters:

None

Response:

001000012CR002000122... ... 128000012CR =00CR

Response Parameters nnn mmmmmm nnn mmmmmm

Parameter Function The number of the Extended match count Value of count The number of the Extended match count Value of count

Values 001 000012 002 000122

... nnn mmmmmm

Response:

The number of the Extended match count Value of count

128 000000

= 00CR 00 = command complete response code CR = end of message control code for Carriage Return.

Publication 2755-833

Page 233

ASCII Host Commands

15–45

CS - Disable Extended Match Code Set Command Format: CSnnnnnnnn Function:

Disables a group of Extended Match Codes

Parameters:

nnnnnnnn

Command Parameters

Parameter Function

Valid Values nnnnnnnn

Allows the 128 Extended Match Codes to be treated as eight sets of sixteen each. Each set can be individually marked.

00000000 = All Disabled through 11111111=All enabled

Response:

= rr <end> rr = response code <end> = end of message control code

Example: Command:

CS01100011

Parameters:

01100011

Command Parameters

Parameter Function nnnnnnnn

Enables positions 17–32, 33–48, 97–112, and 113–128

Response:

Values

01100011

= 00CR 00 = command complete response code CR = end of message control code for Carriage Return.

Publication 2755-833

Page 234

15–46

ASCII Host Commands

RS - Read Extended Match Set Status Command Format: RS Function:

Reads the status of the extended match sets.

Parameters:

none

Response:

nnnnnnnn = rr <end> rr = response code <end> = end of message control code

Example: Command:

RS

Response:

10010001 = 00CR 10010001 = Sets 1, 4, and 8 enabled; all others disabled. 00 = command complete response code CR = end of message control code for Carriage Return.

Publication 2755-833

Page 235

ASCII Host Commands

15–47

DF - Enable Data Display on AUX Terminal and LCD Command Format: DFab Function:

Enables the AUX terminal and/or the LCD Display to receive and display bar code data. Note: Before data will display at the AUX terminal, you must set the AUX port to manual data entry mode (as described in Chapter 13). ab

Parameters:

Command Parameter

Parameter Function

Valid Values a

Enable device to display formatted bar code data.

0= None 1= AUX terminal and LCD Display 2= AUX terminal only 3= LCD Only b

Specify format of bar code data.

0= Unformatted 1= Host format

= rr <end>

Response:

rr = response code <end> = end of message control code Example: Command:

DF11

Parameters:

11

Command Parameter a b

Response:

Parameter Function Enable device to display formatted bar code data. Specify format of bar code data.

Values 1= AUX terminal and LCD Display

1= Host format

= 00LF 00 = command complete response code LF = end of message control code for Line Feed

Publication 2755-833

Page 236

15–48

ASCII Host Commands

DP - Configure Data Display Positions for AUX Terminal and LCD Command Format: DPdpp Function:

Enables the display of specific data items on the LCD and/or AUX port terminal starting at a specific character position. Note: Before data will display at the AUX terminal, you must set the AUX port to manual data entry mode (as described in Chapter 13). dpp

Parameters:

Command Parameter

Parameter Function

Valid Values d

Data item selector

A= Bar Code Data B= Decoder Performance C= Package Counter D= No-Read Counter 1= Primary Counter 1 2= Primary Counter 2 3= Primary Counter 3 4= Primary Counter 4 5= Primary Counter 5 6= Primary Counter 6 7= Primary Counter 7 8= Primary Counter 8 pp

Character position

00, 01 - 80 00= Disable

= rr <end>

Response:

rr= response code <end>= end of message control code Example: Command:

DPA01

Parameters:

A01

Response:

Command Parameter d

Parameter Function Data item selector

A= Bar Code Data pp

Character position

01

Values

= 00LF 00 = command complete response code LF = end of message control code for Line Feed

Publication 2755-833

Page 237

ASCII Host Commands

15–49

SD - Enable LCD Scrolling Command Format: SDf Function:

Enables or disables scrolling of the LCD display.

Parameters:

f

Command Parameters

Parameter Function f

Enable Scrolling LCD Display

Values 0= No 1= Yes

See Chapter 9 for details on how the LCD Display operates when scrolling is enabled or disabled. = rr <end>

Response:

rr = response code <end> = end of message control code Example: Command:

SD1

Parameters:

1

Command Parameters f

Response:

Parameter Function Enable scrolling LCD Display

Values 1= Yes

=00CR 00 = command complete response code CR = end of message control code for Carriage Return

Publication 2755-833

Page 238

15–50

ASCII Host Commands

SR - Set Search and Replace Rule for Host Message Fields Command Format: SRnnmmsccbbffapppllstringllstring Function:

Set parameters for the host message replacement rules.

Parameters:

nnmmsccbbffapppllstringllstring

Command Parameters

Valid Values mm

The number of the Search and Replace Rule The host message field number s

Source

1=Scanner A 2=Scanner B 3=A|B 4=Aux cc

Symbology

01=Code 39 02=Interleaved 2-of-5 03=Codabar 04=UPC–A 05=UPC–E 06=EAN–8 07=EAN–13 08=Code 128 09=Pharma–Code 16=Any bb

Symbol number

00=All or 01 to 16 ff

Minimum field length

00 to 64 a

Alignment ppp

Fill character ll

Length of search pattern string

0=Right 1=Left 000 to 255 (000= No alignment) 00=Empty or 01 to 24

Search pattern string up to 24 characters

Length of replace pattern string

00=Empty or 01 to 24

Replace pattern string up to 24 characters nn string ll String

Response:

Parameter Function

01 to 16 00=All or 01 to 16

= rr <end> rr = response code <end> = end of message control code

Publication 2755-833