Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 221

Advertising
background image

15–33

ASCII Host Commands

Publication 2755-833

MR - Read Primary Match Code Table Entry

Command Format:

MRn

Function:

Read match code configuration for table entry
1 – 8.

Parameters:

n =

match code table entry number 1 through 8.

Command

Parameters

Parameter Function

Valid Values

n

Match code table entry number

1 through 8

f

RESERVED

1

cc

Bar code 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

ll

Length of match string

00 to 32

string

Match string

up to 32 characters

① This value is always returned as 1.

Response:

nfccllstring<end> = rr <end>

<end> =

end of message control code

rr =

response code

<end> =

end of message control code

Example:

Command:

MR3

Parameters:

3 =

match code entry #3

Command

Parameters

Parameter Function

Values

n

Match code table entry number

3

f

RESERVED

1

cc

Bar code symbology

01=Code 39

ll

Length of match string

05

string

Match string

12345

① This value is always returned as 1.

Response:

31010512345CR = 00CR

CR =

end of message control code

00 =

command complete
response code

CR =

end of message control code

Advertising