Obtain Front Port Status
The following procedure shows how to program an MSG instruction to obtain the status of the front Ethernet ports.
- 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)Instance1Attribute66 (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.See the following table for status value definitions.ValueDescription0Status is undetermined because startup is in progress.1The port is disabled.2The port is operating normally.3Packets were lost on one port during the last 60 seconds.4One of these conditions exists:
- Port 1 is connected to Port 2.
- The port has an intermittent loss of communication.
5The connection is down.
Provide Feedback