Programming
6.2 Programming via USB interface
SIMATIC RF1000
28 Operating Instructions, 11/2019, C79000-G8976-C432-06
The "CardTypeMask" parameter allows only specific card families to be selected. If you want
to select all cards supported by the hardware of the reader, you need to set the parameter to
"0xFFFF". The more significant half byte of the "CardType" parameter specifies the card
family (1-6) while the less significant half byte (X) refers to the recognized card type.
Table 6- 9 Assigning the card types
LEGIC Legacy (only for RF1070R)
0x0008 (bit 4) 0x4X ISO 14443 B
0x0080 (Bit 8) 0x8X (only with RF1040R)
EM4100/EM4102, HITAG 1/2/S,
0x0200 (Bit 10) 0xAX (only with RF1040R)
LEGIC Prime (only for RF1070R)
Function call
int
vhl_select(
int Handle,
word CardTypeMask,
bool Reselect,
bool AllowConfig,
byte * CardType,
int * Status
);
Table 6- 10 Description of the parameters
With this parameter you select a card located in the antenna field.
The session key returned by the function "brp_open_usb_session".
CardTypeMask With this parameter you specify the card family to be recognized. If you
want all card families to be recognized, set the parameter to the value
The parameter decides whether the card should be reselected.
AllowConfig This value is "true" when a configuration card is to be read. In normal oper-
ation, the value must be set to "false" to prevent an unintentional ac-
ceptance of the reader configuration.
The returned value indicates the card type.