Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 208

Advertising
background image

15–20

ASCII Host Commands

Publication 2755-833

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 compati-

bility with previous decoders.

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

Response:

= rr <end>

rr =

response code

<end> =

end of message control code

Example:

Command:

PB110100

Parameters:

110100

Command

Parameters

Parameter Function

Values

a

Scanning mode of scanner B

1= Independent
Package Detect

b

Ignored

1 (Ignored)

tttt

Trigger timeout for scanner B
(in milliseconds)

0100= 100 milliseconds

Response:

= 00CR

00 =

command complete
response code

CR =

end of message control code
for Carriage Return

Advertising