RFID Communications

Example

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

Command from Host

Field

Content

Header

0202H

 

 

Command Size

0002H

 

 

Command Code

10H

 

 

Output Value Byte

02H

 

 

Checksum

EBH

 

 

Terminator

03H

 

 

Response from Controller

Field

Content

Header

0202H

 

 

Response Size

0001H

 

 

Command Echo

10H

 

 

Checksum

EEH

 

 

Terminator

03H

 

 

6.5.25 ABxF Command 11H: Input Status

DESCRIPTION

Command 11H returns the status of user inputs.

DISCUSSION

This command interrogates the state of the user input lines and returns a one-byte parameter, Input Status. The least significant nibble of the Input Status Byte is determined by the status of the inputs. The least significant bit of this nibble corresponds to Input A. The most significant bit of this nibble corresponds to Input D. The most significant nibble of the Input Status Byte is set to 0H. A closed circuit in one (1) of the user inputs sets the corresponding user input bit to one, turning the corresponding LED on. An open circuit in one of the user inputs, sets the corresponding user input bit to zero, turning off the corresponding LED. The following chart shows all of the valid hex values for the input status bytes.

Input Status

Remarks

LSB Bit 3

LSB Bit 2

LSB Bit 1

LSB Bit 0

Byte

Input D

Input C

Input B

Input A

 

00H

Inputs A, B, C, D, open

0

0

0

0

 

 

 

 

 

 

01H

Input A, closed - B, C, D, open

0

0

0

1

 

 

 

 

 

 

02H

Input B, closed - A, C, D, open

0

0

1

0

 

 

 

 

 

 

03H

Input A, B, closed - C, D, open

0

0

1

1

 

 

 

 

 

 

04H

Input C, closed - A, B, D, open

0

1

0

0

 

 

 

 

 

 

05H

Input A, C, closed - B, D, open

0

1

0

1

 

 

 

 

 

 

06H

Input B, C, closed - A, D, open

0

1

1

0

 

 

 

 

 

 

07H

Input A, B, C, closed - D, open

0

1

1

1

 

 

 

 

 

 

08H

Input D, closed - A, B, C, open

1

0

0

0

 

 

 

 

 

 

09H

Input A, D, closed - B, C, open

1

0

0

1

 

 

 

 

 

 

0AH

Input B, D, closed - A, C, open

1

0

1

0

 

 

 

 

 

 

0BH

Input A, B, D, closed - C, open

1

0

1

1

 

 

 

 

 

 

0CH

Input C, D, closed - A, B, open

1

1

0

0

 

 

 

 

 

 

0DH

Input A, C, D, closed - B, open

1

1

0

1

 

 

 

 

 

 

0EH

Input B, C, D, closed - A, open

1

1

1

0

 

 

 

 

 

 

0FH

Input A, B, C, D, closed

1

1

1

1

 

 

 

 

 

 

LRP2000 Passive Reader/Writer

124

Page 129
Image 129
Escort LRP2000 manual ABxF Command 11H Input Status, 124