Programming; Typical Applications - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Programming

Depending on the interface over which the SIMATIC RF1000 readers are being operated,
programming must take place either over the USB or the RS232 interface.
7.1

Typical applications

Below you will find typical applications for using the SIMATIC RF1000 readers. The applications
are shown as an example using the DLL functions. These can be implemented in the same way
with the commands.
Cyclic reading of serial numbers
A card that is located in the antenna field is selected with the "vhl_select" function. The serial
number of the respective card is read with the "vhl_get_snr" function.
Unidirectional data receipt without using the programming interface
The prerequisite for the unidirectional data receipt that an "Autoread" configuration is stored
in the reader. Data transfer can only take place via the RS232 interface or the virtual COM
port of the reader in this case. The "Autoread" configuration can be transferred to the
reader using the configuration card or directly using the ConfigEditor. During autonomous
reading, you can automatically read a desired memory area of the respective card up to 16
bytes. In the configuration used, the "RawSerial" protocol must be set in the device settings
("Extend Configuration > Settings > Device Settings"). Prefix and postfix data can be selected
if applicable. The data of the card in the antenna field is output via the serial interface.
Read and write user memory
Prerequisite for reading/writing the memory areas is that the corresponding card type and the
application are stored in the reader.
A card that is located in the antenna field is selected with the "vhl_select" function. You can
read or write to a required memory area of the respective card with the functions "vhl_read" /
"vhl_write". Since there can be multiple VHL functions on the reader, the desired function is
selected via the variable "VHLFile".
Autonomous reading ("Autoread")
Prerequisite for autonomous reading of the memory areas is that an "Autoread" configuration is
stored in the reader. The "Autoread" configuration can be transferred to the reader using the
configuration card or directly using the ConfigEditor.
During autonomous reading, you can automatically read a desired memory area of the
respective card up to 16 bytes. The "Autoread_SetMode" function switches autonomous
reading permanently or one time on or off. During autonomous reading the reader
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
7
33

Advertisement

Table of Contents
loading

Table of Contents