The IEC 61850 library has an object “IEC61850_GooseManager” with several variables, which can be accessed for diagnosis of the GOOSE manager. Example B1 contains a “GooseDiagnosis (PRG)”, showing the relevant diagnosis variables.

-
“IEC61850_GooseManager.iAdapterCnt”
Number of the Ethernet adapters used for GOOSE Publisher and GOOSE Subscriber, should be at least 1.
-
“IEC61850_GooseManager.wRxCounter”
Counter for received GOOSE messages. Should increase continuously, when other IEDs are sending GOOSE, otherwise:
-
Check if the ‘Source Address (MAC)’ is configured correctly in the GOOSE Subscriber.
-
Check with Wireshark if there are GOOSE messages in the network of the configured adapter.
-
-
“IEC61850_GooseManager. wRxCounterSubscribed”
Counter for received GOOSE messages, which are subscribed. Should increase continuously, when other IEDs are sending GOOSE and same GOOSE messages are subscribed in AC500. If not:
-
Check if “IEC61850_GooseManager.wSubscriberCnt” is > 0.
-
Check configuration in GOOSE Subscriber
-
Check further diagnosis properties in“ prgIEC61850Subscriber”.
-
-
“IEC61850_GooseManager.wMaxLoopCnt”
Maximum number of received Ethernet packages in one cycle. Maximum value is 50. If the maximum value is reached, reset it by setting “IEC61850_GooseManager.xResetIndications” to TRUE for one cycle. If “wMaxLoopCnt” immediately reaches again the maximum value, the IEC 61850 cycle time is too slow for the high network traffic and GOOSE messages might be lost. Workaround is to reduce the IEC 61850 cycle time to make the GOOSE Subscriber faster.
-
“IEC61850_GooseManager.wTxCounter”
Counter for transmitted GOOSE messages. Should increase continuously when GOOSE Publisher is configured. If not:
-
Check GOOSE Publisher.
-
Check “IEC61850_GooseManager.sStatus”.
-
-
“IEC61850_GooseManager.sStatus”
Contains error status of the GOOSE manager and can have the following values:
-
'.'< empty> ➔ OK.
-
Sending of GOOSE messages failed! Result: 20 (or other results). ➔ Check if the ‘Source Address (MAC)’ is configured correctly in GOOSE Publisher.
-
GOOSE Publisher Eth. frame length > = 1500 bytes, reduce DO/DAs in data set. ➔ Reduce the number of data objects and/or data attributes in a data set.
-
For the GOOSE Subscriber there is an additional possibility for diagnosis. The “prgIEC61850Subscriber” has an array “afbSubscriber”, containing one entry for each subscription.

Following properties should be checked in case of problems:
-
“dtLastAction” and “wRxCounter”:
Should increase continuously, when other IEDs are sending GOOSE and same GOOSE messages are subscribed in this subscriber.
-
“sStatus”:
Should show “GOOSE Block receive <GOOSE ID> succsessful”.
-
“ xErrorTimeAllowedToLive”:
Should always be “FALSE”. If not, a GOOSE message was received only after the “timeAllowedtoLive” (as indicated in the previous GOOSE message) expired.
-
Decrease cycle time of the IEC 61850 task.
-
Check Ethernet connection between GOOSE Publisher and GOOSE Subscriber.
-
Check in Wireshark if GOOSE Publisher is sending next packages fast enough. Resend of GOOSE messages shows a correct example where “timeAllowedtoLive” is always double of the resend time, so that the subscriber has enough time to receive it.
-