Kkula
Browse Questions » SIMATIC Ident - RFID Systems - Code Reading Systems: Inventory Code Block

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

SIMATIC Ident - RFID Systems - Code Reading Systems: Inventory Code Block

Hello,
I have TIA portal basic with S7-1200. I also have a RFID RF685R. I am using the Inventory block to detect the presence of the Tag by giving the attribute as 16#86 / 16#87. But with this attribute Id i am only able to detect the presence. Then i trying to use the attributes 16#80 / 16#81 to read the data but this does not work. I tried to use reset reader block and then again created another inventory block with different attribute but it keeps giving error. Is it that in the same project i cannot use different attributes ?
Thanks

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

RFID RF685R Attribute Handling in TIA Portal Basic

Hello,

You've encountered a common issue when working with RFID RF685R readers and TIA Portal Basic. Yes, there are limitations when switching between different attribute IDs within the same project and block instances.

Here's why you're seeing errors:

  • Attribute Locking: The RFID reader often 'locks' onto the initially used attribute set (16#86/87 for presence detection) within a specific inventory block instance. Subsequent attempts to read different attributes (16#80/81 for data) using the same block instance often fail.
  • Reset Reader Limitations: While the "Reset Reader" block is helpful, it doesn't always fully clear the previous attribute lock, especially within the TIA Portal Basic environment.

Recommended Solution:

  1. Separate Inventory Blocks: The most reliable method is to create separate Inventory blocks in your TIA Portal project – one specifically for presence detection (16#86/87) and another dedicated to reading data (16#80/81). Each block should have its own instance.
  2. Instance DBs: Ensure each Inventory block instance has its own dedicated Data Block (DB) for storing its results.
  3. Sequential Operation: If you need to read data immediately after detecting presence, structure your code to first complete the presence detection inventory block cycle, then trigger the data reading inventory block.

For more detailed information and examples, please refer to the following resources in SiePortal:

If you continue to experience issues, please provide your TIA Portal project version and a more detailed description of your code for further assistance.

0