Syscmd_Get_Boot_Status; Syscmd_Set_Port - Siemens SIMATIC RF1000 Series Operating Instructions Manual

Simatic ident
Hide thumbs Also See for SIMATIC RF1000 Series:
Table of Contents

Advertisement

Programming
6.2 Programming via USB interface
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
Parameter
sys-
cmd_get_boot_status
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
(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.
22
Description of the parameters
Description
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
You will find more information on return values in the section "Return val-
ues (Page 31)".
Operating Instructions, 02/2019, C79000-G8976-C432-04
SIMATIC RF1000

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf1060rSimatic rf1070r

Table of Contents