Determine the Duration of an Active Warning

The following procedure shows how to program an MSG instruction to determine the total time in seconds that a warning has been active on a front Ethernet port. Causes of a warning include the following:
  • Lost packets on a port
  • Packets with the wrong port number due to cables being crossed between the redundant controllers
  1. In the program for the redundant controller, create an MSG instruction.
  2. On the Communication tab of the Message Configuration dialog box, configure a path of THIS to the controller.
  3. On the Configuration tab of the Message Configuration dialog box, enter the following parameters.
    Parameter
    Value
    Message Type
    CIP Generic
    Service Type
    Get Attribute Single
    Class
    56 (hex)
    Instance
    1
    Attribute
    65 (hex)
    Destination Element
    The tag that is an array or UDT of two UDINTs: first for port 1 and second for port 2.
  4. Download and test the MSG instruction.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal