RFID Reader Interface User's Guide
2.2 How Do I Use the Reader Interface?
Mobile Readers
16
Function Manual, 12/2010, J31069-D0198-U001-A2-7618
public void AlarmHandler(object sender, RfAlarmArgs alarmArgs)
{
if (alarmArgs.InfoItems != null)
{
// Configuration has finished
if (alarmArgs.InfoItems[0].Name == "Reconfiguration" &&
alarmArgs.InfoItems[0].Value == "Initial")
{
// This is the very first startup of the application
// Now we can access RFID reader
WriteInformationLine(
"INFO: Initial
reconfiguration"
);
}
}
}
...
private void WriteInformationLine(string message)
{
WriteInformation(m "\r\n");
}
private void WriteInformation(string message)
{
// Add the information to the existing text
this.textBoxInfo.Text = this. textBoxInfo.Text + message;
this. textBoxInfo.SelectionStart = this. textBoxInfo.Text.Length;
this. textBoxInfo.ScrollToCaret();
}
Compilation should be successful unless you forgot to add the reference to the interface
assembly and the corresponding directive using Siemens.Simatic.RfReader.
Summary of Contents for SIMATIC RF610M
Page 2: ......
Page 8: ...Introduction Mobile Readers 8 Function Manual 12 2010 J31069 D0198 U001 A2 7618 ...
Page 79: ......