Hello everybody. In this short video, I’m
going to show you another way of dealing with the visualization issue in the newest version
of the CODESYS. So, here I have made a very simple program in which we have one input
and one output. The input is the Start and the output is the Motor. And here
we have a simple visualization so there is a switch to change the state of the input
and there is a lamp to show the state of the ouput.
We are in the simulation mode and then doing
the login, login with download. Alright, then if you try to run the
program, we will see this problem, which is
“Program loaded – Exception”. So here I will show you how to solve this problem, without
the need to install the older versions of the CODESYS. Right click
on the application in the project tree, here we have the properties, then switch to the
“Build” tab of the properties and here for the “Compiler defines” field, you need to
write down this “VISU_NO_EXCEPTION_HANDLING”. Apply it and
then click on OK, now, if you, after saving the project, if you login again, with download.
Ok, let’s wait for that, now it’s ready to run. Now you see that the error is disappeared.
You can just use the visualization in this way. Alright, so
I hope that helps.