SNMP

UniStream can function as an:

The unique PEN number assigned to Unitronics is 32481.

The figure below shows the SNMP command format.

To begin working with SNMP, select it from the Solution Explorer.

Note that, in the Properties Window:

 

You work with and manage SNMP via structs, which are automatically created by UniLogic as you select SNMP options. These structs support all of the properties required by the SNMP protocol.

SNMP Agent (slave)

To configure SNMP Agent properties, select it from the Solution Explorer.

Note that the main SNMP Agent window has two tabs, System Objects and User Objects.

In the Properties Window, you can enable System Objects and select SNMP versions. Selecting System Objects, or defining a User Object, creates three structs, SNMP General Struct, Agent General Struct, and the SNMP Statistics Struct.

The Version properties are context-sensitive.

Version options such as community passwords are disabled by default, but are enabled as you select properties.

 

 

If, in the following structs, the parameter Initialization Status is not 0, contact Support.

 

The SNMP General Struct contains the Version V3 properties from the SNMP Configuration.SNMP General Struct contains the Version V3 properties from the SNMP Configuration.

If Initialization status is not 0, contact Support.

 

 

The Agent General Struct shows the SNMP Agent Properties.The Agent General Struct shows the SNMP Agent Properties.

The SNMP Statistics struct shows general SNMP Data.The SNMP Statistics struct shows general SNMP Data.

 

To include application data in SNMP communications, use User Objects:

  1. Select the User Objects tab, and then click Add User Object.

  2. Configure the fields:
    - Edit the default object Name, if desired.
    Note that UniLogic automatically creates an ID number for each object which includes the Unitronics PEN; the ID cannot be edited.
    - Add a data Tag.
    - Set the Read/Write permissions for each object.

SNMP Traps

To configure Traps:

  1. Select Traps from the Solution Explorer.
    Use the general Trap properties to set the general SNMP V3 properties for all Traps.

  2. Click Add New Trap; once you add a Trap, the Trap General Struct and Trap Statistic struct are automatically created by UniStream, as well a struct to handle each Trap that you add.



  3. Set the Trap properties, including the Destination IP. You can also enable Version properties for each Trap.
    You can add up to 4 tags (Objects) per Trap.

In addition to the IP address that you define for each Trap, the Ladder function Send Trap enables you to send any Trap to a specific IP address.