Back to FAQ's

How is a C/C++ program written to the controller using TelePACE?


A C/C++ logic program is typically written to the controller’s RAM and is done from the C/C++ Program Loader dialog. Only Back to FAQ's
executable files with the extension .abs (16-bit controllers) or .mot (32-bit controllers) can be written. Executable files are created using only the following third-party compiler software: Microtec C compiler for the 16-bit controllers and Hitachi C++ compiler for the 32-bit controllers. Both compilers are available from Control Microsystems.

To write a C/C++ executable file to the controller’s RAM:

  • Establish communication with the controller.
  • Select the Controller | C/C++ Program Loader command. The following dialog is displayed:

  • From the Write Options check boxes, select which program components are to be written to the controller. The C/C++ Program check box must be enabled in order to write a C/C++ program to the controller.
  • Choose the file to write to the controller by selecting the Browse button and browsing to the file location. Once the file has been selected, it will appear in the C/C++ Program File pull-down list.
  • Select the Write button. When the download progress bar indicates 100%, the writing procedure is completed.
  • Select the Run button to execute the C/C++ code in the controller.
  • Select the Close button to close the dialog.