Vhl_Select - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Table 7-9
Parameter
syscmd_set_port
 
Return value
Table 7-10
Value
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
7.2.1.10

vhl_select

With the help of this function you select a card located in the antenna field. If successful, the
status "OK" is returned.
The type of the selected card is returned in the parameter "CardType".
With the "vhl_select" function you can select the card located in the antenna field of the
reader. When "VHLSelect" is called again, the currently selected card is changed to the "Hold
mode" and "vhl_select" returns the value "NOTAG_ERR".
If you want to select a card again without removing it physically from the antenna field, you
need to set the "Reselect" parameter to "true". If there are several cards in the antenna field
of the reader and you want to select all cards, set the parameter "Reselect = false". Then call
the "vhl_select" function until all cards in the antenna field are recognized. If no new card is
detected, "CARD_NOT_SELECTED_ERR" is returned.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
Description of the parameters
Description
This function call sets the LED of the reader.
Handle
The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
port_mask
Each value of the parameter is assigned to a specific LED color or the acoustic
signal.
Status
OK
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
Values of the "port_mask" parameter
LED color / acoustic signal
--
7.2 Programming via USB/RS232 interface (using DLL functions)
LED and acoustic signal
LED lit green
LED lit red
LED lit yellow
Acoustic signal (only for RF1040R/RF1070R)
Acoustic signal (only for RF1040R/RF1070R) and LED lit green
Acoustic signal (only for RF1040R/RF1070R) and LED lit red
Acoustic signal (only for RF1040R/RF1070R) and LED lit yellow
Programming
43

Advertisement

Table of Contents
loading

Table of Contents