Software • RFID command set
Chapter 4 Software
Panel PC 2100 swing arm user's manual V1.12
219
Command
Description
Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5
Show_SN
Displays the active tag number
--
--
--
--
--
Show_Key
Displays the active key
--
--
--
--
--
Echo_On
Displays an input echo for the output
--
--
--
--
--
Echo_Off
Suppresses the input echo for the output (default)
--
--
--
--
--
Startup
Displays the startup message
--
--
--
--
--
Life
Life command --> Returns OK
--
--
--
--
--
Helpme
Displays a list of all commands
--
--
--
--
--
Show_Error
Shows error details
--
--
--
--
--
Table 216: General commands
16.2.6 Update commands
Command
Description
Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5
Restart
Restarts the reader
--
--
--
--
--
Firmware_Update
Switches the µC to X-modem update mode
--
--
--
--
--
Firmware_Upgrade
Switches the µC to USB mass memory update mode
--
--
--
--
--
Firmware_Info
Displays information about the current firmware
--
--
--
--
--
Table 217: Update commands
16.2.7 MIFARE commands
Command
Description
Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5
Read
Reads a 16-byte block from PICC
"A" or "B"
See table "
" (para-
meter 2).
Source block --
--
Read_Blocks
Reads the specified range of blocks from PICC
"A" or "B"
See table "
" (para-
meter 2).
Starting block Ending block
--
Write
Writes a 16-byte block to PICC
"A" or "B"
See table "
" (para-
meter 2).
Destination
block
16-byte data in
hex 00h
--
Decr
Takes the value of the source value block, subtracts the
specified value and writes the result to the destination
block
"A" or "B"
See table "
" (para-
meter 2).
Source block Destination
block
Value
Incr
Takes the value of the source value block, adds the
specified value and writes the result to the destination
block
"A" or "B"
See table "
" (para-
meter 2).
Source block Destination
block
Value
Restore
Copies a value block
"A" or "B"
See table "
" (para-
meter 2).
Source block Destination
block
--
InitZero
Initializes a value block with the value 0
"A" or "B"
See table "
" (para-
meter 2).
Destination
block
--
--
Store_Key_EEPROM Stores a 6-byte key in EEPROM
"A" or "B"
Sector for key
in
reader's
EEPROM
6-byte key
Store_Key_Temp
Stores a 6-byte key in the µC temporarily until switched
off
6-byte key
--
--
--
--
Connect
Connects manually to a specific tag
4-byte SNr
--
--
--
--
Disconnect
Automatically restores a connection to the best tag
--
--
--
--
--
Key_CMD
Sends a key directly with each command (default)
--
--
--
--
--
Key_EEPROM
Uses the key from EEPROM
--
--
--
--
--
Key_TEMP
Uses the temporary key
--
--
--
--
--
Table 218: MIFARE commands
16.2.8 MIFARE commands - Examples
Writing data to block 5 with key A from the reader's EEPROM sector 0:
write,a,0,5,0123456789ABCDEF0123456789ABCDEF
Response:
Command write ->
Data in sector 1 Block 5 written=0123456789ABCDEF0123456789ABCDEF