Snmp - Siemens SIMATIC MV500 Operating Instructions Manual

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

Process interfacing via an automation system (PLC, PC)

9.9 SNMP

// Close stream
newStream.Close();
try
{
(HttpWebResponse)myRequest.GetResponse();
restarting...");
not all programs could be imported. Device is restarting. Please
retry via graphical user interface for more information.");
graphical user interface for detailed error description.");
}
catch (System.Net.WebException we)
{
}
catch (Exception e)
{
}
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).
214
// Get response
HttpWebResponse myHttpWebResponse =
// 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
else if (value.Equals('2'))
Console.WriteLine("XML restore succeeded only partially,
else
Console.WriteLine("XML restore failed. Please retry via
}
// Close response
myHttpWebResponse.Close();
Console.WriteLine("NO PERMISSION FOR XML RESTORE!");
Console.WriteLine(we.Status.ToString());
Console.WriteLine(we.ToString());
Console.WriteLine(e.ToString());
Operating Instructions, 03/2021, C79000-G8976-C494-05
SIMATIC MV500

Advertisement

Table of Contents
loading

Table of Contents