Siemens SIMATIC RF1000 Operating Instructions Manual page 73

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Requirement
• The reader is connected.
• When programming via the USB interface:
You have unzipped the file "RF1000R_Vxxx.exe" onto your PC (Windows).
You require Microsoft Visual Studio (Express) on your PC to edit the source code.
Note that the demo application is capable of running without Microsoft Visual Studio
(Express) being installed. You can view and edit the source code using a text editor.
Create your own "Read serial number" application
Follow the steps below to create your own application for reading the serial number:
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").
There is transponder in the read range:
– The transponder is recognized.
– Read out the serial number ("vhl_get_snr").
– The application reports that the transponder with the serial number "x" has been detected.
The transponder is no longer within the read range:
– The application signals that the transponder with the serial number "x" is no longer
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
recognized.
Demo application
8.2 Creating a custom application
73

Advertisement

Table of Contents
loading

Table of Contents