RFID Communications
LRP2000 Passive Reader/Writer 88
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 sign ificant
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 fo r the Output Status Byte.
Example
The following example sets Output B only and resets A, C, and D.
MSB LSB Remarks LSB Bit 3
Output D LSB Bit 2
Output C LSB Bit 1
Output B LSB Bit 0
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
Field Remarks
Command Command number in hex prece ded by AAH
Output Pattern hex value for the bit output settings
Message Terminator FFFFH
Command from Host Response from Controller
MSB LSB Remarks MSB LSB Remarks
AAH 10H Perform Command 10 AAH 10H Command Echo
00H 02H Set Output B FFH FFH Message Terminator
FFH FFH Message Terminator