Use a CIP Generic MSG to Enable SNMP on the Controller

Simple Network Management Protocol (SNMP) enables the controller to be remotely managed through other network management software. SNMP defines the method of communication among the devices and also denotes a manager for the monitoring and supervision of the devices. SNMP is disabled on the controller by default. If the port is disabled, you can enable SNMP on the controller with a CIP Generic MSG (firmware revision 32 or later).
For more information about SNMP, see the Ethernet Reference Manual, publication ENET-RM002.
  1. Add an MSG instruction to your program.
    IMPORTANT:
    You cannot add an MSG instruction to your program if the controller switch is in RUN mode, or if the
    FactoryTalk® Security
    settings deny this editing option.
  2. Configure the Configuration tab on the Message Configuration dialog box as described in the table below.
    This image shows the MSG configuration to enable SNMP on a controller in Logix Designer.
    Enable SNMP
    Field
    Description
    Message Type
    CIP Generic
    Service Type
    Custom
    Service Code
    4c
    Instance
    1 = controller with single Ethernet port or configured for Linear/DLR mode
    2 = controller configured for Dual-IP mode
    Class
    f5
    Attribute
    0
    Source Element
    Controller tag of USINT[5] data type.
    In this example, the controller tag is named onArray and must match the following graphic.
    This image shows the tag array to enable SNMP in Logix Designer.
    IMPORTANT
    : The Source Element tag in your Logix Designer application project must match the values that are shown in the graphic. If you use values that are different than the ones shown, SNMP will not be enabled.
    Source Length
    5
  3. Configure the Communication tab to use a Path of THIS.
    IMPORTANT:
    Messages to THIS must be unconnected messages.
    This image shows the Comm path for a MSG in Logix Designer.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal