RFID Communications
LRP2000 Passive Reader/Writer 124
Example
The following example sets Output B only and resets A, C, and D.
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 S tatus.
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 o pen 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.
Command from Host Response from Controller
Field Content Field Content
Header 0202H Header 0202H
Command Size 0002H Response Size 0001H
Command Code 10H Command Echo 10H
Output Value Byte 02H Checksum EEH
Checksum EBH Terminator 03H
Terminator 03H
Input Status
Byte Remarks LSB Bit 3
Input D LSB Bit 2
Input C LSB Bit 1
Input B LSB Bit 0
Input A
00H Inputs A, B, C, D, open 0 0 0 0
01H In put 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