![Siemens SIMATIC RF1070R Скачать руководство пользователя страница 22](http://html.mh-extra.com/html/siemens/simatic-rf1070r/simatic-rf1070r_operating-instructions-manual_375027022.webp)
Programming
6.2 Programming via USB interface
SIMATIC RF1000
22
Operating Instructions, 02/2019, C79000-G8976-C432-04
6.2.1.6
syscmd_get_boot_status
The function returns a boot status.
Each bit of the value returned by the function represents an internal component of the
reader. If the component of the reader could not be initialized the corresponding bit is set.
Check the value of "boot_status" for the value "0" and output an error or a warning if the
values do not match.
Function call
int syscmd_get_boot_status(
int Handle,
dword * boot_status,
int * Status
);
Table 6- 6
Description of the parameters
Parameter
Description
sys-
cmd_get_boot_status
The parameter returns a boot status value.
Handle
The session key returned by the function "brp_open_usb_session".
boot_status
Each bit represents an internal component of the reader.
Status
OK
Return value
You will find more information on return values in the section "Return val-
Note
Value of boot status not equal to "0"
If the function returns a value not equal to "0", please contact "Service & Support
(Page 58)".
6.2.1.7
syscmd_set_port
You can use this function to assign parameters to the LEDs and the acoustic signal of the
reader.
With the parameters "port_mask" and "Status" you can assign the different reader statuses
one of the 3 LED colors and switch on the acoustic signal. You will find a list of possible
values in the following table.