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

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

Pages 209 to 218 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 209

ASCII Host Commands

15–21

IF - Configure Scanner A Package Detect Filter and Sense Command Format: IFf Function:

Enables or disables the 15 ms input filter and determines the sense of the package detect signal for Scanner A.

Parameters:

f = disable or enable filter/select sense.

Command Parameter

Parameter Function

Valid Values 0=disable filter, LO when package is present

Enable or disable filter/select sense f

1=enable filter, LO when package is present 2=disable filter, HI when package is present 3=enable filter, HI when package is present

= rr <end>

Response:

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

IF1

Parameters:

1

Command Parameter f

Response:

Parameter Function Enable or disable filter/select sense

Value 1=enable filter, LO when package is present

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

Publication 2755-833

Page 210

15–22

ASCII Host Commands

BF - Configure Scanner B Package Detect Filter and Sense Command Format: BFf Function:

Enables or disables the 15 ms input filter and determines the sense of the package detect signal for Scanner B. NOTE: This command is valid only for dual head decoders.

Parameters:

f = disable or enable filter/select sense.

Command Parameter

Parameter Function

Valid Values 0=disable filter, LO when package is present

Enable or disable filter/select sense f

1=enable filter, LO when package is present 2=disable filter, HI when package is present 3=enable filter, HI when package is present

= rr <end>

Response:

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

BF1

Parameters:

1

Command Parameter f

Response:

Parameter Function Enable or disable filter/select sense

Value 1=enable filter, LO when package is present

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

Publication 2755-833

Page 211

ASCII Host Commands

15–23

BL - Configure Scanner B Laser Mode Command Format: BLa Function:

Configures the laser light for scanner B. NOTE: This command is valid only for dual head decoders.

Parameters:

a

Command Parameters a

Response:

Parameter Function Scanner B laser light

Valid Values 0= On 1= Triggered 2= Off

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

Example: Command:

BL1

Parameters:

1

Command Parameters a

Response:

Parameter Function Scanner B laser light

Values 1=Triggered

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

Publication 2755-833

Page 212

15–24

ASCII Host Commands

SW - Write Scanner Source to Match Code Table Command Format: SWab Function:

Configures the source of an event.

Parameters:

ab

Command Parameters a b

Parameter Function Match code table entry number

Source of event

Valid Values 1 through 8 1=Scanner A 2=Scanner B① 3=A|B① 4=Illegal 5=A–B①

① Applies only to Dual-Head Decoder.

= rr <end>

Response:

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

SW11

Parameters:

1

Command Parameters a b

Response:

Parameter Function

Values

Match code table entry number

1

Source of event

1=Scanner A

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

Publication 2755-833

Page 213

ASCII Host Commands

15–25

AB - Auto-load Begin Command Format: AB Function:

Resets autoloads. Once received, the decoder loads match code table positions set to autoload with decoded bar code data until it receives an AE (Autoload End command. Equivalent to manual autoload input.

Response:

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

Example: Command:

AB

Response:

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

AE - Autoload End Command Format: AE Function:

Stops loading data into position set to autoload. This command follows an AB (Autoload Begin) command. Equivalent to releasing a manual autoload input.

Response:

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

Example: Command:

AE

Response:

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

Publication 2755-833

Page 214

15–26

ASCII Host Commands

AL - Autoload Command Format: ALabeestring Function:

Load the match pattern into the next available position set to autoload, checking first the primary match table, and then the extended match table. This is the equivalent of a manual Autoload, except the data is supplied by the host instead of a scanner.

Parameters:

abeestring

Command Parameters a

Response:

Parameter Function

Valid Values 1=A 2=B

Source b

Symbology

1=Code 39 2=Interleaved 2-of-5 3=Codabar 4=UPC-A 5=UPC-E 6=EAN-8 7=EAN-13 8=Code 128 9=Pharma–Code ee

Length of match string

00 to 32 string

Match string

Up to 32 ASCII characters

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

Publication 2755-833

Page 215

ASCII Host Commands

15–27

AL - Autoload (continued) Example: Command:

AL

Parameters:

1110ABCDE12345

Command Parameters a

Response:

Parameter Function

Valid Values

Source

1=A b

Symbology

1=Code 39 ee

Length of match string

10 Characters

String

Match string

ABCDE12345

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

Publication 2755-833

Page 216

15–28

ASCII Host Commands

OS - Set Output Normally Open/Closed Command Format: OSnf Function:

Sets the state of a discrete output to normally open or normally closed. Parameters: nf

Command Parameters n f

Parameter Function

Valid Values

Discrete output number

1 through 8

Switch operation normally open or normally closed

0= Normally Open 1= Normally Closed

= rr <end>

Response:

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

OS20

Parameters:

20

Command Parameters n f

Response:

Parameter Function

Values

Discrete output number

2

Switch operation normally open or normally closed

0= Normally Open

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

Publication 2755-833

Page 217

ASCII Host Commands

15–29

OC - Set Output Condition and Output Duration Command Format: OCnctttt Function:

Sets the condition that will activate an output and the length of time (in milliseconds) the output is activated.

Parameters:

nctttt

Command Parameters n

Parameter Function Output number

Valid Values 1 through 8 c

Condition activates output

0= None 1= Read (Package) 2= No-Read (Package) 3= Match Complete 4= Match Entry 5= Read and No-Match 6= No-Read or No–Match 7= Auto Load 8= Auto Load (Input)① 9= Host buffer full A= Host buffer overflow tttt

Time (in milliseconds) that output is activated.

0000, 0010 to 9999 (milliseconds) 0000 disables condition

① The AutoLoad (Input) function applies only to output 8.

Response:

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

Publication 2755-833

Page 218

15–30

ASCII Host Commands

OC - Set Output Condition and Output Duration (continued) Example: Command:

OC510110

Parameters:

510110

Command Parameters n

Response:

Parameter Function Output number

Values 5 c

Condition that activates output 1= Read (Package)

tttt

Time (in milliseconds) that output is activated.

0110= 110 milliseconds

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

Publication 2755-833