Table of Contents - TG Drives
Table of Contents - TG Drives
Table of Contents - TG Drives
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
ECT<br />
INTRODUCTION<br />
The ECT is a Windows-based application used for EDITING, COMPILING AND TESTING<br />
<strong>of</strong> user-created source code to control the DMC 2 Motion Controller. Each <strong>of</strong> these<br />
functions is available through the ECT application Main Menu window.<br />
• The EDITOR is full-featured ASCII text editor that allows the user to create and<br />
edit source code. This source code can then be compiled using the ECT<br />
Compiler, and tested using ECT’s Test application.<br />
• The COMPILER is a tool that translates the source code into native DMC 2<br />
executable code; also referred to as hex code. When selected, source code in<br />
the active Edit window is automatically compiled.<br />
• TEST is a tool for debugging user-written/edited DMC 2 source code.<br />
DEFINITIONS<br />
Source code A collection <strong>of</strong> organized DMC 2 instructions that is<br />
recognized by the compiler, together with compiler<br />
directives and any library functions subsequently<br />
added and made available to the user.<br />
Library functions and<br />
macros<br />
RUNNING ECT<br />
Inmotion Technologies AB written or user-written<br />
code segments that perform encapsulated functions.<br />
Macros may be saved as independent text files, and<br />
‘included’ through the Editor for compilation.<br />
When ECT starts, the user is presented with a complete environment for editing,<br />
compiling, and testing PL2 source code.<br />
To start ECT, select the ECT icon from the Windows Program Manager screen.<br />
Once loaded, ECT displays the ECT desktop.<br />
THE ECT DESKTOP<br />
The following lists the major components <strong>of</strong> the ECT desktop:<br />
Application Caption Bar: Displays ”ECT” and the name <strong>of</strong> the active Application.<br />
Menu Bar: Contain a list <strong>of</strong> user-selectable menus that include<br />
commands to instruct ECT to perform actions.<br />
Speed Bar: When used with a mouse, provide instant access to<br />
frequently used ECT commands.<br />
Status Bar: Displays information at the bottom <strong>of</strong> the ECT desktop<br />
about the selected menu bar command.<br />
Edit Window: Used for creating and/or editing source code files.<br />
Compile Window: A text window that reports compiler errors and/or<br />
warnings.<br />
Test Window: A text window that reports motion controller response.<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001 207