BA RF1000 76 en-US
BA RF1000 76 en-US
Security recommendations 2
Description 3
SIMATIC Ident
Installation 4
RFID systems
SIMATIC RF1000 5
Connecting
Commissioning 6
Operating Instructions
Programming 7
Demo application 8
Technical specifications 9
Dimension drawings 10
Appendix A
05/2023
C79000-G8976-C432-10
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
are required to ensure that the products operate safely and without any problems. The permissible ambient
conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
1 Introduction ........................................................................................................................................... 5
2 Security recommendations.................................................................................................................... 7
2.1 Security information ............................................................................................................ 8
2.2 Cell protection concept ........................................................................................................ 9
3 Description........................................................................................................................................... 11
3.1 Properties of the reader...................................................................................................... 11
3.2 Connection options and supported transponders................................................................ 13
4 Installation........................................................................................................................................... 17
5 Connecting .......................................................................................................................................... 25
6 Commissioning .................................................................................................................................... 29
7 Programming ....................................................................................................................................... 33
7.1 Typical applications ............................................................................................................ 33
7.2 Programming via USB/RS232 interface (using DLL functions) .............................................. 34
7.2.1 Functions of the USB/RS232 interface for Windows............................................................. 34
7.2.1.1 brp_open_usb_session ....................................................................................................... 34
7.2.1.2 brp_open_serial_session .................................................................................................... 35
7.2.1.3 brp_set_checksum ............................................................................................................. 38
7.2.1.4 brp_set_bufsize.................................................................................................................. 38
7.2.1.5 brp_close_session .............................................................................................................. 39
7.2.1.6 syscmd_reset ..................................................................................................................... 40
7.2.1.7 syscmd_get_info................................................................................................................ 40
7.2.1.8 syscmd_get_boot_status .................................................................................................... 41
7.2.1.9 syscmd_set_port................................................................................................................ 42
7.2.1.10 vhl_select .......................................................................................................................... 43
7.2.1.11 vhl_get_snr........................................................................................................................ 45
7.2.1.12 vhl_is_selected .................................................................................................................. 46
7.2.1.13 vhl_read ............................................................................................................................ 47
7.2.1.14 vhl_write ........................................................................................................................... 48
7.2.1.15 Autoread_SetMode (called via "exec_command")................................................................ 49
7.2.1.16 Autoread_GetMessage (called via "exec_command")........................................................... 50
7.2.1.17 GetLicenses (called via "exec_command")........................................................................... 51
7.2.1.18 Return values..................................................................................................................... 52
7.2.2 Functions of the USB interface for Linux ............................................................................. 53
7.3 Programming via the RS232 interface (using the Freeport protocol).................................... 53
7.3.1 Implementation of the commands ..................................................................................... 54
7.3.2 Commands ........................................................................................................................ 55
7.3.2.1 syscmd_reset ..................................................................................................................... 55
7.3.2.2 syscmd_get_info................................................................................................................ 56
7.3.2.3 syscmd_get_boot_status .................................................................................................... 56
7.3.2.4 syscmd_set_port................................................................................................................ 57
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 3
Table of contents
7.3.2.5 syscmd_get_licenses.......................................................................................................... 58
7.3.2.6 vhl_select .......................................................................................................................... 59
7.3.2.7 vhl_get_snr........................................................................................................................ 60
7.3.2.8 vhl_is_selected .................................................................................................................. 61
7.3.2.9 vhl_read ............................................................................................................................ 62
7.3.2.10 vhl_write ........................................................................................................................... 63
7.3.2.11 Autoread_SetMode ............................................................................................................ 64
7.3.2.12 Autoread_GetMessage ....................................................................................................... 65
7.4 Status codes ...................................................................................................................... 66
8 Demo application................................................................................................................................. 69
8.1 User interface of the demo application ............................................................................... 69
8.2 Creating a custom application ............................................................................................ 72
9 Technical specifications ....................................................................................................................... 79
9.1 Technical specifications of SIMATIC RF1000 ........................................................................ 79
9.2 Technical specifications, RF1100T Configuration Card ......................................................... 81
9.3 Technical specifications of the license cards ........................................................................ 82
9.4 Technical specifications of table/wall housing ..................................................................... 83
9.5 Technical specifications of cleanroom cover ........................................................................ 83
10 Dimension drawings ............................................................................................................................ 85
A Appendix.............................................................................................................................................. 87
A.1 Certificates & approvals ...................................................................................................... 87
A.2 Connection via Remote Desktop Protocol (RDP) .................................................................. 89
A.3 Ordering data .................................................................................................................... 90
B Service & Support ................................................................................................................................ 93
SIMATIC RF1000
4 Operating Instructions, 05/2023, C79000-G8976-C432-10
Introduction 1
Purpose of this document
This documentation provides you with an overview of the installation and programming of the
SIMATIC RF1040R, RF1060R and RF1070R readers. The operating instructions are intended for
users and programmers involved in configuration, commissioning and servicing of SIMATIC
RF1000 readers.
NOTICE
The scope of functions depends on the specific reader
Please note that all Bluetooth (BLE) and license card (HID license) contents mentioned in this
manual are valid only for the new devices with article numbers "6GT2831-6xA60".
Registered trademarks
The following and possibly other names not identified by the registered trademark sign ® are
registered trademarks of Siemens AG:
SIMATIC ®, SIMATIC RF ® and MOBY ®
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 5
Introduction
Decommissioning
Decommission the device properly to prevent unauthorized persons from accessing
confidential data in the device memory.
To do this, reset the device to the factory settings.
SIMATIC RF1000
6 Operating Instructions, 05/2023, C79000-G8976-C432-10
Security recommendations 2
To prevent unauthorized access, observe the following security recommendations when
working with the reader.
General
• Check regularly that the device complies with these recommendations and/or other internal
security policies.
• Evaluate your plant as a whole in terms of security. Use a cell protection concept with suitable
products.
• Keep the software up to date. Always use the latest firmware/software version of the device.
Check regularly for security updates of the products and use them. After the release of a new
version, previous versions are no longer supported and are not maintained.
Information regarding product news and new software versions is available at the following
address:
Link: (https://support.industry.siemens.com/cs/ww/en/ps/24224)
• Use the device only for system access control (and not for physical access control).
Physical access
• Restrict physical access to the device to qualified and authorized personnel.
• Restrict access to the configuration cards to qualified and authorized personnel and log their
release.
Security functions
• Only enable functions that you actually need to use the device. Note that, in the factory
setting, all transponders and card types listed below are recognized.
• Make sure that the configuration files are adequately protected. You can, for example,
digitally sign and encrypt the files, store them at a safe location or transfer configuration files
only via secure communication channels.
Firmware/software
Make sure that only firmware created by Siemens is loaded to the device.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 7
Security recommendations
2.1 Security information
Check regularly for new firmware/software versions or security updates and install them.
After the release of a new version, previous versions are no longer supported and are not
maintained.
Decommissioning
Decommission the device properly to prevent unauthorized persons from accessing
confidential data in the device memory.
Reset the device to factory settings for this purpose.
SIMATIC RF1000
8 Operating Instructions, 05/2023, C79000-G8976-C432-10
Security recommendations
2.2 Cell protection concept
Office
Enterprise Network
Enterprise IT Cloud
Service Technician
OT Firewall
Redundat
Industrial Data Center
OT Firewall
Backbone Layer
SCALANCE XR-500 WIN CC UMC Active ...
(PM LOGON) Directory
Aggregation Layer 1
Aggregation Layer
SCALANCE XM-400
SCALANCE XC-200
Industrial Network
SCALANCE SCALANCE
XC-200 SIMATIC HMI XC-200 SIMATIC HMI
SIMATIC MTP1900 TP1200
IPC
SCALANCE
XC-200 SIMATIC SIMATIC
S7-1500 RF1070R
SIMATIC SIMATIC
RF1070R RF1040R
Cell Layer
SIMATIC
S7-1200
SIMATIC
SIMATIC
MV320
RF240R
SIMATIC
Robot SCALANCE SIMATIC ET200SP
MV500
XC-200
Figure 2-1 Schematic display of a cell protection concept for the RF1000 readers
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 9
Security recommendations
2.2 Cell protection concept
SIMATIC RF1000
10 Operating Instructions, 05/2023, C79000-G8976-C432-10
Description 3
3.1 Properties of the reader
Area of application
Companies have been using RFID-based identification card systems for many years. With the
increasing need for security and growing requirements for documentation, solutions are
demanded with which access to machines and plants can be controlled on a user-specific basis.
You can implement these requirements in access secured areas by using the SIMATIC RF1040R,
RF1060R and RF1070R readers and an employee ID card so that machines and plants must be
released with an employee ID before they can be operated. With an appropriate configuration,
the data on the transponders/cards can be encrypted and read only by those devices that have
the appropriate key. You can adapt the readers to your security requirements as needed. This
allows a finely graded access concept to be implemented or user-specific information and
instructions to be stored – all with one card.
For security reasons, you should only operate the readers within a protected area. Make sure
that the USB interface is not openly accessible after installation.
The SIMATIC RF1000 readers are designed for connection to a Windows computer.
Alternatively, they can also be operated on a Linux-based system.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 11
Description
3.1 Properties of the reader
Reader-specific differences
The connection is via a USB interface of the computer. SIMATIC RF1040R and RF1070R
readers can also be connected via the RS232 interface. The RF1070R reader is also available
as an OEM version. This reader variant is identical to the RF1070R, but is supplied with a
neutral front foil. A separate foil can be created as an alternative.
Interface-specific programming
The Siemens support site "Siemens Industry Online Support (https://
support.industry.siemens.com/cs/ww/en/view/109741590)" provides access functions for the
readers in the form of DLL files for Windows, as well as a demo application. With operation
via the USB interface on a PC (Windows), you can implement user identification for access
to your own applications quickly and simply with the help of the DLL file. The reader reads/
processes the serial numbers and data of transponders for this.
If no DLL is available for the interface of your USB device (e.g. HMI Basic Panels), you can
use the configuration card to activate the keyboard emulation for your readers. You can find
detailed information on this in the section "Commissioning (Page 29)". In this mode, the
readers are sending the read data without being prompted to do so.
If SIMATIC RF1040R/RF1070R readers are operated on a communications module via the
RS232 interface, communication is performed using the Freeport protocol.
Features
The following table provides an overview of the characteristics of the RF1000 readers.
SIMATIC RF1000
12 Operating Instructions, 05/2023, C79000-G8976-C432-10
Description
3.2 Connection options and supported transponders
Integration
The following graphics show examples of some of the integration options of the readers.
5SBOTQPOEFS
1$1(
3'3
4*."5*$).*XJUI
&YUFOTJPO6OJUBOE
3'3
5SBOTQPOEFS
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 13
Description
3.2 Connection options and supported transponders
✓: Reading the serial number as well as reading and writing the user memory area
SIMATIC RF1000
14 Operating Instructions, 05/2023, C79000-G8976-C432-10
Description
3.2 Connection options and supported transponders
✓: Reading the serial number as well as reading and writing the user memory area
1)
Transponder card must be formatted.
2)
An identification card is required to access encrypted user memory areas (see section
"Commissioning").
3)
Only for read access. Write access to the user memory area is not possible.
4)
The license must be transferred to the reader with a license card (HID).
In addition to the specified protocols and card types, a variety of transponder cards are
generally supported by the readers. If you cannot find the card type that you use in the table,
you can ask Siemens Customer Support about the functionality.
Note that serial numbers (UIDs) of transponders that begin with the byte "0x08" are
always newly generated by the transponder. This makes an assignment of serial numbers
and transponders impossible. For transponders with a combo-chip (e.g. LEGIC CTC4096),
the serial number of the LEGIC Prime chip is always read and not that of the ISO chip
14443/15693. For transponders with two integrated chips (125 kHz / 13.56 MHz), you must
ensure which chip is addressed via the reader configuration.
SIMATIC RF1000 readers can also recognize multiple transponders that are simultaneously
located in the antenna field. You can find information on selecting multiple transponders in
the section "vhl_select (Page 43)".
The reader can be addressed and controlled by functions, for example to change the status of
the reader or to communicate with a transponder. With the aid of the functions, you can for
example control the three-color reader LED. The functions and their calls are described in this
manual.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 15
Description
3.2 Connection options and supported transponders
SIMATIC RF1000
16 Operating Instructions, 05/2023, C79000-G8976-C432-10
Installation 4
Depending on the operating environment, you can install the RF1000 readers inside a wall or
control cabinet (in-wall/cabinet installation) as well as on a wall or table (surface/table
installation). When installing the readers inside or on a wall, you may also want to install a card
holder. However, if the readers are to be operated in a cleanroom, you must "seal" the readers
using a silicone joint and the matching cleanroom cover.
Installation types and options:
• In-wall or cabinet installation
– without accessories
– with card holder "6GT2890-0CA00" or
– with cleanroom cover cabinet installation "6GT2890-0CD00" (relevant for operation in a
cleanroom)
• Surface or table installation
– with table/wall housing "6GT2890-0CB00" and
– with card holder "6GT2890-0CA00" and/or
– with cleanroom cover surface installation "6GT2890-0CC00" (relevant for operation in a
cleanroom)
NOTICE
Interference due to metallic environments
Electrically conductive materials can interfere with the HF field of the reader to the point that
it is completely shielded. Observe the following guidelines to avoid interference:
• Ensure that there is no metal between reader and transponder.
Coins and other metal parts that are significantly smaller than the transponder antenna,
usually do not cause any interference.
• Ensure that there is no metal close to the rear of the transponder.
Observe a minimum clearance that is at least half the size of the transponder diameter or
the card width.
• When installed in metal, note that the read/write range and the detection reliability can be
restricted. if the antenna of the transponder is larger than the antenna of the reader (57 x
35 mm).
Note that a short test with a number of example cards is not sufficient to test how large the
metal-free area around the reader must be. Even in the event of a positive result,
communication failures can occur during operation. This is due to deviations in card antennas,
card IC parameters and RFID interface parameters, which can influence both energy transfer
and the quality of the data transfer.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 17
Installation
NOTICE
Using the reader in a cleanroom
Note that when operating the reader in a cleanroom, the cleanroom cover must be installed
and the reader or the table/wall housing must be sealed with a silicone joint.
Recommendations for the silicone joint:
• Silicone recommended for cleanroom: Silirub Cleanroom
• Radius of the joint tool for wiping: 5 mm
NOTICE
Repair and maintenance
Do not try to repair the reader in case of a problem. Repair and maintenance work must only
be carried out by qualified personnel. Contact Siemens Support in case of repair or
maintenance problems. For more information, refer to the section "Service & Support".
Required tools
The following tool is required:
• Torx screwdriver (T10)
• Slotted screwdriver
• If necessary, caulking gun, silicone cartridge and joint tool (relevant for operation in a
cleanroom)
Accessories required
Depending on the type of installation, you may require the following accessories to install the
reader:
• for in-wall or cabinet installation
– If necessary, card holder "6GT2890-0CA00" or
– If necessary, cleanroom cover cabinet installation "6GT2890-0CD00" (relevant for
operation in a cleanroom)
• for surface or table installation
– table/wall housing "6GT2890-0CB00"
– 4x screws (∅ 4 mm) and matching anchors
– If necessary, card holder "6GT2890-0CA00" or
– If necessary, cleanroom cover surface installation "6GT2890-0CC00" (relevant for
operation in a cleanroom)
SIMATIC RF1000
18 Operating Instructions, 05/2023, C79000-G8976-C432-10
Installation
NOTICE
Protection class dependent on type of installation
Note that the protection class of the reader depends on the type of installation. If the reader is
installed inside a wall (in-wall installation), the reader has degree of protection IP65 on the
front. If the reader is installed using the table/wall housing on a wall or on a table (surface/table
installation), the reader has degree of protection IP41.
NOTICE
Installation conditions
• The thickness of the wall on which the reader is mounted must be 2-7 mm.
• The installation opening must have the following dimensions: 76.5 (± 0.3) × 48.5 (± 0.3)
mm
Follow the steps below to install the RF1000 reader inside a wall or in a control cabinet:
1. When operating via the RS232 interface:
Replace the pre-installed USB cable with the supplied RS232 cable as described in the section
"Connecting (Page 25)".
2. Optionally when using the cleanroom cover:
Drill condensate holes below the installation opening.
q
q
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 19
Installation
3. Optional: Depending on your requirements, install the card holder or the cleanroom cover.
– When using a card holder:
Place the card holder on the side of the reader housing and press it over the reader front
so that the card holder locks in place.
Note that you cannot use the card holder in combination with the cleanroom cover.
– When using the reader in a cleanroom:
Place the cleanroom cover on the side of the reader housing and press it over the reader
front so that the cover locks in place.
Note that you cannot use the cleanroom cover in combination with the card holder.
4. Push the reader through the mounting opening intended for this purpose (76.5 [± 0.3] ×
48.5 [± 0.3] mm) ①.
Make sure that the reader locks in place so that it cannot fall out.
5. Mount the cover plate on the rear of the reader with the 4 Torx screws (max. 1.5 Nm) ②.
6. Attach the reader by tightening the 4x stud screws ③.
Ensure that the reader housing is flush with the base and that the circumferential gap is < 0.5
mm.
/N
SIMATIC RF1000
20 Operating Instructions, 05/2023, C79000-G8976-C432-10
Installation
NOTICE
Cleanroom cover: Non-detachable connection
Note that the connection between the cleanroom cover in connection with the table/wall
housing is a non-detachable connection. Attempting to remove the cover deforms or tears off
the snap-in clips of the cover.
NOTICE
Installation condition
Note the dimensions of the mounting holes in case of surface mounting.
Figure 4-3 Drill pattern for surface mounting with the table/wall housing
Follow the steps below to install the RF1000 reader on a wall or table:
1. Open the table/wall housing by sliding the screwdriver into the grooves on the front of the
table/wall housing and carefully pry it off to the side ①.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 21
Installation
4. Push the reader through the opening intended for this purpose in the table/wall housing.
Make sure that the connected cable is routed through one of the rectangular cutouts in the
rear panel of the housing.
5. Turn the table/wall housing, together with the reader contained therein, to the front so that
the rear of the table/wall housing is at the top.
6. Fasten the reader in the table/wall housing by installing the reader in the housing ② using
the 4x Torx screws (max. 1.5 Nm) and the four inside mounting holes of the table/wall
housing.
/N
SIMATIC RF1000
22 Operating Instructions, 05/2023, C79000-G8976-C432-10
Installation
7. Optional: Follow these steps depending on whether you want to install the reader on a wall
or a table:
– With surface installation on a wall:
Position the table/wall housing at the desired location (wall) and install the table/wall
housing using four screws (∅ 4 mm) and the external mounting holes of the housing ③.
Make sure that the connecting cable is routed through the mounting cutout in the
housing. When using a cleanroom cover, the connecting cable must be routed to the rear.
– When installing on a table:
As an alternative to installing the reader on a table, you can place the reader installed in
the table/wall housing on a table.
Make sure that the connecting cable is routed through the mounting cutout in the
housing. When using a cleanroom cover, the connecting cable must be routed to the rear.
Note
Cable routing
Make sure that the connecting cable is routed without any interference. In case of a surface
installation, the housing bottom (with the cutout for the connecting cable) should always
point down.
Figure 4-6 Surface installation of the SIMATIC RF1000 reader using the table/wall housing
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 23
Installation
SIMATIC RF1000
24 Operating Instructions, 05/2023, C79000-G8976-C432-10
Connecting 5
Depending on the operating environment, you can operate the RF1000 readers using a USB or
an RS232 interface.
NOTICE
Permissible power supply
The equipment is designed for operation with a Safety Extra-Low Voltage (SELV) system via a
Limited Power Source (LPS) and must only be operated with 5 V DC. The power supply must
therefore meet one of the following conditions:
• Only SELV / LPS complying with IEC 60950-1 / EN 60950-1 / VDE 0805-1 or IEC 62368-1 / EN
62368-1 / VDE 62368-1 can be connected to the power supply terminals.
• The power supply unit for the device must meet NEC Class 2 according to the National
Electrical Code (r) (ANSI / NFPA 70).
Required tools
When using the RS232 interface, you need to attach the corresponding cable to the reader first.
You require the following tools for this purpose:
• Torx screwdriver (T10)
• Additional tools depending on the connector used
Accessories required
Depending on the device to which the reader will be connected, you may need the following
accessories for connecting the reader:
• For communication via the USB interface,
the pre-assembled connecting cable included in the scope of delivery
• For communication with the SIMATIC F120C communication module via the RS232 interface
the connecting cable (6GT2891-6UH20)
• For communication with a SIMATIC RF166C, RF170C or RF18xC/RF18xCI communication
module via the RS232 interface
the connecting cable (6GT2891-4UH20)
• For communication via the RS232 interface with any serial module,
the connecting cable with open ends (6GT2891-2UH30)
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 25
Connecting
The table below contains the connector assignment for the connecting cable with open ends
(6GT2891-2UH30).
When connecting the SIMATIC RF1000 reader to a serial communications module, ensure
that you wire the devices as illustrated below.
SIMATIC RF1000
26 Operating Instructions, 05/2023, C79000-G8976-C432-10
Connecting
6HULDO 6,0$7,&5)
FRPPXQLFDWLRQVPRGXOH
5[' 5['
7[' 7['
*1'
9
9'&
① Red ③ Brown
② Black ④ Orange
Figure 5-2 Connection diagram: Connecting the reader to a serial communications module
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 27
Connecting
SIMATIC RF1000
28 Operating Instructions, 05/2023, C79000-G8976-C432-10
Commissioning 6
The procedure for installing and commissioning the reader depends on the interface over which
the reader is being operated.
Linux environment
You can also operate the SIMATIC RF1000 reader in a Linux environment. The programming
in Linux is made via an API and Software Development Kit. For additional information,
contact the Siemens Industry Online Support (Page 93).
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 29
Commissioning
You will find more information on the freeport protocol in the section "Programming via the
RS232 interface (using the Freeport protocol) (Page 53)".
License cards
You can transfer a HID license to a SIMATIC RF1040R reader using a license card. Note that a
single license is saved on each license card which you can transfer to a reader once. With this
process, the license card is automatically linked to the serial number of the reader.
The following options are available for transferring a license card to a reader using a license
card:
• Using the demo application ("AccessControlDemo.exe")
Start the demo application, click the "Start" button and select the "Read Data (auto)" or
"Configcard"check box while the license card is in the antenna field of the reader.
• Programming your own application using the "Autoread_SetMode" or "vhl_select" function
with "AllowConfig = true"
When programming your own application, you need to set the "param = 1" tag when calling
the "exec_command" function and then hold the license card in the antenna field of the
reader. After you have transferred the license, the reader automatically restarts.
SIMATIC RF1000
30 Operating Instructions, 05/2023, C79000-G8976-C432-10
Commissioning
The rewritable configuration cards are supplied in packs of five. Two of the supplied cards are
unwritten, while three cards are written with sample configurations. These are identified
by the corresponding labels on the rear of the configuration card. You can also order
configuration cards with preset, customer-specific configurations. To do this, please contact
Service & Support (Page 93).
You will find more detailed information on the configuration card in the configuration manual
"SIMATIC RF1000 (https://support.industry.siemens.com/cs/ww/en/ps/24223/man)".
VHL functions
VHL stands for "Very High Level". VHL functions have a higher priority and are valid for
all card systems supported by the reader. The card system-specific details are in the VHL
functions of a configuration. By using VHL functions it is possible, for example, to change
the card system without having to adapt the code to the application - provided that the
configuration stored in the reader has been adapted accordingly.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 31
Commissioning
SIMATIC RF1000
32 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming 7
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.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 33
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
synchronizes the card in the antenna field with the stored configurations. If a match is found,
the corresponding memory area is read and output with "Autoread_GetMessage".
In "Autoread" mode, after a card has been detected by the user, the data must be fetched
using the "Autoread_GetMessage" function within 5 seconds. Otherwise, this data is lost.
You can program the reader using access functions. You can find the "RF1000R.zip" file on the
Siemens support page "Siemens Industry Online Support (https://
support.industry.siemens.com/cs/ww/en/view/109741590)". It includes the DLL files
("BrpDriver_x64" and "BrpDriver_x86"), the DLL functions as well as a demo application which
demonstrates the use of the DLL functions.
With the demo application "AccessControlDemo" you can address the reader directly from
your application via the USB interface. A precompiled DLL file for Windows systems that
provides this function is included in the package.
The DLL files provide various DLL functions for communication with the reader for integration
in your application. The reader has return values and status codes to inform you of the reader
status and execution of the functions.
You can integrate the DLL files in your application under Microsoft Windows 7/8/10 and use
them to call the described functions directly.
7.2.1.1 brp_open_usb_session
The function opens a connection to the reader via the USB interface and returns a session key
that is required for all functions and continued communication via this connection. If the
connection was successfully established, the value "BRP_OK" is returned.
SIMATIC RF1000
34 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Note that all the following functions, when operating via the USB interface, can
only be performed once a connection to the reader has been established with the
"brp_open_usb_session" function. If this is not the case, an error is signaled back.
Note
Parallel operation not possible
Note that with the application, a connection can only be established to one reader at any one
time. For this reason "brp_open_usb_session" may only be called once and before it can be called
again must first be closed by the function "brp_close_session".
After a "brp_open_usb_session", the parameter "Handle" must always be = "0". If the parameter
≠ "0", there is either an error or the function "brp_open__usb_session" was called several times
in succession.
Function call
int
brp_open_usb_session(
int * Handle,
DWORD ProductID
);
Parameter Description
brp_open_usb_session This function call opens a connection to the reader via the USB interface.
Handle Session key initialized by this function. The session key is valid as soon as
"BRP_OK" is returned.
ProductID 0x00
Return value • BRP_OK
• BRP_ERR_BUSY
• BRP_ERR_GENERAL_IO
• BRP_ERR_BUFFER_OVERFLOW
• BRP_ERR_NO_MORE_HANDLES
• BRP_ERR_INSUFFICIENT_MEM
You will find more information on return values in the section "Return values
(Page 52)".
7.2.1.2 brp_open_serial_session
The function opens a connection to the reader via the RS232 interface and returns a session key
that is required for all functions and continued communication via this connection. If the
connection was successfully established, the value "BRP_OK" is returned.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 35
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Note that all the following functions, when operating via the RS232 interface, can
only be performed once a connection to the reader has been established with the
"brp_open_serial_session" function. If this is not the case, an error is signaled back.
Note
Parallel operation
Note that you can operate several RF1040R/RF1070R readers in parallel via the RS232 interface
or with the help of a COM port emulator.
Function call
int
brp_open_serial_session(
int * Handle,
int com_port,
ser_baudrate baudrate,
ser_parity parity
);
SIMATIC RF1000
36 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
brp_open_serial_ses‐ This function call opens a connection to the reader via the RS232 interface.
sion
Handle Session key initialized by this function. The session key is valid as soon as
"BRP_OK" is returned.
com_port Number of the COM port
Possible values:
• 0x00: COM1
• 0x01: COM2
• ...
ser_baudrate bau‐ Transfer speed [Baud]
drate typedef enum {ser_baud_xxx} ser_baudrate;
Possible values:
• 0x00: ser_baud_300
• 0x02: ser_baud_600
• 0x03: ser_baud_1200
• 0x04: ser_baud_2400
• 0x05: ser_baud_4800
• 0x06: ser_baud_9600
• 0x07: ser_baud_14400
• 0x08: ser_baud_19200
• 0x09: ser_baud_28800
• 0x0A: ser_baud_38400
• 0x0B: ser_baud_57600
• 0x0C: ser_baud_115200 (Default)
• 0x0D: ser_baud_576000
• 0x0E: ser_baud_921600
• 0x0F: ser_baud_500000
ser_parity parity Parity value
typedef enum {ser_par_xxx} ser_parity;
Possible values:
• 0x00: ser_par_none
• 0x01: ser_par_odd
• 0x02: ser_par_even
Return value • BRP_OK
• BRP_ERR_BUSY
• BRP_ERR_GENERAL_IO
• BRP_ERR_BUFFER_OVERFLOW
• BRP_ERR_NO_MORE_HANDLES
• BRP_ERR_INSUFFICIENT_MEM
You will find more information on return values in the section "Return values
(Page 52)".
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 37
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
7.2.1.3 brp_set_checksum
You start a checksum algorithm with this function. The checksum allows you to check/protect
the communication via the RS232 interface. This check is performed automatically when
communicating via the USB interface.
Function call
int
brp_set_checksum(
int Handle,
int checksum
);
Parameter Description
brp_open_usb_session Function call to configure the checksum algorithm
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
checksum Definition of the checksum procedure:
• 0x00: BRP_CECKSUM_NONE (Default)
• 0x01: BRP_CECKSUM_BCC8
• 0x02: BRP_CECKSUM_CRC16
• 0x03: BRP_CECKSUM_BCC16
Return value • BRP_OK
• BRP_ERR_BUSY
You will find more information on return values in the section "Return values
(Page 52)".
7.2.1.4 brp_set_bufsize
This function allows you to define the buffer size for the job and response telegrams. The
maximum permissible buffer size depends on the reader type used. Note that the buffer size is
automatically set to the default value of 128 bytes after the restart.
Function call
int
brp_set_bufsize(
int Handle,
int TotalBufsize,
int SendBufsize,
int RecvBufsize
);
SIMATIC RF1000
38 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
brp_set_bufsize Function call to configure the buffer size for the request and response tele‐
grams
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
TotalBufsize Specifying the maximum size of the job and response telegram
• Default value: 128 bytes (data length 122 bytes)
• RF1060R: max. 512 bytes (data length 506 bytes)
• RF1040R/RF1070R: max. 1024 bytes (data length 1018 bytes)
SendBufsize Specifying the maximum size of the request telegram
• Default value: 128 bytes (data length 122 bytes)
• RF1060R: max. 512 bytes (data length 506 bytes)
• RF1040R/RF1070R: max. 1024 bytes (data length 1018 bytes)
RecvBufsize Specifying the maximum size of the response telegram
• Default value: 128 bytes (data length 122 bytes)
• RF1060R: max. 512 bytes (data length 506 bytes)
• RF1040R/RF1070R: max. 1024 bytes (data length 1018 bytes)
Return value • BRP_OK
• BRP_ERR_BUSY
You will find more information on return values in the section "Return values
(Page 52)".
7.2.1.5 brp_close_session
This function terminates an existing connection to the reader that was previously established.
Function call
int
brp_close_session(
int Handle
);
Parameter Description
brp_close_session This function call terminates a connection.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
Return value • BRP_OK
• BRP_ERR_WRONG_HANDLE
You will find more information on return values in the section "Return values
(Page 52)".
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 39
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
7.2.1.6 syscmd_reset
This function restarts the reader.
Note that you wait for about 3 seconds after the function "syscmd_reset" and then have to
execute the functions "brp_close_session" and "brp_open_usb_session" once again.
Function call
int
syscmd_reset (
int Handle,
int * Status
);
Parameter Description
syscmd_reset This function call restarts the reader.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
Status OK
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
7.2.1.7 syscmd_get_info
The function reads out information about the firmware of the reader.
The value read out contains information on the type of firmware, the version and the serial
number of the reader.
Function call
int
syscmd_get_info(
int Handle,
char * fws,
int * Status
);
SIMATIC RF1000
40 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
syscmd_get_info This function call reads out information about the firmware of the reader.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
fws This parameter contains information on the type of firmware, the version and
the serial number of the reader.
Format: xx...xx r.rr.rr dd/dd/dd ssssssss
xx...xx Firmware type
r.rr.rr Version (major release, minor release, build ID)
dd/dd/dd Date of the version
ssssssss Serial number of the reader
Status OK
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
7.2.1.8 syscmd_get_boot_status
The function returns a boot status.
Each bit of the value returned by the function represents an internal component of the
reader. If the component of the reader could not be initialized the corresponding bit is set.
Check the value of "boot_status" for the value "0" and output an error or a warning if the
values do not match.
Function call
int syscmd_get_boot_status(
int Handle,
dword * boot_status,
int * Status
);
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 41
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
syscmd_get_boot_sta‐ This function call returns a boot status value.
tus
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
boot_status Each bit represents an internal component of the reader.
Status OK
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value You will find more information on return values in the section "Return values
(Page 52)".
Note
Value of boot status not equal to "0"
If the function returns a value not equal to "0", please contact "Service & Support".
7.2.1.9 syscmd_set_port
You can use this function to assign parameters to the LEDs and the acoustic signal of the reader.
In this way, you can view reader status changes or feedback from the application (e.g. incorrect
authentication) via the LED and the acoustic signal.
You can select the desired LED color and/or the acoustic signal using the "port_mask"
parameter. You will find a list of possible values in the following table.
Note that the LED function is pre-assigned at the factory. The readiness for operation of the
readers is indicated by a green LED and the presence of a transponder by a yellow LED.
Function call
int
syscmd_set_port(
int Handle,
word port_mask,
int * Status
);
SIMATIC RF1000
42 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
syscmd_set_port This function call sets the LED of the reader.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
port_mask Each value of the parameter is assigned to a specific LED color or the acoustic
signal.
Status OK
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
0x0006 Acoustic signal (only for RF1040R/RF1070R) and LED lit red
0x0007 Acoustic signal (only for RF1040R/RF1070R) and LED lit yellow
7.2.1.10 vhl_select
With the help of this function you select a card located in the antenna field. If successful, the
status "OK" is returned.
The type of the selected card is returned in the parameter "CardType".
With the "vhl_select" function you can select the card located in the antenna field of the
reader. When "VHLSelect" is called again, the currently selected card is changed to the "Hold
mode" and "vhl_select" returns the value "NOTAG_ERR".
If you want to select a card again without removing it physically from the antenna field, you
need to set the "Reselect" parameter to "true". If there are several cards in the antenna field
of the reader and you want to select all cards, set the parameter "Reselect = false". Then call
the "vhl_select" function until all cards in the antenna field are recognized. If no new card is
detected, "CARD_NOT_SELECTED_ERR" is returned.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 43
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Function call
int
vhl_select(
int Handle,
word CardTypeMask,
bool Reselect,
bool AllowConfig,
byte * CardType,
int * Status
);
Parameter Description
vhl_select You can use this function to select a card located in the antenna field.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
CardTypeMask Use this parameter to specify the card family to be recognized. When all card
families should be detected, set the parameter to the value "0xFFFF" (see
following table).
Reselect Select "Reselct = true" if there is only one card in the antenna field which should
be detected. Select "Reselct = false" if there are several cards in the antenna
field which should be detected.
AllowConfig This value is "true" when a configuration card is to be read. In normal opera‐
tion, the value must be set to "false" to prevent unintentional acceptance of
the reader configuration.
CardType The returned value indicates the card type (see following table).
Status • OK
• NOTAG_ERR
• HF_ERR
• HW_ERR
• CONFCARD_READ
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You can find more information on return values in the section "Return values
(Page 52)".
The "CardTypeMask" parameter allows only specific card families to be selected. If you want
to select all cards supported by the hardware of the reader, you need to set the parameter to
"0xFFFF". The more significant half byte of the "CardType" parameter specifies the card family
(1-6) while the less significant half byte (X) refers to the recognized card type.
SIMATIC RF1000
44 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
7.2.1.11 vhl_get_snr
The function returns the serial number of the currently selected card. If the function "vhl_select"
could not be executed earlier or the card is no longer in the antenna field, the value
"CARD_NOT_SELECTED_ERR" (status code "0x0102") is returned. In this case, an undefined serial
number is returned. Note that the least significant byte of the serial number is output first. For
RF200/RF300 readers, the most significant byte is usually output first.
Function call
int
vhl_get_snr(
int Handle,
byte * Snr,
byte * Length,
int * Status
);
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 45
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
vhl_get_snr This function call returns the serial number of the currently selected card.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
Snr Serial number of the card (LSB first)
Length Length of the serial number in bytes
Status • OK
• CARD_NOT_SELECTED_ERR
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
• CARD_NOT_SELECTED_ERR
You will find more information on return values in the section "Return values
(Page 52)".
7.2.1.12 vhl_is_selected
This function checks whether the card selected the last time the "vhl_select" function was
executed is still or once again located in the antenna field. If the card is there, the status "OK" is
returned.
Note that this function always returns the return value "CARD_NOT_SELECTED_ERR" when a
card is displayed to the reader without the "vhl_select" function being executed first.
Function call
int
vhl_is_selected(
int Handle,
int * Status
);
Parameter Description
vhl_is_selected This function call checks if the card selected during the last execution of the
"vhl_select" function is still in the antenna field or if it has returned to the
antenna field.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
Status • OK
• CARD_NOT_SELECTED_ERR
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
SIMATIC RF1000
46 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
7.2.1.13 vhl_read
This function reads the memory area which is stored in a VHL function previously stored in the
reader. The "VHLFile" parameter is used to reference the VHL function stored in the reader. With
the configuration stored in the reader ex works, you can read out an ISO 15693 transponder
from address 0 via "VHLFile = 255".
When a card is located in the antenna field and the function was completed, the status "OK"
is returned.
Note that this function always returns the return value "CARD_NOT_SELECTED_ERR" when a
card is displayed to the reader without the "vhl_select" function being executed first.
Function call
int
vhl_read(
int Handle,
byte VHLFile,
word Address,
word Length,
byte * Data,
int * Status
);
Parameter Description
vhl_read This function call reads a previously defined memory area from the card.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
VHLFile ID of the VHL function that is to be used.
Address Start address of the data that is going to be read.
Length Length of the data that is going to be read as of the start address.
Data Area in which the received data is stored (max. 65535 bytes).
Status • OK
• CARD_NOT_SELECTED_ERR
• HF_ERR
• HW_ERR
• CONFIG_ERR
• AUTH_ERR
• READ_ERR
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 47
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
7.2.1.14 vhl_write
This function writes data to a memory area that is stored in a VHL function previously stored in
the reader. The VHL configuration stored in the reader is configured via the "VHLFile" parameter.
With the configuration stored in the reader ex works, you can write to an ISO 15693 transponder
from address 0 via "VHLFile = 255".
When a card is located in the antenna field and the function was completed, the status "OK"
is returned.
Note that this function always returns the return value "CARD_NOT_SELECTED_ERR" when a
card is displayed to the reader without the "vhl_select" function being executed first.
Function call
int
vhl_write(
int Handle,
byte VHLFile,
word Address,
word Length,
byte * Data,
int * Status
);
Parameter Description
vhl_write This function call writes data into a previously defined memory area of the
card.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
VHLFile ID of the VHL function that is to be used.
Address Start address of the data that is going to be written.
Length Length of the data that is going to be written as of the start address.
Data Area in which the written data is stored (max. 65535 bytes).
Status • OK
• CARD_NOT_SELECTED_ERR
• HF_ERR
• HW_ERR
• CONFIG_ERR
• AUTH_ERR
• READ_ERR
You can find more detailed information on the reader status in the section
"Status codes (Page 66)".
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
SIMATIC RF1000
48 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Function call
int
brp_exec_command(
int Handle,
byte devcode,
byte cmdcode,
byte * param,
byte param_len,
init timeout,
init * Status,
byte * resp,
int * resp_len,
init max_resp_len
);
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 49
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
brp_exec_command The parameter activates/deactivates the "Autoread" function.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
devcode 0x05
cmdcode 0x00
param Buffer for the function parameters:
• 0x00: The "Autoread" functionality is deactivated and VHL functions can be
used.
• 0x01: The "Autoread" functionality is permanently switched on. There is a
permanent check as to whether a card is located in the antenna field.
• 0x02: The "Autoread" functionality is executed once as soon as a card
enters the antenna field. This is followed by a switch to VHL mode. The card
identification is executed one more time with another call using the pa‐
rameter value 0x02.
param_len 0x01
timeout Time in [ms] until the action is aborted (500 is the recommended value).
Status OK
You will find more information on the reader status in the section "Status codes
(Page 66)".
resp Buffer for the received data
resp_len Current length of the response data in bytes
max_resp_len Maximum length of the response data
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
Function call
int
brp_exec_command(
int Handle,
byte devcode,
byte cmdcode,
byte * param,
byte param_len,
init timeout,
init * Status,
byte * resp,
int * resp_len,
init max_resp_len
);
SIMATIC RF1000
50 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
brp_exec_command This function call reads data from the transponder located in the antenna field.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
devcode 0x05
cmdcode 0x01
param --
param_len 0x00
timeout Time in [ms] until the action is aborted (100 is the recommended value).
Status • OK
• ERR_NOMESSAGE
• ERR_AR_DISABLED
You will find more information on the reader status in the section "Status codes
(Page 66)".
resp Buffer for the received data
• Byte 0: Message type (0x00 for card identification)
• Byte 1: Message length in bytes
• Byte 2: ... message length +1: Message data
resp_len Current length of the response data in bytes
max_resp_len Maximum length of the response data
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
Function call
int
brp_exec_command(
int Handle,
byte devcode,
byte cmdcode,
byte * param,
byte param_len,
init timeout,
init * Status,
byte * resp,
int * resp_len,
init max_resp_len
);
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 51
Programming
7.2 Programming via USB/RS232 interface (using DLL functions)
Parameter Description
brp_exec_command This function call provides information on the licenses available on the reader.
Handle The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
devcode 0x00
cmdcode 0x29
param --
param_len 0x04
timeout Time in [ms] until the action is aborted (500 is the recommended value).
Status • OK
You will find more information on the reader status in the section "Status codes
(Page 66)".
resp Screen form for the license:
Byte 3:
• Bit 0:
– 0: No HID license found.
– 1: HID license found.
• Bit 3:
– 0: No BLE license found.
– 1: BLE license found.
resp_len Current length of the response data in bytes (4)
max_resp_len Maximum length of the response data
Return value • BRP_OK
You will find more information on return values in the section "Return values
(Page 52)".
SIMATIC RF1000
52 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 53
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
Table 7-21 Setting options in the "Module parameters" parameter group of the CM when using the
freeport protocol
Alternatively, the connection can be made using a serial module with RS232 interface and
P2P communication (e.g. ET 200SP CM PTP).
Application example
The following link shows an application example for connecting the RF1040R/RF1070R readers
via an RF170C communication module.
Application example (https://support.industry.siemens.com/cs/ww/en/view/109770535)
SIMATIC RF1000
54 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2 Commands
For a textual description of how the various commands work, refer to the section "Functions of
the USB/RS232 interface for Windows (Page 34)".
7.3.2.1 syscmd_reset
Max. reader response time: 100 ms
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 55
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.2 syscmd_get_info
Max. reader response time: 50 ms
7.3.2.3 syscmd_get_boot_status
Max. reader response time: 50 ms
SIMATIC RF1000
56 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.4 syscmd_set_port
Max. reader response time: 100 ms
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 57
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.5 syscmd_get_licenses
Max. reader response time: 100 ms
SIMATIC RF1000
58 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.6 vhl_select
Max. reader response time: 3 s
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 59
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.7 vhl_get_snr
Max. reader response time: 100 ms
SIMATIC RF1000
60 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.8 vhl_is_selected
Max. reader response time: 3 s
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 61
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.9 vhl_read
Max. reader response time: 3 s
SIMATIC RF1000
62 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.10 vhl_write
Max. reader response time: 3 s
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 63
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.11 Autoread_SetMode
Max. reader response time: 100 ms
SIMATIC RF1000
64 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.3 Programming via the RS232 interface (using the Freeport protocol)
7.3.2.12 Autoread_GetMessage
Max. reader response time: 100 ms
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 65
Programming
7.4 Status codes
SIMATIC RF1000
66 Operating Instructions, 05/2023, C79000-G8976-C432-10
Programming
7.4 Status codes
The following table contains a list of the status codes of the VHL command set divided up
into command groups.
The functions are constructed so that if execution fails, they are automatically repeated. This
compensates any communications problems that may occur, e.g. due to bad RF signal quality
as a result of external influences.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 67
Programming
7.4 Status codes
SIMATIC RF1000
68 Operating Instructions, 05/2023, C79000-G8976-C432-10
Demo application 8
The demo application contained in the file "RF1000R_Vxxx.exe" helps you to understand the
available functions. You will find the file on the Siemens "Siemens Industry Online Support
(https://support.industry.siemens.com/cs/ww/en/view/109741590)".
The available software package contains a demo application based on "Windows .NET 3.5"
including source code files. This demo application serves as a model on the basis of which
you can program your own user application. The demo application includes all the functions
described in the following sections and is fully functional. This gives you the opportunity of
testing your readers directly using the demo application.
Note
Disclaimer of liability
Note that Siemens AG accepts no liability for the demo application.
Requirement
To work with the demo application, .NET 3.5 must be installed on your PC (Windows) and the
"RF1000R_Vxxx.exe" file must be unzipped.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 69
Demo application
8.1 User interface of the demo application
SIMATIC RF1000
70 Operating Instructions, 05/2023, C79000-G8976-C432-10
Demo application
8.1 User interface of the demo application
Buttons
START Establishes the USB connection to the reader.
STOP Terminates the USB connection to the reader.
LED Color Switches the LED color and activates the acoustic signal.
Clear Emptying the top display area.
ReadData Manual reading of the transponder data.
WriteData Manual writing of the transponder data.
Option buttons / check boxes and drop-down list
USB Operation via the USB interface
RS232 Operation via the RS232 interface (or via the USB interface with COM port
emulation)
COM Selection of the COM port used
Read SerNr Read the serial number and the card type.
Read Data (auto) Automatic reading of the transponder data depending on the specific card type
configuration.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 71
Demo application
8.2 Creating a custom application
The version number of the demo application is shown at the bottom right in the application.
2. Use the option buttons to select the interface via which the reader is operated ("USB" / "RS232
COM").
3. Click the "Start" button to set up the connection to the reader and start the selected action.
SIMATIC RF1000
72 Operating Instructions, 05/2023, C79000-G8976-C432-10
Demo application
8.2 Creating a custom application
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.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 73
Demo application
8.2 Creating a custom application
SIMATIC RF1000
74 Operating Instructions, 05/2023, C79000-G8976-C432-10
Demo application
8.2 Creating a custom application
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 75
Demo application
8.2 Creating a custom application
SIMATIC RF1000
76 Operating Instructions, 05/2023, C79000-G8976-C432-10
Demo application
8.2 Creating a custom application
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 77
Demo application
8.2 Creating a custom application
SIMATIC RF1000
78 Operating Instructions, 05/2023, C79000-G8976-C432-10
Technical specifications 9
9.1 Technical specifications of SIMATIC RF1000
6GT2831-6xAx0
6GT2831-6BAx0-0AX0
Product type designation SIMATIC RF1040R
SIMATIC RF1060R
SIMATIC RF1070R
Radio frequency
Operating frequency
• RFID • RF1040R: 125 kHz; 13.56 MHz
• RF1060R: 13.56 MHz
• RF1070R: 13.56 MHz
• BLE • 2.402 ... 2.48 GHz
Protocol for wireless transmission RF1040R, RF1060R, RF1070R:
ISO 14443 A/B, ISO 15693, LEGIC advant, MIFARE
Classic, MIFARE DESFire, MIFARE Plus, MIFARE Ul‐
tralight, HID iClass, NXP NTAG21x, FeliCa
BLE for wireless communication
RF1040R (in addition):
EM4100/EM4102, EM4450/EM4550, HITAG 1, HI‐
TAG S, HITAG 2, Keri, SecuraKey, AWID, ioProxy
RF1070R (in addition):
LEGIC prime
Electrical data
Maximum transmission power • RF1040R:
– 125 kHz: < 50 mW
– 13.56 MHz: 250 mW
• RF1060R: 250 mW
• RF1070R: 200 mW
Maximum range 30 mm
Mechanical specifications
Housing
• Material • Lexan EXL5689
• Color • TI-Gray
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 79
Technical specifications
9.1 Technical specifications of SIMATIC RF1000
6GT2831-6xAx0
6GT2831-6BAx0-0AX0
Interfaces
Interface to the communications module • USB 2.0, Type A
(480 Mbps)
• RS232
(115.2 kBd; no parity) 1)
RFID Integrated antenna
BLE Integrated antenna
(default: deactivated)
SIMATIC RF1000
80 Operating Instructions, 05/2023, C79000-G8976-C432-10
Technical specifications
9.2 Technical specifications, RF1100T Configuration Card
6GT2831-6xAx0
6GT2831-6BAx0-0AX0
• Surface/table installation • 4 x Torx screws (EJOT) T10 x 10;
Tightening torque ≤ 1.5 Nm
• Surface installation: 4x screws M4 or 4 mm
• Table installation: 4x rubber stoppers
Cable length reader ↔ communications module USB connection cable: 1.8 m
RS232 connection cable: 2 or 3 m
Display elements • LED, 3 colors
• Acoustic sensor 4)
Approvals CE / FCC / IC
MTBF 28 years
1)
Only in conjunction with the SIMATIC RF1040R reader as of product version "AS: A" and SIMATIC
RF1070R as of product version "AS: B", and SIMATIC RF1070R OEM as of product version "AS: A".
2)
The minimum distance can be lowered if, from an application point of view, it is permissible that a
transponder can also be read by an adjacent reader.
3)
IP67 or IP65 in connection with the cleanroom cover and sealing of the table/wall housing
4)
Only for the SIMATIC RF1040R and SIMATIC RF1070R readers
6GT2300-0CC00-0AX0
Product type designation SIMATIC RF1100T
Memory
Memory configuration
• UID • 7 bytes
• User memory • 8000 bytes EEPROM
Read cycles (at < 40 ℃) > 1012
Write cycles (at < 40 ℃) > 104
Data retention time (at < 40 ℃) > 10 years
Write/read distance (Sg) ≤ 30 mm
Mechanical specifications
Housing
• Material • PVC
• Color • White
Printing Writeable handwritten
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 81
Technical specifications
9.3 Technical specifications of the license cards
6GT2300-0CC00-0AX0
Ambient temperature
• During write/read access • -25 … +60 °C
• Outside the read/write field • -25 … +60 °C
• During storage • -25 … +60 °C
Degree of protection according to EN 60529 IP67
6GT2300-0CC00-0AXx
Product type designation HID license card for SIMATIC RF1000 and RF1100
BLE license card for SIMATIC RF1000
Mechanical specifications
Housing
• Material • PVC
• Color • White
Printing Writeable handwritten
SIMATIC RF1000
82 Operating Instructions, 05/2023, C79000-G8976-C432-10
Technical specifications
9.5 Technical specifications of cleanroom cover
6GT2890-0CB00
Product type designation Table/wall housing RF1000
Mechanical specifications
Housing
• Material • Polycarbonate
• Color • TI-Gray
6GT2890-0Cx00
Product type designations Cleanroom cover
Mechanical specifications
Housing
• Material • Polycarbonate 1)
• Color • Transparent
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 83
Technical specifications
9.5 Technical specifications of cleanroom cover
SIMATIC RF1000
84 Operating Instructions, 05/2023, C79000-G8976-C432-10
Dimension drawings 10
All dimensions in mm
0
Figure 10-1 Dimension drawing SIMATIC RF1000 with optional card holder ①
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 85
Dimension drawings
Figure 10-3 Dimension drawing of SIMATIC RF1000 with the cleanroom cover "Cabinet installation"
Figure 10-4 Dimension drawing of SIMATIC RF1000 with the cleanroom cover "Surface installation"
SIMATIC RF1000
86 Operating Instructions, 05/2023, C79000-G8976-C432-10
Appendix A
A.1 Certificates & approvals
If a device has one of the following marks, the corresponding approval has been obtained.
Marking Description
CE according to RED directive 2014/53/EU
CE according to RoHS directive 2011/65/EU
1) Part 15 Clause 15.105:
"Note: This equipment has been tested and found to comply with the limits
for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits
Federal Communications
are designed to provide reasonable protection against harmful interfer‐
Commission
ence in a residential installation. This equipment generates, uses and can
radiate radio frequency energy and, if not installed and used in accordance
with the instructions, may cause harmful interference to radio communi‐
cations. However, there is no guarantee that interference will not occur in
a particular installation. If this equipment does cause harmful interference
to radio or television reception, which can be determined by turning the
equipment off and on, the user is encouraged to try to correct the inter‐
ference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to
which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help."
2) Statement for Part 15 Clause 15.21:
"Changes or modifications not expressly approved by the party responsible
for compliance could void the user's authority to operate the equipment."
3) Statement for FCC Part 15.19:
"This device complies with part 15 of the FCC Rules. Operation is subject to
the following two conditions:
• (1) This device may not cause harmful interference, and
• (2) this device must accept any interference received, including inter‐
ference that may cause undesired operation."
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 87
Appendix
A.1 Certificates & approvals
Marking Description
Industry Canada Radio CAN ICES-3 (B)/NMB-3(B)
Standards Specifications This device complies with Industry Canada’s licence-exempt RSSs. Opera‐
tion is subject to the following two conditions:
• 1) This device may not cause interference; and
• 2) This device must accept any interference, including interference that
may cause undesired operation of the device.
Le présent appareil est conforme aux CNR d’Industrie Canada applicables
aux appareils radio exempts de licence. L’exploitation est autorisée aux
deux conditions suivantes :
• 1) l’appareil ne doit pas produire de brouillage;
• 2) l’appareil doit accepter tout brouillage radioélectrique subi, même si
le brouillage est susceptible d’en compromettre le fonctionnement.
Importer UK:
Siemens plc, Sir William Siemens House, Princess Road, Manchester M20
2UR
Brazil (ANATEL)
Certificado de Homologação
REPÚBLICA FEDERATIVA DO BRASIL
AGÊNCIA NACIONAL DE TELECOMUNICAÇÕES
Este equipamento não tem direito à proteção contra interferência prejudi‐
cial e não pode causar interferência em sistemas devidamente autorizados.
Para maiores informações, consulte o site da ANATEL (www.anatel.gov.br).
ANATEL IDs:
• SIMATIC RF1040R (6GT2831-6CA50):
05695-22-04794
• SIMATIC RF1060R (6GT2831-6AA50):
05695-22-04794
• SIMATIC RF1070R (6GT2831-6BA50):
07881-18-04794
Este equipamento não tem direito à proteção contra interferência prejudi‐
cial e não pode causar interferência em sistemas devidamente autorizados.
Mexico (IFETEL) Mexico (IFETEL)
Instituto Federal de Telecomunicaciones
• SIMATIC RF1040R (6GT2831-6CA50):
RCPSIRF20-0917
• SIMATIC RF1060R (6GT2831-6AA50):
RCPSIRF16-2053
• SIMATIC RF1070R (6GT2831-6BA50):
RCPSIRF18-2240
SIMATIC RF1000
88 Operating Instructions, 05/2023, C79000-G8976-C432-10
Appendix
A.2 Connection via Remote Desktop Protocol (RDP)
Marking Description
South Korea (KCC)
Korea Communications Commission
Certificate of Broadcasting and Communication Equipments
Republic of Korea
• SIMATIC RF1040R (6GT2831-6CA50):
R-R-RF5-RF1040R
• SIMATIC RF1060R (6GT2831-6AA50):
MSP-CRM-RF5-RF1060R
• SIMATIC RF1070R (6GT2831-6BA50):
R-C-RF5-RF1070R
Thailand Marking requirements:
Following statement may be displayed on packaging or additional page or
on user's manual. For Sdoc, it is optional to display this wording.
“เครือ
่ งโทรคมนาคมและอุปกรณ์นม
ี้ ค
ี วามสอดคล ้องตามมาตรฐานหรือข ้อกําหนด-
ทางเทคนิคของ กสทช.”
This telecommunication equipment conforms to the technical standards or
requirements of NBTC.
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 89
Appendix
A.3 Ordering data
SIMATIC RF1000
90 Operating Instructions, 05/2023, C79000-G8976-C432-10
Appendix
A.3 Ordering data
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 91
Appendix
A.3 Ordering data
SIMATIC RF1000
92 Operating Instructions, 05/2023, C79000-G8976-C432-10
Service & Support B
Industry Online Support
In addition to the product documentation, you are supported by the comprehensive online
information platform of Siemens Industry Online Support at the following Internet address:
Link: (https://support.industry.siemens.com/cs/de/en/)
Apart from news, you will also find the following there:
• Project information: Manuals, FAQs, downloads, application examples etc.
• Contacts, Technical Forum
• The option to submit a support request:
Link: (https://support.industry.siemens.com/My/ww/en/requests)
• Our service offer:
Right across our products and systems, we provide numerous services that support you in
every phase of the life of your machine or system - from planning and implementation to
commissioning, through to maintenance and modernization.
You will find contact data on the Internet at the following address:
Link: (https://www.automation.siemens.com/aspa_app/?ci=yes&lang=en)
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10 93
Service & Support
SIMATIC RF1000
94 Operating Instructions, 05/2023, C79000-G8976-C432-10