Siemens SIMATIC RF1000 Operating Instructions Manual page 75

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Figure 8-3
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.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
"Autonomous reading" flow diagram
Demo application
8.2 Creating a custom application
75

Advertisement

Table of Contents
loading

Table of Contents