4. Configuration
222
Using example in ST language, where the function call is going to clear the events queue, and
consequently , reset the communication drivers events queue usage diagnostics
T_DIAG_DNP_SERVER_1.tClient_*.tQueueDiags.wUsage:
PROGRAM UserPrg
VAR
ClearEventQueueStatus : TYPE_RESULT;
END_VAR
ClearEventQueueStatus := ClearEventQueue();
SNMP
Introduction
SNMP (Simple Network Management Protocol) is a protocol widely used by network administrators
to provide important information and diagnostic equipment present in a given Ethernet network.
This protocol uses the concept of agent and manager, in which the manager sends read requests or
write certain objects to the agent. Through a MIB (Management Information Base) the manager is
aware of existing objects in the agent, and thus can make requests of these objects, respecting the
read permissions or writing the same.
MIB is a collection of information organized hierarchically with each object of this tree is called OID
(Object Identifier).
For all equipment with SNMP, it is mandatory to support MIB-II. In this MIB are described key
information for managing Ethernet networks.
SNMP in Nexto CPUs
The CPUs of the Nexto Series behave as agents in SNMP communication. The information made
available through SNMP cannot be manipulated or accessed through the user application, requiring
an external SNMP manager to perform access. Table 4-160 contains the objects available in the
Nexto CPUs. This feature is available after firmware version 1.4.0.33 of the Nexto Series CPUs
supports the protocols SNMPv1, SNMPv2c and SNMPv3, and support the MIB-II, where required
objects are described in RFC-1213.
Contains name, description, location and other
equipment identification information.
Contains information of the machine's network
interfaces.
The ifTable table (OID 1.3.6.1.2.1.2.2) has the indexes
6 and 7 available, which can be viewed by the network
interfaces statistics NET 1 and NET 2, respectively, of
the Nexto series CPUs.
Contains information of the last required connections to
the agent
Contains statistical connections using IP protocol
Contains statistical connections using ICMP protocol
Contains statistical connections using TCP protocol
Contains statistical connections using UDP protocol
Contains statistical connections using SNMP protocol
Extension to Interfaces, OID 1.3.6.1.2.1.2
Table 4-160. MID II Objects – Nexto Series SNMP Agent
By default, the SNMP agent is activated, i.e., the service is initialized at the time the CPU is started.
The access to the information agent is via the Ethernet interfaces NET 1 and NET 2 of the Nexto
Series CPUs on TCP port 161. So when the service is active, the agent information can be accessed
through any one of the two Ethernet interfaces, if available. It is not possible to provide agent