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.
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:
The action possible in the case of error is determined by the configuration of the following system variable
Table of possible values:
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.
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_WDOG_STATUS | Instant status of watchdog checks |
GPV_MEM_WDOG_STATUS | Watchdog status |
Value | Value | Description | Description |
0x0000 0001 | 0x0000 0001 | one of the system tasks has generated a page fault | one of the system tasks has generated a page fault |
0x0000 0002 | 0x0000 0002 | one of the tasks up to priority 170 is in an endless loop | one of the tasks up to priority 170 is in an endless loop |
0x0000 0004 | 0x0000 0004 | one of the tasks up to priority 255 (i.e.: all tasks) is in an endless loop | one of the tasks up to priority 255 (i.e.: all tasks) is in an endless loop |
0x0000 0040 | 0x0000 0040 | task 1131 FAST is in an endless loop | task 1131 FAST is in an endless loop |
0x0000 4000 | 0x0000 4000 | 0x0000 4000 | FPGA timer fault |
0x0000 8000 | 0x0000 8000 | 0x0000 8000 | Timeout target reboot |
0x0001 0000 | 0x0001 0000 | task 1131 FAST has exceeded the maximum acceptable run time threshold, even just once | task 1131 FAST has exceeded the maximum acceptable run time threshold, even just once |
0x0002 0000 | 0x0002 0000 | the FAST task has exceeded GPV_WARNINGCYCLE_WDOG1131 consecutive times the duration of GPV_WARNINGTIME_WDOG1131 | the FAST task has exceeded GPV_WARNINGCYCLE_WDOG1131 consecutive times the duration of GPV_WARNINGTIME_WDOG1131 |
0x0004 0000 | 0x0004 0000 | 0x0004 0000 | task FAST is in-exception fault |
0x0010 0000 | 0x0010 0000 | task 1131 NORMAL has exceeded the maximum acceptable run time threshold, even just once | task 1131 NORMAL has exceeded the maximum acceptable run time threshold, even just once |
0x0020 0000 | 0x0020 0000 | the NORMAL task has exceeded GPV_WARNINGCYCLE_WDOG1131_NORMAL consecutive times the duration of GPV_WARNINGTIME_WDOG1131_NORMAL | the NORMAL task has exceeded GPV_WARNINGCYCLE_WDOG1131_NORMAL consecutive times the duration of GPV_WARNINGTIME_WDOG1131_NORMAL |
0x0040 0000 | 0x0040 0000 | 0x0040 0000 | task NORMAL is in-exception fault |
0x0080 0000 | 0x0080 0000 | task 1131 NORMAL is in an endless loop | task 1131 NORMAL is in an endless loop |
0x0100 0000 | 0x0100 0000 | task 1131 SLOW has exceeded the maximum acceptable run time threshold, even just once | task 1131 SLOW has exceeded the maximum acceptable run time threshold, even just once |
0x0200 0000 | 0x0200 0000 | the SLOW task has exceeded GPV_WARNINGCYCLE_WDOG1131_SLOW consecutive times the duration of GPV_WARNINGTIME_WDOG1131_SLOW | the SLOW task has exceeded GPV_WARNINGCYCLE_WDOG1131_SLOW consecutive times the duration of GPV_WARNINGTIME_WDOG1131_SLOW |
0x0400 0000 | task SLOW is in-exception fault | task SLOW is in-exception fault | task SLOW is in-exception fault |
0x0800 0000 | 0x0800 0000 | task 1131 SLOW is in an endless loop | task 1131 SLOW is in an endless loop |
0x1000 0000 | 0x1000 0000 | The BOOT task has exceeded the maximum duration allowed | The BOOT task has exceeded the maximum duration allowed |
0x2000 0000 | 0x2000 0000 | The INT task has exceeded the maximum duration allowed | The INT task has exceeded the maximum duration allowed |
0x4000 0000 | 0x4000 0000 | task xBusSync is in-exception fault | task xBusSync is in-exception fault |
0x8000 0000 | 0x8000 0000 | task 1131 xBusSync is in an endless loop | task 1131 xBusSync is in an endless loop |
Name | Description |
GPV_WDOG_MODE | Selection of watchdog operating mode |
Value | Description |
0 | wdog disabled |
1 | wdog software (DEFAULT): output deactivation |
2 | wdog hardware : system reboot |
Name | Description |
GPV_WDOG_OUTPUTOFF | variable for signalling watchdog intervention |
Name | Description |
GPV_RESTORE_OUTWDOG | variable for enabling outputs zeroed by watchdog intervention |