RFID Communications

6.4.24 ABxS Command 10H: Set Output

DESCRIPTION

Command 10H sets the states of the output lines and output LEDs “A” through “D.”

DISCUSSION

This command sets the state of the digital output lines using a one-byte parameter, Output Status. The least significant nibble of the Output Status Byte determines the status of the outputs. The least significant bit of this nibble corresponds to Output A. The most significant bit of this nibble corresponds to Output D. The most significant nibble of the Output Status Byte is reserved and should be set to 0H. An output bit set to one turns the corresponding LED on and closes the electronic switch of the output, allowing current to flow through the output circuit. An output bit reset to zero turns the corresponding LED off and opens the electronic switch in the output circuit. The following chart shows the hex values for all combinations of Output Status Bytes. To reset all output bits, issue the command with 00H for the Output Status Byte.

MSB

LSB

Remarks

LSB Bit 3

LSB Bit 2

LSB Bit 1

LSB Bit 0

Output D

Output C

Output B

Output A

 

 

 

00H

00H

Reset A, B, C, D

0

0

0

0

 

 

 

 

 

 

 

00H

01H

Set Output A - Reset B, C, D

0

0

0

1

 

 

 

 

 

 

 

00H

02H

Set Output B - Reset A, C, D

0

0

1

0

 

 

 

 

 

 

 

00H

03H

Set Output A, B - Reset C, D

0

0

1

1

 

 

 

 

 

 

 

00H

04H

Set Output C - Reset A, B, D

0

1

0

0

 

 

 

 

 

 

 

00H

05H

Set Output A, C - Reset B, D

0

1

0

1

 

 

 

 

 

 

 

00H

06H

Set Output B, C - Reset A, D

0

1

1

0

 

 

 

 

 

 

 

00H

07H

Set Output A, B, C - Reset D

0

1

1

1

 

 

 

 

 

 

 

00H

08H

Set Output D - Reset A, B, C

1

0

0

0

 

 

 

 

 

 

 

00H

09H

Set Output A, D - Reset B, C

1

0

0

1

 

 

 

 

 

 

 

00H

0AH

Set Output B, D - Reset A, C

1

0

1

0

 

 

 

 

 

 

 

00H

0BH

Set Output A, B, D - Reset C

1

0

1

1

 

 

 

 

 

 

 

00H

0CH

Set Output C, D - Reset A, B

1

1

0

0

 

 

 

 

 

 

 

00H

0DH

Set Output A, C, D - Reset B

1

1

0

1

 

 

 

 

 

 

 

00H

0EH

Set Output B, C, D - Reset A

1

1

1

0

 

 

 

 

 

 

 

00H

0FH

Set Output A, B, C, D

1

1

1

1

 

 

 

 

 

 

 

Example

 

 

 

 

 

Field

Remarks

Command

Command number in hex preceded by AAH

 

 

Output

Pattern hex value for the bit output settings

 

 

Message Terminator

FFFFH

 

 

The following example sets Output B only and resets A, C, and D.

Command from Host

MSB

LSB

Remarks

AAH

10H

Perform Command 10

 

 

 

00H

02H

Set Output B

 

 

 

FFH

FFH

Message Terminator

 

 

 

Response from Controller

MSB

LSB

Remarks

AAH

10H

Command Echo

 

 

 

FFH

FFH

Message Terminator

 

 

 

LRP2000 Passive Reader/Writer

88

Page 93
Image 93
Escort LRP2000 manual ABxS Command 10H Set Output, Remarks LSB Bit Output D Output C Output B Output a, 0CH, 0EH, 0FH