The <cardreaders> section controls how internal and external badge readers function with the Dayforce Clock Pro. You can configure entries for the following types of readers:
- Internal barcode
- Internal magnetic
- Internal proximity
- Generic external reader connected via USB
The entries that are specified in the clock’s config.custom.xml file determine the program classes required to read the cards. For each entry, you can also specify which badge characters the reader scans, which allows the reader to skip characters before reading the required string.
You use the clock config file to define the device type for your badge reader (for example, type="O").
| Device Type | Description |
|---|---|
| O | Internal barcode reader. |
| M | Internal magnetic reader. |
| X | Internal proximity (radio frequency identification, or RFID) reader. |
| XE | External reader, which might be barcode, magnetic, or proximity. |
For O, M, and XE device types, the readers receive characters as if they were entered from a keypad. For X device types, the readers receive data in raw binary format and the clock program converts the data to characters.
You configure the badge length in the <system> section of the config file. If the reader detects a badge with fewer characters than the configured badge length, it adds leading zeros to the badge number. If the reader detects a badge with more characters than the configured badge length, it drops characters off of the latter portion of the badge number.
| Tag | Description |
|---|---|
| badgedecoder |
Before You Begin: The card reader and biometric identification are mutually exclusive when operating in directionless mode. If both biometric identification and directionless mode are enabled, the card reader is disabled automatically. These entries are required for each type of card reader used on the clock. If the clock has more than one reader, you need to insert entries in the config.custom.xml file for each reader type. The
|
| cardreader |
Enables or disables the card reader using the The
|
| frequency value |
Enables or disables specific RFID frequencies for proximity readers. Set
|
| numkeypad |
Enables the number pad on the clock and sets the supervisor and transfer modes. For example:
|
Badge Decoder Entry Examples
This section contains an example of each valid badgedecoder entry with descriptions of each configuration.
Example 1 - Type O
This entry reflects a barcode reader that reads six characters with no offset. If the badge length configured here is shorter than the length set in the <system> section, leading zeros are inserted:
<badgedecoder type="O" class="com.dayforce.devices.cardreader.GenericBarcodeDecoder" offset="0" length="6"/>
Example 2 - Type M
This entry reflects a magnetic card reader that reads five digits after skipping the first nine:
<badgedecoder type="M" class="com.dayforce.devices.cardreader.GenericBarcodeDecoder" offset="9" length="5"/>
Example 3 - Type X
This entry reflects the standard 26-bit HID Proximity II badge where the badge number is a value converted from 16 bits:
<badgedecoder type="X" class="com.dayforce.devices.cardreader.GenericBarcodeDecoder" totalLength="32" offset="15" length="16"/>
Example 4 - Type XE
This entry reflects an external reader connected via USB port, which might be a barcode, proximity, or magnetic reader:
<badgecoder type="XE" class="com.dayforce.devices.cardreader.GenericBarcodeDecoder" offset="0" length="6"/>
Additional Notes on Internal Proximity Readers
Internal proximity (RFID, version 3) readers support the following 125 Khz and 13.5 Mhz badges:
- HID Proxpoint™
- iClass™
- Mifare™
- NFC
Note: 13.5 Mhz badges are required to use the badge enrollment feature, which is currently supported only in standalone mode and allows for CSN-only reading.
Internal proximity readers determine badge numbers through the total number of bits that they read. For example, internal proximity readers receive a total of 32 bits from a 125 Khz badge. If the badge has fewer bits, leading bits are inserted. If the badge has more bits, the 32 least significant bits (that is, the last bits) are received. For the standard 26-bit badge, the first 15 bits are skipped while the next 16 bits are read, which are then converted to a 5-digit number. For 34 bit or 35-bit badges, the first 7 bits are skipped while the next 24 bits are read, which are then converted to an 8-digit number.