Skip to main content

Command: Build

Function: The command starts the compile operation for the active application.

Call: The command is not in any menu by default. You can insert it into a menu by means of the Tools → Customize dialog in the Build command category.

During the compile operation, CODESYS performs a syntactic check of all objects in the application. However, code is not generated like when logging in to the target system or downloading the application. The build operation is always performed automatically when you log in with a changed program.

When the check is complete, CODESYS displays any error messages or warnings in the message view in the Build category.

If the program has not been changed since it was compiled without errors the last time, then it is not rebuilt. The message "The application is current" is displayed. If the syntactic validation is repeated, then you have to execute the Rebuilt command.