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.
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
ambient conditions must be complied with. The information in the relevant documentation must be observed.
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.
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:
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
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.
A Appendix .............................................................................................................................................. 55
This documentation provides you with an overview of the installation and programming of the
SIMATIC RF1060R and RF1070R readers. The operating instructions are intended for users
and programmers involved in configuration, commissioning and servicing of the SIMATIC
RF1060R/RF1070R.
Registered trademarks
The following and possibly other names not identified by the registered trademark sign ® are
registered trademarks of Siemens AG:
The products are low in harmful substances, can be recycled and meet the requirements of
the Directive 2012/19/EU for disposal of waste electrical and electronic equipment (WEEE).
Do not dispose of the products at public disposal sites.
For environmentally compliant recycling and disposal of your electronic waste, please
contact a company certified for the disposal of electronic waste or your Siemens
representative.
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems,
machines and networks. Such systems, machines and components should only be
connected to an enterprise network or the internet if and to the extent such a connection is
necessary and only when appropriate security measures (e.g. firewalls and/or network
segmentation) are in place.
For additional information on industrial security measures that may be implemented, please
visit
Link: (http://www.siemens.com/industrialsecurity
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends that product updates are applied as soon as they are
available and that the latest product versions are used. Use of product versions that are no
longer supported, and failure to apply the latest updates may increase customers’ exposure
to cyber threats.
)
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed under
Link: (http://www.siemens.com/industrialsecurity
Companies have been using RFID-based identification card systems for years to control
access to buildings. 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 basis. The SIMATIC RF1060R/RF1070R readers provide the option of
using employee identification cards also when operating machines. This allows finely graded
access concepts to be implemented or user-specific instructions zo be stored - all with one
card.
Figure 2-1 Product photo of the SIMATIC RF1060R and SIMATIC RF1070R readers
Reader-specific differences (interfaces)
The SIMATIC RF1060R/RF1070R readers are designed for connection to a Windows
computer. The connection is via a USB interface of the computer. The SIMATIC RF1070R
reader can also be connected to a Linux-based system or to a controller over the RS232
interface.
On the Siemens support page "Industry Online Support
(https://support.industry.siemens.com/cs/ww/en/view/109741590
)" you will find functions for
accessing the readers in form of DLL files as well as a demo application. With operation via
the USB interface, you can implement user identification for access to your own applications
quickly and simply with the help of the DLL files. To do this, the reader reads out the serial
numbers of MIFARE, ISO 15693 and LEGIC transponders. Depending on the card type, the
serial number can be 4, 7 or 10 bytes (MIFARE / ISO 14443), 8 bytes (ISO 15693) or 4, 7 or
8 bytes (LEGIC) long.
If the SIMATIC RF1070R reader is operated via the RS232 interface, programming takes
place over the freeport protocol.
2.2 Connection options and supported transponders
Depending on the interface protocol used, the readers can be used for various applications.
The following table provides an overview of the possible uses of the readers.
Table 2- 1 Possible uses
application PM LOGON,
Connector SIMATIC Panel, PC SIMATIC Panel, PC RF170C e.g. ET
The following table provides an overview of the transponders and protocols supported by the
readers.
Table 2- 2 Supported transponders and protocols
MDS D1xx, D3xx, E6xx ✓✓
MIFARE Classic, EV1 (1k, 4k,
MIFARE DESFire, EV1/EV2
MIFARE Plus, EV1 (S, X, L1,
: Reading the serial number as well as reading and writing the user memory area
1)
Only for read-only access
✓ ✓
✓ ✓
✓ Serial number
Please 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. Note that when the serial number is read for transponders with
combo chip (e.g. LEGIC CTC4096), only the LEGIC Prime serial number is displayed and
not the serial number of the ISO chip 14443/15693.
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. Which functions exist and how you use them is
described in this manual.
When operating the reader in an industrial environment installation in a cabinet or closed
metal housing is recommended.
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".
You transfer the reader configurations (e.g. memory areas, addresses, passwords, write
permissions, etc.) to the reader using the configuration card (6GT2300-0CC00-0AX0) or an
identification card (LEGIC). These configurations are saved as VHL file in the reader.
Multiple configurations (VHL files) of a configuration card can be stored on a reader.
To change the configuration of a reader with the configuration card, you must set the
"AllowConfig = true" tag when calling the function "vhl_select()" and then hold the card into
the antenna field of the reader. After you have changed the configuration, the reader
automatically restarts. After the restart you must set the "AllowConfig" tag back to "false".
The configuration card is blank upon delivery. If you prefer to receive the configuration cards
with preconfigured, customer-specific configurations, please contact Service & Support
(services.ci.industry@siemens.com).
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.
6.1 Typical applications
Below you will find typical applications for using the SIMATIC RF1060R/RF1070R readers.
The applications are shown as an example using the DLL functions. They can also be
implemented with system jobs.
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.
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". Because there are multiple configurations (VHL files) on the reader, the desired
configuration is selected with the "VHLFile" tag.
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.
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
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".
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" m
parameter ≠ "0", there is either an error or the function "brp_open__usb_session" was called
several times in succession.
6.2 Programming via USB interface
6.2 Programming via USB interface
You can program the reader using access functions. On the Siemens support page "Industry
Online Support (https://support.industry.siemens.com/cs/ww/en/view/109741590
obtain the file "RF10x0R.zip". 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.
6.2.1 Functions of the DLL
)" you will
6.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.
Note that all the following functions can only be executed after you have established a
connection to the reader with the function "brp_open_usb_session". If this is not the case, an
error is signaled back.
Function call
int
brp_open_usb_session(
int * Handle,
DWORD ProductID
);