Building an AADvance Project

Choose to generate code and the necessary files for a project. Also, choose to build only a selected element within a project such as a controller or library.
When building projects, controllers, or libraries, view the progress of the build operation in the
Output
window. When the build operation is complete, view generated errors in the
Error List
.
TIP:
  • Always perform a build operation after getting a specific version of a project.
  • Verify all elements are connected before performing a build.
Task
Procedure
Build a project
In the
Application View
, right-click the project element, and then click
Build All
(or press
Ctrl+Shift+B
).
Build a selected element within a project
  1. In the
    Application View
    , click the required controller or library.
  2. From the
    Build
    menu, click
    Build <Element>
    .
    The build process is initiated for the selected element only.
View the build progress and generated errors
  1. From the
    Tools
    menu, click
    Options
    .
    1. In the
      Options
      dialog box, and then expand
      Projects
      .
    2. Select
      General
      , and then select the following options:
      • Always show Error List if build finishes with errors
      • Show Output window when build starts
    3. Select
      OK
      .
  2. Build the required project.
Stop a build
Perform either of the following steps:
  • On the menu bar, select
    Build
    >
    Cancel
    .
  • Press
    Ctrl+Break
    .
The
AADvance-Trusted SIS Workstation software
rebuilds controllers and increases the build number in these conditions:
  • The controller has been modified since the last compilation
  • A dependent library is not compiled, was compiled after the controller, or was modified since the last compilation
  • Contains a program organization unit (POU) needing compilation: a POU has been modified since the last compilation, a POU is an LD or FBD function block for which symbol monitoring is activated, and a POU has local array variables when array index verification is activated.
  • The controller contains variables in binding consumer links or variables in CIP consumer links
The compiler generates different code for simulation than for targets. Specify the code for simulation in the controller properties before building.
Generating monitoring symbols information to graphically monitor the values of variables requires a significant amount of memory space. When compiling, an error message stating that the memory limit has been reached may display in the output window. To enable compiling, either disable monitoring for the POU, remove elements from the POU, or reduce the size of the POU.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal