Build a
Trusted
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 the device, function, or function block. Once a project has been built, subsequent builds only recompile the parts of the project needing recompiling.
When building projects or devices, view the progress of the build operation in the Output window. When the build operation is complete, view generated errors in the Error List.
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 the device within a project
  1. In the
    Application View
    , click the device.
  2. From the
    Build
    menu, click
    Build <Device>
    .
View build progress and generated errors
  1. From the
    Tools
    menu, click
    Options
    .
  2. In the
    Options
    dialog box, expand
    Projects
    , click
    General
    , select the following options, and then click
    OK
    .
    • Always show Error List if build finishes with errors
    • Show Output window when build starts
  3. Build the required project.
Stop a build
Perform either of the following steps:
  • On the menu bar, select
    Build
    >
    Cancel
    .
  • Press
    Ctrl+Break
    .
IMPORTANT: For projects using functions and function blocks from the global library, set the target for the global library to match the project.
  1. Expand
    Libraries
    , then
    Global
    .
  2. Select
    Functions
    , then set the the
    Targets
    property to
    Simulate
    in the
    Properties
    window.
  3. Select
    Function Blocks
    , then set the
    Targets
    property to
    Simulate
    in the
    Properties
    window.
The
AADvance-Trusted SIS Workstation software
rebuilds the device and increases the compilation version number in the following conditions:
  • The device has been modified since the last compilation
  • A dependent library is not compiled, was compiled after the device, or was modified since the last compilation
  • A POU has been modified since the last compilation
  • The device contains variables in binding consumer links or variables in CIP consumer links.
The compiler generates different code for simulation than for targets. Therefore, specify the code for simulation in the device properties before building.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal