Checks on run times
It is possible to configure checks on observance of the run times in the system.The possible checks are:check on the maximum run duration (complete running); error at first occurrence of the event (GPV_ALARMTIME_xxx)check on the maximum run duration (incomplete running, endless loop check); error at first occurrence of the event (GPV_PERIOD_xxx)check on the maximum repeated run duration (complete running); error at first occurrence of the event due to a configurable number of consecutive cycles (GPV_WARNINGTIME_xxx)The checks can all be configured for every single PLC task.The configuration of the checks takes place at run time through system variables.Note: as reference for the checks described is made to the task run times, remember that these are shown in the time diagrams with “t”, while the relative values are contained in the variables “GPV_CYCDURxxx”.GPV_ALARMTIME_xxx and GPV_WARNINGTIME_xxx parameters are best suited for accurate control; default value for both is 0 (disabled).Parameter GPV_PERIOD_xxx is optimal to check never ending loop task condition and should be typically configured with values multiple of the requested task period; default value is 10 * requested task period.FAST TaskControl configuration variables (all wr)
Control supervision or status variables
NORMAL TaskControl configuration variables (all wr)
Control supervision or status variables
SLOW TaskControl configuration variables (all wr)
Control supervision or status variables
Name | Description |
GPV_ALARMTIME_WDOG1131 | Maximum run time of the PLC FAST task before watch dog intervention. Time base 100 us |
GPV_PERIOD_WDOG1131 | Maximum run time of tasks with priority equal to or less than the PLC FAST task. Time base 100 us. |
GPV_WARNINGTIME_WDOG1131 | Enabling warning time control and check on exceeding limits for the PLC FAST task. Time base 100 us |
GPV_WARNINGCYCLE_WDOG1131 | Number of consecutive cycles for which it is possible to exceed GPV_WARNINGTIME_WDOG1131 |
Name | Description |
GPV_WARNCOUNT_WDOG1131 | Value that contains the number of consecutive cycles causing intervention of GPV_WARNINGTIME_WDOG1131 |
GPV_MAXWARNCOUNT_WDOG1131 | Value that contains the latch of the maximum number of consecutive cycles causing intervention of GPV_WARNINGTIME_WDOG1131 (wr) |
GPV_ABSWARNCOUNT_WDOG1131 | Value that contains the total number of PLC cycles (not necessarily consecutive) causing intervention of GPV_WARNINGTIME_WDOG1131 |
Name | Description |
GPV_ALARMTIME_WDOG1131_NORMAL | Maximum run time of the PLC NORMAL task before watch dog intervention. Time base 100 us |
GPV_PERIOD_WDOG1131_NORMAL | Maximum run time of tasks with priority equal to or less than the PLC NORMAL task. Time base 100 us. |
GPV_WARNINGTIME_WDOG1131_NORMAL | Enabling warning time control and check on exceeding limits for the PLC NORMAL task. Time base 100 us |
GPV_WARNINGCYCLE_WDOG1131_NORMAL | Number of consecutive cycles for which it is possible to exceed GPV_WARNINGTIME_WDOG1131_NORMAL |
Name | Description |
GPV_WARNCOUNT_WDOG1131_NORMAL | Value that contains the number of consecutive cycles causing intervention of GPV_WARNINGTIME_WDOG113_NOMRAL |
GPV_MAXWARNCOUNT_WDOG1131_NORMAL | Value that contains the latch of the maximum number of consecutive cycles causing intervention of GPV_WARNINGTIME_WDOG1131_NORMAL (wr) |
GPV_ABSWARNCOUNT_WDOG1131_NORMAL | Value that contains the total number of PLC cycles (not necessarily consecutive) causing intervention of GPV_WARNINGTIME_WDOG1131_NORMAL |
Name | Description |
GPV_ALARMTIME_WDOG1131_SLOW | Maximum run time of the PLC SLOW task before watch dog intervention. Time base 100 us |
GPV_PERIOD_WDOG1131_SLOW | Maximum run time of tasks with priority equal to or less than the PLC SLOW task. Time base 100 us. |
GPV_WARNINGTIME_WDOG1131_SLOW | Enabling warning time control and check on exceeding limits for the PLC SLOW task. Time base 100 us |
GPV_WARNINGCYCLE_WDOG1131_SLOW | Number of consecutive cycles for which it is possible to exceed GPV_WARNINGTIME_WDOG1131_SLOW |
Name | Description |
GPV_WARNCOUNT_WDOG1131_SLOW | Value that contains the number of consecutive cycles causing intervention of GPV_WARNINGTIME_WDOG113_SLOW |
GPV_MAXWARNCOUNT_WDOG1131_SLOW | Value that contains the latch of the maximum number of consecutive cycles causing intervention of GPV_WARNINGTIME_WDOG1131_SLOW (wr) |
GPV_ABSWARNCOUNT_WDOG1131_SLOW | Value that contains the total number of PLC cycles (not necessarily consecutive) causing intervention of GPV_WARNINGTIME_WDOG1131_SLOW |