Hi Alex,
The watchdog should trip as soon as the timeout is reached, without any more code execution. I cannot explain how the "time after task start" value is calculated, but I am currently in conversation with someone who should be able to tell me, and I will let you know the answer when I have it.
I have reproduced this situation as follows:
AXC F 2152 FW 2020.6.1
PLCnext Engineer version 2020.6.2
Cyclic task 100ms, watchdog 100ms
One program instance. This program:
WHILE TRUE DO
// Nothing
END_WHILE
... generates this message in the Output.log file:
03.09.20 12:02:00.934 Arp.Plc.Esm.Internal.WatchdogHandler ERROR - Watchdog of task 'Cyclic100' triggered. (watchdog time 100000us / time after task start 199816us)
The "time after task start" is (approximately) 200 ms, when I would expect it to be 100 ms.
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support