×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 63969277, Entry date: 02/05/2018
(0)
Rate

Simple Communication between SIMATIC RF160C and SIMATIC S7 Controllers

  • Entry
  • Associated product(s)
To communicate to the PROFIBUS RFID communication module SIMATIC RF160C via SIMATIC PLC you need suitable STEP 7 blocks, taking care about this task.

Task
A SIMATIC RF160C should in a simple usage manner communicate with an S7-300/400/1200/1500 via PROFIBUS DP. The RFID systems are connected to a controller via the RF160C communication module and the associated library blocks. The objective of this application is to reliably identify objects with an attached data storage unit (transponder) and to make the stored object data available to further process steps.

Solution
This content provides you suitable communication libraries for the whole SIMATIC S7 family. The application example shows the connection of an RFID reader of the RF200/300/600 or MOBY U/D series to an S7-1200 controller using the SIMATIC RF160C communication module via PROFIBUS. Via the reader, data from and to the transponder is made available directly in the S7-1200.


 Functions of the RF160C libraries
In each library, the following functions are implemented as separate function blocks:
  • Reset the RF160C communication module
  • Read RFID data from transponders
  • Write RFID data to transponder
  • Initialize transponder
  • Turn antenna on/off
  • Check status of RF160C

The library blocks were created in SCL and can therefore be customized for function extensions or porting to other PLC systems.

Downloads of the libraries for STEP 7 V5.5 with S7-300/S7-400/CP342-5
  Documentation of the libraries (1,1 MB)
 Registrierung notwendig  Library for S7-300/S7-400 (98,5 KB)
 Registrierung notwendig  Library for S7-300 with CP342-5 (84,7 KB)

Downloads of the libraries for STEP 7 V14 SP1 with S7-300/S7-400/CP342-5
  Documentation of the libraries (1,3 MB)
 Registrierung notwendig  Library for S7-300/S7-400 (383,4 KB)
 Registrierung notwendig  Library for S7-300 with CP342-5 (533,3 KB)

Download of the library for STEP 7 V14 SP1 with S7-1200/S7-1500
  Documentation of the library (1,3 MB)
 Registrierung notwendig  Library for S7-1200/S7-1500 (630,6 KB)

Download of the sample project for STEP 7 V14 SP1 with S7-1200
  Documentation of the sample project (1,7 MB)
 Registrierung notwendig  Sample project for S7-1200 (5,7 MB)


Last Changes
Update the Libraries to STEP 7 V14 SP1

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Support to the statistics
With this function the IDs found are listed according to number (format .txt).

Generate list
Copy URL
Display page in new design
mySupport Cockpit