RFID Communications
123 LRP2000 Passive Reader/Writer
6.5.24 ABxF 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 (1) 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 open 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.
Output
Status
Byte Remarks LSB Bit 3
Output D LSB Bit 2
Output C LSB Bit 1
Output B LSB Bit 0
Output A
00H Reset A, B, C, D 0 0 0 0
01H Set Output A - Reset B, C, D 0 0 0 1
02H Set Output B - Reset A, C, D 0010
03H Set Output A, B - Reset C, D 0011
04H Set Output C - Reset A, B, D 0100
05H Set Output A, C - Reset B, D0101
06H Set Output B, C - Reset A, D 0110
07H Set Output A, B, C - Reset D 0111
08H Set Output D - Reset A, B, C 1000
09H Set Output A, D - Reset B, C 1 0 0 1
0AH Set Output B, D - Reset A, C 1010
0BH Set Output A, B, D - Reset C 1011
0CHSet Output C, D - Reset A, B 1100
0DH Set Output A, C, D - Reset B 1101
0EH Set Output B, C, D - Reset A 1 1 1 0
0FH Set Output A, B, C, D 1111
Field Content
Header 0202H
Command Size Packet length in bytes excluding the header, command size, checksum, and terminator bytes
Command 10H
Output Status Byte 1 byte representing the desired output settings in bits 0-3
Checksum Optional checksum
Terminator 03H