First download this package and install it. The package will require CODESYS 3.5 SP16.
It will add a visualization element required for the detection of the webvisu state.
This element contains some javascript code, which will forward any log messages from the webvisu to its referenced iframe.