Wake Me Up Before You Go - Siemens SIMATIC RF310M Function Manual

Rfid systems mobile reader
Hide thumbs Also See for SIMATIC RF310M:
Table of Contents

Advertisement

2.3.3

Wake me up before you go...

So far, so good – we will wait until the configuration has been finished. But how do we know
it has finished?
Luckily the RFID reader interface provides a notification mechanism which enables us as a
client of the API to know what is going on. Let's have a closer look at what happens when a
new configuration from RF-MANAGER arrives:
Figure 2-8
RFID Reader Interface
Whenever the reader service receives configuration data from a connected RF-MANAGER
runtime it sends a "Reconfiguration:Started" notification telling you that it will now start
reconfiguration (t1 , t3). At this point in time the interfaces changes to the invalid state and
disables access. For you as a client this means, you should disable functions that use the
interface until reconfiguration has finished.
After the reconfiguration of the system has finished, the RFID reader interface changes its
state to valid and a second notification – containing either the changed configuration items
as parameters or just "Reconfiguraiton: Nochange" – is sent (t2 , t4). Now, that is the trigger
for an API client to start working with the RFID reader interface.
You can easily follow those conclusions, can't you? But what happens if no new
configuration arrives because either a configuration is already available on the device or
there has not been a connection to an RF-MANAGER runtime yet? Do we have to wait
forever to detect these cases?
No, you don't. The reader service and as a consequence the RFID reader interface will
always send a notification on startup as well. If there is
device the "Reconfiguration: Initial" event is sent. If a configuration is available you will either
get the changed items or the "Reconfiguration: Nochange" event.
Bear in mind, however, that in those cases no "Reconfiguration:Start" event will be issued
contrary to the arrival of new configuration data.
Mobile Reader
Function Manual, 02/2009, J31069-D0198-U001-A1-0076
RFID Reader Interface User's Guide
2.3 Extending the Reach
no
configuration available on the
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf610m

Table of Contents