14.01.2015 Views

Gemini GV6K and Gemini GT6K Programmer's Guide

Gemini GV6K and Gemini GT6K Programmer's Guide

Gemini GV6K and Gemini GT6K Programmer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Native Code Programming<br />

As an alternative to using the Wizard Editor, you may program directly with the Gem6K<br />

Comm<strong>and</strong> Language (“Native Code”). Motion Planner has several tools to help you:<br />

ACCESSING THE TOOLS: These tools are exposed when you first launch Motion<br />

Planner.<br />

• Program Editor: This is your primary interface for programming with the Gem6K<br />

Comm<strong>and</strong> Language.<br />

• Terminal Emulator: This is your primary communications interface to send comm<strong>and</strong>s<br />

directly to the Gem6K.<br />

• Servo Tuner: This graphical tuning utility helps you visually tune your servo axes. Then<br />

you can copy the resulting gains into your program in the Program Editor. NOTE: Before<br />

attempting motion, be sure to tune your axes. Tuning guidelines are provide on page<br />

• Motion Panel: This feature allows definition of quick comm<strong>and</strong> buttons <strong>and</strong> other useful<br />

debugging <strong>and</strong> functional tools to assist in programming your Gem6K.<br />

• Online Help: While you are programming in Motion Planner’s Editor, Terminal or Servo<br />

Tuner, you have immediate access to all comm<strong>and</strong> descriptions (the contents of the<br />

Gem6K Series Comm<strong>and</strong> Reference, as well as the contents to this Programmer’s <strong>Guide</strong>).<br />

To access the comm<strong>and</strong> descriptions, click on the Help menu <strong>and</strong> select Contents; from<br />

there you can browse the “Gem6K Comm<strong>and</strong> Language” or you can search for the<br />

comm<strong>and</strong> or a topic in the Index tab.<br />

The rest of the contents in this manual are directed toward the native code programmer. If you<br />

are new to the Gem6K Series Programming Language, be sure to read Chapter 1 (Programming<br />

Fundamentals) thoroughly. Then proceed to the relevant chapters for the features you need for<br />

your programs.<br />

NOTE: If you later decide to use the Wizards Editor, you can copy code from the Program<br />

Editor <strong>and</strong> paste it into Native Code objects in the Wizard program tree.<br />

TIP: For complex programming tasks, like setup programming, error programming, Following<br />

profile development, etc., you can use the relevant wizard in the Wizards Editor, then copy the<br />

generated code from the Code Viewer <strong>and</strong> paste it into a Program Editor file.<br />

Chapter 1. Programming Fundamentals 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!