Vai al contenuto

Actions of checks on run times

In the systems, the check on run times is commonly indicated with the term watchdog, abbreviated to wdog; watchdog event indicates an error in the run checks, or the expiry of the time and conditions configured.When the watchdog event occurs, the system informs the user through the following variables.
Name Description
GPV_WDOG_STATUSInstant status of watchdog checks
GPV_MEM_WDOG_STATUSWatchdog status
These variables are automatically displayed when the system intercepts one of the Watch dog conditions, rebooting the target and displaying a diagnostic screen page with title “System rebooted after hardware wdog”.Table of possible values of the wdog status variables:
ValueValueDescriptionDescription
0x0000 00010x0000 0001one of the system tasks has generated a page faultone of the system tasks has generated a page fault
0x0000 00020x0000 0002one of the tasks up to priority 170 is in an endless loopone of the tasks up to priority 170 is in an endless loop
0x0000 00040x0000 0004one of the tasks up to priority 255 (i.e.: all tasks) is in an endless loopone of the tasks up to priority 255 (i.e.: all tasks) is in an endless loop
0x0000 00400x0000 0040task 1131 FAST is in an endless looptask 1131 FAST is in an endless loop
0x0000 40000x0000 40000x0000 4000FPGA timer fault
0x0000 80000x0000 80000x0000 8000Timeout target reboot
0x0001 00000x0001 0000task 1131 FAST has exceeded the maximum acceptable run time threshold, even just oncetask 1131 FAST has exceeded the maximum acceptable run time threshold, even just once
0x0002 00000x0002 0000the FAST task has exceeded GPV_WARNINGCYCLE_WDOG1131 consecutive times the duration of GPV_WARNINGTIME_WDOG1131the FAST task has exceeded GPV_WARNINGCYCLE_WDOG1131 consecutive times the duration of GPV_WARNINGTIME_WDOG1131
0x0004 00000x0004 00000x0004 0000task FAST is in-exception fault
0x0010 00000x0010 0000task 1131 NORMAL has exceeded the maximum acceptable run time threshold, even just oncetask 1131 NORMAL has exceeded the maximum acceptable run time threshold, even just once
0x0020 00000x0020 0000the NORMAL task has exceeded GPV_WARNINGCYCLE_WDOG1131_NORMAL consecutive times the duration of GPV_WARNINGTIME_WDOG1131_NORMALthe NORMAL task has exceeded GPV_WARNINGCYCLE_WDOG1131_NORMAL consecutive times the duration of GPV_WARNINGTIME_WDOG1131_NORMAL
0x0040 00000x0040 00000x0040 0000task NORMAL is in-exception fault
0x0080 00000x0080 0000task 1131 NORMAL is in an endless looptask 1131 NORMAL is in an endless loop
0x0100 00000x0100 0000task 1131 SLOW has exceeded the maximum acceptable run time threshold, even just oncetask 1131 SLOW has exceeded the maximum acceptable run time threshold, even just once
0x0200 00000x0200 0000the SLOW task has exceeded GPV_WARNINGCYCLE_WDOG1131_SLOW consecutive times the duration of GPV_WARNINGTIME_WDOG1131_SLOWthe SLOW task has exceeded GPV_WARNINGCYCLE_WDOG1131_SLOW consecutive times the duration of GPV_WARNINGTIME_WDOG1131_SLOW
0x0400 0000task SLOW is in-exception faulttask SLOW is in-exception faulttask SLOW is in-exception fault
0x0800 00000x0800 0000task 1131 SLOW is in an endless looptask 1131 SLOW is in an endless loop
0x1000 00000x1000 0000The BOOT task has exceeded the maximum duration allowedThe BOOT task has exceeded the maximum duration allowed
0x2000 00000x2000 0000The INT task has exceeded the maximum duration allowedThe INT task has exceeded the maximum duration allowed
0x4000 00000x4000 0000task xBusSync is in-exception faulttask xBusSync is in-exception fault
0x8000 00000x8000 0000task 1131 xBusSync is in an endless looptask 1131 xBusSync is in an endless loop
The action possible in the case of error is determined by the configuration of the following system variable
Name Description
GPV_WDOG_MODESelection of watchdog operating mode
Table of possible values:
ValueDescription
0wdog disabled
1wdog software (DEFAULT): output deactivation
2wdog hardware : system reboot
Output deactivation takes place usually interrupting the operation of the fieldbus; in these circumstances the external devices enter a communication timeout error. In the case of CANOpen devices, interruption is preceded by the issue of a pre-operational command to the devices.When a system reboots due to the intervention of the wdog hw, the subsequent reboot does not take place normally. The system activates a specific operation and shows a page representing the memorising of the GPV_MEM_WDOG_STATUS variables.To reset system operation, the operator has to manually switch the power off and then on again. Only in this way the watchdog hardware supervision circuit is reset.If the output operation has been deactivated by intervention of watchdog (wdog software), this is indicated via the following variable set to a value of 1.
Name Description
GPV_WDOG_OUTPUTOFFvariable for signalling watchdog intervention
With the condition of watchdog intervened, it is possible to reactivate operation of the output by writing 1 in the following variable.
Name Description
GPV_RESTORE_OUTWDOGvariable for enabling outputs zeroed by watchdog intervention