Skip to main content
Skip table of contents

How can the PLC code be checked for errors?

Various aids are available to check your own PLC code for errors. One of the options is to implement the implicit monitoring functions provided by CODESYS in the program. These functions check the limits of arrays or subrange types, the validity of pointer addresses or a division by zero during runtime.
To conserve variTRON resources, it is advisable to remove these monitoring functions from the program at the end of the development process.

By adding the desired functions, one function is inserted below the application in the device tree. In these POUs, the implementation part can be adjusted to your own requirements.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.