Are there any libraries used that created their own tasks on runtime? This is often the case for external fieldbus libraries or some other CODESYS functions. Please check scheduler in the ctrlX CORE web UI while error is present.
As error seems to be sporadic, what is done right before error is occurring?
... View more