Siemens SIMATIC RF1060R Kullanım Talimatları Kılavuzu - Sayfa 15

Endüstriyel Ekipmanlar Siemens SIMATIC RF1060R için çevrimiçi göz atın veya pdf Kullanım Talimatları Kılavuzu indirin. Siemens SIMATIC RF1060R 30 sayfaları. Simatic ident

Siemens SIMATIC RF1060R Kullanım Talimatları Kılavuzu
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
syscmd_set_port
Return value
Table 4- 1
Value
0x0000
0x0001
0x0002
0x0003
SIMATIC RF1060R
Operating Instructions, 05/2017, C79000-G8976-C432-02
Description
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
codes (Page 19)".
BRP_OK
You will find more information on return values in the section "Return val-
ues (Page 18)".
Values of the "port_mask" parameter
LED color
Off
Green
Red
Orange
Programming interface
4.1 The functions of the DLL
15