EasyManua.ls Logo

Siemens SIMATIC MV500 - 9.9 SNMP

Siemens SIMATIC MV500
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Process interfacing via an automation system (PLC, PC)
9.9 SNMP
SIMATIC MV500
214 Operating Instructions, 03/2021, C79000-G8976-C494-05
// Close stream
newStream.Close();
try
{
// Get response
HttpWebResponse myHttpWebResponse =
(HttpWebResponse)myRequest.GetResponse();
// 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 could be imported. Device is restarting. Please
retry via graphical user interface for more information.");
else
Console.WriteLine("XML restore failed. Please retry via
graphical user interface for detailed error description.");
}
// Close response
myHttpWebResponse.Close();
}
catch (System.Net.WebException we)
{
Console.WriteLine("NO PERMISSION FOR XML RESTORE!");
Console.WriteLine(we.Status.ToString());
Console.WriteLine(we.ToString());
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}
9.9 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).

Table of Contents

Other manuals for Siemens SIMATIC MV500