
SIMATIC RF1000
Operating Instructions, 02/2020, C79000-G8976-C432-07 3
1 Introduction............................................................................................................................................. 5
2 Description.............................................................................................................................................. 7
2.1 Description of the readers.........................................................................................................7
2.2 Connection options and supported transponders.....................................................................9
3 Installation ............................................................................................................................................ 11
4 Connecting ........................................................................................................................................... 15
5 Commissioning ..................................................................................................................................... 19
6 Programming ........................................................................................................................................ 21
6.1 Typical applications.................................................................................................................21
6.2 Programming via USB/RS232 interface (using DLL functions) ..............................................22
6.2.1 Functions of the USB/RS232 interface for Windows ..............................................................22
6.2.1.1 brp_open_usb_session ...........................................................................................................23
6.2.1.2 brp_open_serial_session ........................................................................................................24
6.2.1.3 brp_set_checksum ..................................................................................................................26
6.2.1.4 brp_set_bufsize .......................................................................................................................27
6.2.1.5 brp_close_session...................................................................................................................28
6.2.1.6 syscmd_reset..........................................................................................................................28
6.2.1.7 syscmd_get_info .....................................................................................................................29
6.2.1.8 syscmd_get_boot_status.........................................................................................................30
6.2.1.9 syscmd_set_port .....................................................................................................................31
6.2.1.10 vhl_select ................................................................................................................................32
6.2.1.11 vhl_get_snr..............................................................................................................................34
6.2.1.12 vhl_is_selected........................................................................................................................35
6.2.1.13 vhl_read ..................................................................................................................................36
6.2.1.14 vhl_write ..................................................................................................................................37
6.2.1.15 Autoread_SetMode (called via "exec_comand").....................................................................38
6.2.1.16 Autoread_GetMessage(called via "exec_comand")................................................................39
6.2.1.17 Return values..........................................................................................................................40
6.2.2 Functions of the USB interface for Linux ................................................................................41
6.3 Programming via the RS232 interface (using the Freeport protocol) .....................................41
6.3.1 Implementation of the commands...........................................................................................42
6.3.2 Commands..............................................................................................................................43
6.3.2.1 syscmd_reset..........................................................................................................................43
6.3.2.2 syscmd_get_info .....................................................................................................................44
6.3.2.3 syscmd_get_boot_status.........................................................................................................45
6.3.2.4 syscmd_set_port .....................................................................................................................46
6.3.2.5 vhl_select ................................................................................................................................47
6.3.2.6 vhl_get_snr..............................................................................................................................48
6.3.2.7 vhl_is_selected........................................................................................................................49
6.3.2.8 vhl_read ..................................................................................................................................50
6.3.2.9 vhl_write ..................................................................................................................................51