SIMATIC RF1000
Operating Instructions, 11/2019, C79000-G8976-C432-06
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 Installing and commissioning ................................................................................................................. 19
6 Programming ........................................................................................................................................ 21
6.1 Typical applications ................................................................................................................. 21
6.2 Programming via USB interface ............................................................................................. 22
6.2.1 Functions of the DLL ............................................................................................................... 22
6.2.1.1 brp_open_usb_session ........................................................................................................... 22
6.2.1.2 brp_set_bufsize ....................................................................................................................... 23
6.2.1.3 brp_close_session ................................................................................................................... 24
6.2.1.4 syscmd_reset .......................................................................................................................... 24
6.2.1.5 syscmd_get_info ..................................................................................................................... 25
6.2.1.6 syscmd_get_boot_status ......................................................................................................... 26
6.2.1.7 syscmd_set_port ..................................................................................................................... 26
6.2.1.8 vhl_select ................................................................................................................................ 27
6.2.1.9 vhl_get_snr .............................................................................................................................. 29
6.2.1.10 vhl_is_selected ........................................................................................................................ 30
6.2.1.11 vhl_read .................................................................................................................................. 30
6.2.1.12 vhl_write .................................................................................................................................. 31
6.2.1.13 Autoread_SetMode ................................................................................................................. 32
6.2.1.14 Autoread_GetMessage ........................................................................................................... 34
6.2.1.15 Return values .......................................................................................................................... 35
6.3 Programming via the RS232 interface .................................................................................... 36
6.3.1 Implementation of the system jobs ......................................................................................... 37
6.3.2 System jobs ............................................................................................................................ 37
6.3.2.1 syscmd_reset .......................................................................................................................... 37
6.3.2.2 syscmd_get_info ..................................................................................................................... 38
6.3.2.3 syscmd_get_boot_status ......................................................................................................... 39
6.3.2.4 syscmd_set_port ..................................................................................................................... 39
6.3.2.5 vhl_select ................................................................................................................................ 40
6.3.2.6 vhl_get_snr .............................................................................................................................. 41
6.3.2.7 vhl_is_selected ........................................................................................................................ 42
6.3.2.8 vhl_read .................................................................................................................................. 43
6.3.2.9 vhl_write .................................................................................................................................. 44
6.3.2.10 Autoread_SetMode ................................................................................................................. 46
6.3.2.11 Autoread_GetMessage ........................................................................................................... 46
6.4 Status codes ........................................................................................................................... 48