The demo application
7.2 Creating a custom application
SIMATIC RF1000
Operating Instructions, 02/2020, C79000-G8976-C432-07
63
Create your own "Read/write memory area" application
Follow the steps below to create your own application for reading or writing user data:
1.
Establish the connection to the reader ("brp_open_usb_session" or
"brp_open_serial_session").
2.
Check cyclically whether a transponder is located in the read range of the reader
("vhl_select").
When a transponder is located in the read range:
–
The transponder is recognized.
–
You can read data from the memory area with the "vhl_read" function.
–
You can write data to the memory area with the "vhl_write" function.
3.
Terminate the connection to the reader ("brp_close_session").
The source code of the demo application can serve as an example for your own application.
Figure 7-4
"Read/write memory area" flow diagram
Содержание 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 ...