-

Rebuilding the Project (without Writing)

The 'Write and Start' command in the context menu of the controller in the PLANT (or <F5> keyboard shortcut) compiles the standard (non-safety-related) part of the project, generates a project image, and sends it to the standard controller. After the transmission, the project execution is started automatically.

If a Safety PLC is included, the standard and the safety-related controller can be handled (commissioned and controlled) independently of each other: the 'Write and Start' command in the context menu of the Safety PLC only compiles the safety-related part of the project, generates a safety-related project image, and writes it to the Safety PLC. After the transmission, the Safety PLC restarts and the project execution is started automatically.

To compile the entire project consisting of a standard and a safety-related part without an automatically following transfer to the controller and the Safety PLC (for example, after editing the project and after eliminating any errors the compiler reported during code development, see note below), you can build the project manually. A rebuild may also be useful after you have unzipped a project archive file without the front end code, or if changes have been made in a referenced user library.

To rebuild the project, select 'Project > Rebuild'.

After a successful rebuild, the project image (containing the application logic as controller-specific code and all relevant configuration/parameterization data) is built and ready to be written to the controller.

If an HMI application has been developed in the project, the HMI data are also sent to the controller.

Note
  • The rebuild command in the 'Project' menu creates both the standard and the safety-related project image.
  • The 'IEC 61131-3' node additionally provides its own 'Rebuild...' context menu command in the PLANT which rebuilds the standard project part separately.
  • As code and variables are continuously checked for correct syntax in the background while editing, no manual syntax check is required.
  • The path to which the compiler outputs the project image file is set in the 'Options' dialog. (The project image is one part of the generated binaries.) Select 'Extras > Options' and open the category 'Tool | Directories'. The 'Binaries location' field specifies the output path for the project image.