Siemens SIMATIC RF310M Function Manual page 16

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

Advertisement

RFID Reader Interface User's Guide
2.2 How Do I Use the Reader Interface?
public void AlarmHandler(object sender, RfAlarmArgs alarmArgs)
{
}
...
private void WriteInformationLine(string message)
{
}
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.
16
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
}
}
WriteInformation(message + "\r\n");
reconfiguration");
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