Table of Contents

Advertisement

could be imported. Device is restarting. Please retry via graphical user interface
for more information.");
interface for detailed error description.");
}
catch (System.Net.WebException we)
{
}
catch (Exception e)
{
}
9.8

SNMP

Simple Network Management Protocol (SNMP) is a protocol for managing networks and
devices in the network. To transmit data, SNMP uses the connectionless "UDP" protocol.
Information about the properties of SNMP-enabled devices is stored in Management
Information Base (MIB) files.
You can find basic information on this topic in the "Diagnostics and configuration with SNMP"
manual on the Web pages of the Siemens Industry Online Support
(https://support.industry.siemens.com/cs/ww/en/view/103949062).
SIMATIC MV500
Operating Instructions, 05/2019, C79000-G8976-C494-02
// Get response data
int response = myHttpWebResponse.GetResponseStream().ReadByte();
if (response != -1)
{
Char value = (Char)response;
if (value.Equals('1'))
Console.WriteLine("XML restore succeeded, device is restarting...");
else if (value.Equals('2'))
Console.WriteLine("XML restore succeeded only partially, not all programs
else
Console.WriteLine("XML restore failed. Please retry via graphical user
}
// Close response
myHttpWebResponse.Close();
Console.WriteLine("NO PERMISSION FOR XML RESTORE!");
Console.WriteLine(we.Status.ToString());
Console.WriteLine(we.ToString());
Console.WriteLine(e.ToString());
Process interfacing via an automation system (PLC, PC)
9.8 SNMP
167

Advertisement

Table of Contents
loading

Table of Contents