DOCA0275EN-00

Introduction

Compiling Overview

The customized program must be compiled before being downloaded to the LTMT main unit:

  • The programs in custom logic language can be compiled directly.

  • The programs in FBD language must be first converted in custom logic language programs before compilation as custom logic programs.

Compiling includes a check for program errors, such as:

  • Syntax and structure errors

  • Symbols without corresponding addresses

  • Resources used by the program that are not available

  • Whether the program fits in available LTMT main unit memory

Converting FB Diagram to Custom Logic

Select Device > FB Diagram > FB Diagram to Custom Logic to compile the created or edited FBD into custom logic program.

The program is automatically copied into the custom logic editor if there is no detected error.

NOTE: Remember to save the FBD program in the FBD editor before converting it, because it is not possible to convert a custom logic program file into an FBD program file.

Compiling Custom Logic

Follow these steps in order to compile the custom logic program just created into PCode:

  1. Select Device > Custom Logic.

  2. Select Compile Custom Logic.

NOTE: If no errors are detected, the PCode window is displayed. Otherwise, the Detected Error window is displayed.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?