Command Build PLC project

Symbol: Command Build PLC project 1:

Function: This command starts the compilation process or the code generation for the currently active PLC project.

Call: Build menu if a PLC project is currently selected, or context menu of the PLC project object (<PLC project name> Project) in the Solution Explorer

Requirement: The PLC project is selected.

During the compilation, TwinCAT carries out a syntactic test of all objects used in the PLC project. The compilation procedure is always carried out automatically when you wish to log the project in with a changed program. After the check has been completed, TwinCAT displays any error messages or warnings in the Error List view.

Apart from that, the compilation information of the PLC project is created when building the project and saved in a local file (*.compileinfo) in the Solution.

If the program was not changed since the last error-free compilation process, it is not recompiled. If the syntactic test is to be performed anyway, use the Command Rebuild a PLC project.