Siemens SIMATIC RF310M Function Manual page 28

Mobile readers
Hide thumbs Also See for SIMATIC RF310M:
Table of Contents

Advertisement

RFID Reader Interface User's Guide
2.3 Extending the Reach
Here is a skeleton alarm handler body that shows the different events:
public void AlarmHandler(object sender, RfAlarmArgs alarmArgs)
{
}
28
if (alarmArgs.IsConfigStart)
{
// Reconfiguration has started
// => disable UI
}
else if (alarmArgs.InfoItems != null)
{
// Reconfiguration has finished
if (alarmArgs.InfoItems[0].Name == "Reconfiguration" &&
alarmArgs.InfoItems[0].Value == "Initial")
{
// This is the very first startup of the application
// where no configuration data is available
}
else if (alarmArgs.InfoItems[0].Name == "Reconfiguration"
&& alarmArgs.InfoItems[0].Value == "Reconnect")
{
// The reader service was already running and we
// only reconnected => reinitialize, e.g by rereading
// configuration data
}
else
{
// A configuration was received from RF-MANAGER and
// has been activated.
// => The list of RfInfoItems contains the changed
// configuration items
}
}
...
Function Manual, 12/2010, J31069-D0198-U001-A2-7618
Mobile Readers

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf610mSimatic rf680m

Table of Contents