Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 212

Advertising
background image

15–24

ASCII Host Commands

Publication 2755-833

SW - Write Scanner Source to Match Code Table

Command Format:

SWab

Function:

Configures the source of an event.

Parameters:

ab

Command

Parameters

Parameter Function

Valid Values

a

Match code table entry number

1 through 8

b

Source of event

1=Scanner A
2=Scanner B

3=A|B

4=Illegal
5=A–B

① Applies only to Dual-Head Decoder.

Response:

= rr <end>

rr =

response code

<end> =

end of message control code

Example:

Command:

SW11

Parameters:

1

Command

Parameters

Parameter Function

Values

a

Match code table entry number

1

b

Source of event

1=Scanner A

Response:

= 00CR

00 =

command complete
response code

CR =

end of message control code
for Carriage Return.

Advertising