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
- In the program for the redundant controller, create an MSG instruction.
- On the Communication tab of the Message Configuration dialog box, configure a path of THIS to the controller.
- On the Configuration tab of the Message Configuration dialog box, enter the following parameters.ParameterValueMessage TypeCIP GenericService TypeGet Attribute SingleClass56 (hex)Instance1Attribute65 (hex)Destination ElementThe tag that is an array or UDT of two UDINTs: first for port 1 and second for port 2.
- Download and test the MSG instruction.
Provide Feedback