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

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

Pages 199 to 208 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 199

ASCII Host Commands

15–11

CC - Configure Code 39, I 2-of-5, Codabar Check Characters Command Format: CCabcdef Function:

Enables or disables bar code check characters.

Parameters:

abcdef a through f are Yes (1) and No (0) responses to the following parameters (in sequence shown):

Command Parameters a

Parameter Function

Valid Values

Code 39 check character?

1=Yes, 0=No b

Send Code 39 check character?

1=Yes, 0=No c

I 2-of-5 check character?

1=Yes, 0=No d

Send I 2-of-5 check character?

1=Yes, 0=No e

Codabar check character?

1=Yes, 0=No f

Send Codabar check character?

1=Yes, 0=No

= rr <end>

Response:

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

Example: Command:

CC111100

Parameters:

111100

Command Parameters a

Response:

Parameter Function

Values

Code 39 check character?

1=Yes b

Send Code 39 check character?

1=Yes c

I 2-of-5 check character?

1=Yes d

Send I 2-of-5 check character?

1=Yes e

Codabar check character?

0=No f

Send Codabar check character?

0=No

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

Publication 2755-833

Page 200

15–12

ASCII Host Commands

CG - Configure Interleaved 2-of-5 Guard Bar Command Format: CGa Function:

Enables verification of guard bars on Interleaved 2-of-5 symbols.

Parameters:

a

Command Parameters

Parameter Function a

Enable verification of guard bar on I 2/5 symbols

Valid Values 1=Yes, 0=No

= rr <end>

Response:

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

CG1

Parameters:

1

Command Parameters

Parameter Function a

Enable verification of guard bar on I 2/5 symbols

Response:

Values 1=Yes

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

Publication 2755-833

Page 201

ASCII Host Commands

15–13

CQ - Configure Quiet Zone Command Format: CQaa Function:

Configures the General Quiet Zone Ratio.

Parameters:

aa

Command Parameters aa

Response:

Parameter Function The Quiet Zone Ratio

Valid Values 00 = Defaults 04 – 10

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

Example: Command:

CQ07

Parameters:

07

Command Parameters aa

Response:

Parameter Function Set Quiet Zone Ratio to 7

Values 07

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

Publication 2755-833

Page 202

15–14

ASCII Host Commands

CF - Configure Code 128 FNC1 Character Command Format: CFaaa Function:

Selects return value for Code 128 FNC1 Character.

Parameters:

aaa

Command Parameters

Parameter Function Select Code 128 FNC1 Character aaa

Valid Values 000 = Discard 001...255 = FNC1 Character

= rr <end>

Response:

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

CF130

Parameters:

029

Command Parameters aaa

Response:

Parameter Function

Values

Set Code 128 FNC1 return value to 1Dh (029 decimal)

029 (GS group separator)

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

Publication 2755-833

Page 203

ASCII Host Commands

15–15

CV - Code Verification List Command Format: CVaabbbb Function:

Defines numeric values for specific data locations of a Pharma-Code bar code symbol.

Parameters:

aabbbb

Command Parameters

Parameter Function

Valid Values aa

Field location

00 to 16 00 means clear Code Verification List (all 16 locations)

bbbb

Pharma-Code data value

0000, 0007 to 8190 0000 clears data value at specified location.

= rr <end>

Response:

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

CV011122

Parameters:

011122

Command Parameters aa bbbb

Response:

Parameter Function

Valid Values

Field location

01

Pharma-Code data value

1122

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

Publication 2755-833

Page 204

15–16

ASCII Host Commands

CP - Configure Pharma-Code Symbology Command Format: CPabccddeefgg Function:

Enables the Pharma-Code symbology and configures parameters of the symbology.

Parameters:

abccddeefgg

Command Parameters

Parameter Function a

Enable symbology b

Decode direction cc

Quiet zone ratio dd

Space tolerance ee

Bar tolerance f

Wide to narrow bar ratio gg

Minimum number of bars

Valid Values 0= No 1= Yes 0= Forward 1= Reverse 2= Forward Scanner A Reverse Scanner B① 3= Reverse Scanner A Forward Scanner B① 04 to 10 00=Ignore 05 to 40 00=Ignore 05 to 40 0=midrange 2 to 4 03 to 12

① Applies only to Dual-Head Decoder.

Response:

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

Publication 2755-833

Page 205

ASCII Host Commands

15–17

CP - Configure Pharma-Code Symbology (continued) Example: Command:

CP10040000005

Parameters:

10040000005

Command Parameters a

Enable symbology

1= Yes b

Decode direction

0= Forward

Response:

Parameter Function

Valid Values cc

Quiet zone ratio

04 dd

Space tolerance

00=Ignore ee

Bar tolerance

00=Ignore f

Wide to narrow bar ratio

0=midrange gg

Minimum number of bars

05

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

Publication 2755-833

Page 206

15–18

ASCII Host Commands

SC - Configure Scanner A Control Command Format: SCldcsprrrrttttm Function:

Specifies the operating parameters for Scanner A or Scanners A and B in coordinated mode.

Parameters:

ldcsprrrrtttttm

Command Parameters l

Parameter Function Laser-light

Valid Values 0= On 1= Triggered 2= Off 0= Package Detect 1= Host 2= Internal Timer 3= Continuous 4= Continuous/unique 0, 1 through 8 (0= Verify) 0 through 6 0= ANY (1,2,3,4,5,6) 1 -9, A-G (where A=10,...G=16) 0000, 0010 - 9999 (in milliseconds) 0000 disables timeout d

Trigger mode c

Capture count.

s

Bar code symbols per scan p

Bar code symbols per package rrrr

No-read timer value (in milliseconds)

tttt

Inter–scan timer value (in milliseconds)

0000, 0010 - 9999 (in milliseconds) 0000 disables timeout m

Match complete count

1 -9, A-G (where A=10,...G=16)

Important: See Chapter 6 for a description of the Scanner Control parameters. Response:

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

Publication 2755-833

Page 207

ASCII Host Commands

15–19

SC - Configure Scanner A Control (continued) Example: Command:

SC01211005500001

Parameters:

01211005500001

Command Parameters l

Values

Laser-light

0=Continuous scanning d

Decode trigger mode

1= Host c

Capture count

2 s

Bar code symbols per scan

1 p rrrr tttt m

Response:

Parameter Function

Bar code symbols per package No-read timer value (in milliseconds) Inter–scan timer value (in milliseconds) Match complete count

1 0055= 55 millisecond timer value 0000= Disables inter-scan timer 1

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

Publication 2755-833

Page 208

15–20

ASCII Host Commands

PB - Configure Scanner B Control Command Format: PBabtttt Function:

Configures Scanner B to operate in coordinated or independent mode. This command also defines the operating parameters for Scanner B when the scanning mode is set to independent. NOTE: This command is valid only for dual head decoders.

Parameters:

abtttt

Command Parameters

Parameter Function

Valid Values a

Scanning mode of scanner B

0= Coordinated 1 1= Independent Package Detect 2= Independent Host Triggered 3= Coordinated 2 b

Reserved

Ignored① tttt

Trigger timeout for scanner B (in milliseconds)

0000, 0010 - 9999 (in milliseconds) 0000 disables timeout

① Decoder ignores character but it must be supplied to maintain compatibility with previous decoders.

Important: See Chapter 7 for a description of the Scanner Control parameters. = rr <end>

Response:

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

PB110100

Parameters:

110100

Command Parameters

Parameter Function a

Scanning mode of scanner B b

Ignored tttt

Trigger timeout for scanner B (in milliseconds)

Response:

Values 1= Independent Package Detect 1 (Ignored) 0100= 100 milliseconds

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

Publication 2755-833