Programming interface
4.1 The functions of the DLL
SIMATIC RF1060R
Operating Instructions, 05/2017, C79000-G8976-C432-02
15
Note
Value of boot status not equal to "0"
If the function returns a value not equal to "0", please contact "Service & Support
(Page 30)".
4.1.6
syscmd_set_port
You can use this function to assign parameters to the LEDs of the reader.
This function switches the LEDs of the module. With the parameters "port-mask" and
"Status" you can assign the different reader statuses one of the 3 LED colors. You will find a
list of possible LED colors in the following table.
Function call
int
syscmd_set_port(
int Handle,
word port_mask,
int * Status
);
Description of the parameters
Parameter
Description
syscmd_set_port
The parameter sets the LED of the reader.
Handle
The session key returned by the function "brp_open_usb_session()".
port_mask
Each value of the parameter is assigned to a certain LED color.
Status
You will find more information on the reader status in the section "Status
Return value
•
BRP_OK
You will find more information on return values in the section "Return val-
Table 4- 1
Values of the "port_mask" parameter
Value
LED color
0x0000
Off
0x0001
Green
0x0002
Red
0x0003
Orange
Содержание SIMATIC RF1060R
Страница 4: ...Table of contents SIMATIC RF1060R 4 Operating Instructions 05 2017 C79000 G8976 C432 02 ...
Страница 10: ...Installing and commissioning SIMATIC RF1060R 10 Operating Instructions 05 2017 C79000 G8976 C432 02 ...
Страница 26: ...Dimension drawing SIMATIC RF1060R 26 Operating Instructions 05 2017 C79000 G8976 C432 02 ...