Escort LRP2000 Switch User Manual


 
RFID Communications
89 LRP2000 Passive Reader/Writer
6.4.25 ABxS 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 return a one-byte parameter, Input Status.
The least significant nibble of the Input Status Byte is determined by the status of the outputs. 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 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.
Example
The following example shows only Input B is ON.
MSB LSB Remarks
LSB Bit 3
Input D
LSB Bit 2
Input C
LSB Bit 1
Input B
LSB Bit 0
Input A
00H 00H Inputs A, B, C, D, OFF 0 0 0 0
00H 01H Input A, ON - B, C, D, OFF 0 0 0 1
00H 02H Input B, ON - A, C, D, OFF 0 0 1 0
00H 03H Input A, B, ON - C, D, OFF 0 0 1 1
00H 04H Input C, ON - A, B, D, OFF 0 1 0 0
00H 05H Input A, C, ON - B, D, OFF 0 1 0 1
00H 06H Input B, C, ON - A, D, OFF 0 1 1 0
00H 07H Input A, B, C, ON - D, OFF 0 1 1 1
00H 08H Input D, ON - A, B, C, OFF 1 0 0 0
00H 09H Input A, D, ON - B, C, OFF 1 0 0 1
00H 0AH Input B, D, ON - A, C, OFF 1 0 1 0
00H 0BH Input A, B, D, ON - C, OFF 1 0 1 1
00H 0CH Input C, D, ON - A, B, OFF 1 1 0 0
00H 0DH Input A, C, D, ON - B, OFF 1 1 0 1
00H 0EH Input B, C, D, ON - A, OFF 1 1 1 0
00H 0FH Input A, B, C, D, ON 1 1 1 1
Field Remarks
Command Command number in hex preceded by AAH
Message Terminator FFFFH
Command from Host Response from Controller
MSB LSB Remarks MSB LSB Remarks
AAH 11H Perform Command 11 AAH 11H Command Echo
FFH FFH Message Terminator 00H 02H Input B ON
FFH FFH Message Terminator