Syscmd_Set_Port - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

6.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.
Function call
int
syscmd_set_port(
int Handle,
word port_mask,
int * Status
);
Table 6- 9
Parameter
syscmd_set_port
Return value
Table 6- 10
Value
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
SIMATIC RF1000
Operating Instructions, 02/2020, C79000-G8976-C432-07
6.2 Programming via USB/RS232 interface (using DLL functions)
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_serial_session" function.
port_mask
Each value of the parameter is assigned to a specific LED color or the
acoustic signal.
Status
OK
BRP_OK
You will find more information on return values in the section "Return val-
ues (Page 40)".
Values of the "port_mask" parameter
LED color / acoustic signal
--
LED and acoustic signal
LED lit green
LED lit red
LED lit orange
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 orange
Programming
31

Advertisement

Table of Contents
loading

Table of Contents