Syscmd_Set_Port - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Table 7-8
Parameter
syscmd_get_boot_sta‐
tus
 
Return value
Note
Value of boot status not equal to "0"
If the function returns a value not equal to "0", please contact "Service & Support".
7.2.1.9

syscmd_set_port

You can use this function to assign parameters to the LEDs and the acoustic signal of the reader.
In this way, you can view reader status changes or feedback from the application (e.g. incorrect
authentication) via the LED and the acoustic signal.
You can select the desired LED color and/or the acoustic signal using the "port_mask"
parameter. You will find a list of possible values in the following table.
Note that the LED function is pre-assigned at the factory. The readiness for operation of the
readers is indicated by a green LED and the presence of a transponder by a yellow LED.
Function call
int
syscmd_set_port(
int Handle,
word port_mask,
int * Status
);
42
Description of the parameters
Description
This function call returns a boot status value.
Handle
The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
boot_status
Each bit represents an internal component of the reader.
Status
OK
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
You will find more information on return values in the section "Return values
(Page 52)".
Operating Instructions, 05/2023, C79000-G8976-C432-10
SIMATIC RF1000

Advertisement

Table of Contents
loading

Table of Contents