Building application, but no loading onto PLC
Use the command Build Application in the Instances view, if you want to create the application for one →PLC that is not available (as it might be offline, for example). Because of this command, you know whether the necessary binary files can be built successfully for the PLC although they are not executed on the PLC. If you want to create the application for an available PLC and load it onto this PLC at the same time, rather use the command Build and Load Application.
Conditions for Build Application:
You have already assigned a program within the PLC-object (see "Assigning program type within PLC-object"). (This is given, after you have created a project and you are using the existing →resources.)
You have configured the PLC within the PLC-object.
The objects with the application must contain correct ST-code, FBD-logic or ladder diagrams.
See "Highlighting the errors and warnings in the ST-editor", "Highlighting the errors and warnings in the FBD-editor" or "Highlighting the errors and warnings in the LD-editor".External variables must reference global variables correctly (name and type must match). Details: see "Declaration of external variables in ST".
The PLC-object with the configured PLC must contain correct definitions (see under "Errors while editing PLC-object in editor" for the correct syntax within the editor for a PLC-object).
How to have the binary files created for which your application in ST, application in FBD and/or application in LD-editor is the base and that are necessary for the execution on a PLC:
In the Instance view: Select the requested PLC (= appertaining IEC-resource with icon ) or one of the children.
Result: Above the toolbar for the view, the selected PLC incl. the project name is displayed.Click in order to create the programs assigned in the PLC-object. Mind that the application is not loaded for execution onto the PLC.
Result: The Build Log view informs you whether the application has been built successfully or not.
The application navigator also provides the possibility to build the application.
The Resource Manager view provides the possibility to build the application for several PLCs in one go.
logi.CAD 3 provides a tool for automated builds of PLC applications .