Programming
6.2 Programming via USB/RS232 interface (using DLL functions)
SIMATIC RF1000
28
Operating Instructions, 02/2020, C79000-G8976-C432-07
6.2.1.5
brp_close_session
This function terminates an existing connection to the reader that was previously
established.
Function call
int
brp_close_session(
int Handle
);
Table 6- 5
Description of the parameters
Parameter
Description
brp_close_session
This function call terminates a connection.
Handle
The session key returned by the "brp_open_usb_session" or
"brp_open_serial_session" function.
Return value
•
BRP_OK
•
BRP_ERR_WRONG_HANDLE
You will find more information on return values in the section "Return values
(Page 40)".
6.2.1.6
syscmd_reset
This function restarts the reader.
Note that you wait for about 3 seconds after the function "syscmd_reset" and then have to
execute the functions "brp_close_session" and "brp_open_usb_session" once again.
Function call
int
syscmd_reset (
int Handle,
int * Status
);
Table 6- 6
Description of the parameters
Parameter
Description
syscmd_reset
This function call restarts the reader.
Handle
The session key returned by the "brp_open_usb_session" or
"brp_open_serial_session" function.
Status
OK
Return value
•
BRP_OK
You will find more information on return values in the section "Return values
(Page 40)".
Содержание SIMATIC RF1000 Series
Страница 14: ...Installation SIMATIC RF1000 14 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 18: ...Connecting SIMATIC RF1000 18 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 68: ...Technical specifications SIMATIC RF1000 68 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 70: ...Dimension drawing SIMATIC RF1000 70 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 76: ...Appendix A 2 Ordering data SIMATIC RF1000 76 Operating Instructions 02 2020 C79000 G8976 C432 07 ...