Mifare Configuration; Getting Started; Access Rights And Memory Organization; Value Block - B&R Industries Panel PC 2100 User Manual

Swing arm device
Table of Contents

Advertisement

Software • RFID command set

10.2 MIFARE configuration

10.2.1 Getting started

The driver for the USB communication device class (CDC) must be installed before you can use the transponder.
Information:
This driver can be downloaded from the B&R website (www.br-automation.com).
10.2.1.1 Port settings
Configure the following port settings in your terminal program:
Bits per second: 115200
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
10.2.1.2 Authentication
The keys needed for authentication can be stored either in EEPROM or temporarily in the transponder. Alterna-
tively, the authentication keys can be transferred with the command.
The Key_EEPROM, Key_TEMP and Key_CMD commands are used to set the storage location or to send the
authentication keys.
The following commands are used to store the authentication key in the transponder.
MIFARE commands - Authentication key storage
Command
Parameter 1
Store_key_eeprom
"A" or "B"
Store_key_temp
6-byte key
Example:
store_key_eeprom,a,0,ff ff ff ff ff ff
"store_key_eeprom" command: The key is written to EEPROM sector 0.
Default key (when tags are delivered): 0xFF FF FF FF FF FF
Up to 16 keys (0 to 15) can be stored in EEPROM for each key (A and B).

10.2.2 Access rights and memory organization

The tag is divided into 16 sectors of 4 blocks each. Each block contains 16 bytes. The 4th block in each sector
contains the keys and access rights for the respective sector (sector trailer). Access rights can be assigned indi-
vidually to each block. Each sector can be assigned one of two different keys (A or B).
These keys and access rights must be stored in a defined format (according to the MIFARE specification). To
change these access rights, the proper format of the "write" command must be used to write to the respective
sector trailer.
This documentation will not go into further detail with regard to the memory organization and access rights of tags.
For more information, see the

10.2.3 Value block

A block can be used as a value block. A value block is a signed 4-byte value. With each command (read, increment,
decrement, restore), the tag automatically increments/decrements the value without requiring the value to be read.
In order to use a block as a value block, it must adhere to a defined format.
This documentation will not go into further detail with regard to the value blocks of tags. For more information, see
the
"MIFARE standard card IC MF1 IC S50 functional

10.2.4 Access rights

There are various options for parameter 2 depending on the configuration.
152
Parameter 2
Sector for key in reader's EEPROM
--
Table 124: MIFARE commands - Authentication key storage
"MIFARE standard card IC MF1 IC S50 functional
Parameter 3
6-byte key
--
specification" data sheet.
Panel PC 2100 swing arm user's manual V1.00
Parameter 4
Parameter 5
--
--
--
--
specification" data sheet.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents