Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 222

Advertising
background image

15–34

ASCII Host Commands

Publication 2755-833

MW - Write Primary Match Code Table Entry

Command Format:

MWnfccllstring

Function:

Configure a match code for table entry 1 – 8.

Parameters:

nfccllstring

Command

Parameters

Parameter Function

Valid Values

n

Match code table entry number

1 through 8

f

RESERVED

Ignored①

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

00 to 32②

string

Match code characters

up to 32 characters③

① Decoder ignores character but it must be supplied to maintain compati-

bility with previous decoders.

② A zero length string disables a match code entry. A nonzero length

string enables the match code entry.

③ The string must be as long as the specified string length (ll).

Response:

= rr <end>

rr=

response code

<end> =

end of message control code

Advertising