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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Position loop ratio .................................SGPRAT<br />

Velocity/position b<strong>and</strong>width ratio ..........SGPSIG<br />

Velocity feed forward gain ....................SGVP<br />

Velocity damping ratio ..........................SGVRAT<br />

Using a Setup Program<br />

The features described in this chapter are configured with certain Gem6K Series comm<strong>and</strong>s,<br />

commonly referred to as “setup comm<strong>and</strong>s.” We recommend placing these comm<strong>and</strong>s (except<br />

MEMORY) into a special “setup program” that is executed to prepare the Gem6K Series<br />

product for subsequent controller operations. Further details about setup programming are<br />

provided in the Creating <strong>and</strong> Executing a Setup Program section, page 13.<br />

USE THE START WIZARD IN MOTION PLANNER<br />

The easiest way to get started with your setup program is to use the Start Wizard in Motion<br />

Planner’s Wizard Editor. After the Start wizard is finished, you can include additional setup<br />

code according to your programming needs. The Start wizard also defines which program is<br />

your start-up (STARTP) program. If you do not wish to program you entire application with<br />

the Wizards, you can use the Start wizard to get the basic setup accomplished, <strong>and</strong> then<br />

copy the generated code into the Program Editor. (Wizard version 4.2 or later required)<br />

Resetting the Controller<br />

There are two primary ways to reset the Gem6K controller (listed below).<br />

• Cycle power.<br />

• Execute the RESET comm<strong>and</strong>.<br />

When the controller is reset, most of the previously entered comm<strong>and</strong> parameters are returned<br />

to their original factory default values. All programs <strong>and</strong> variables, as well as certain<br />

comm<strong>and</strong> values, are retained in non-volatile memory (see page 35). If a start-up program is<br />

assigned with the STARTP comm<strong>and</strong>, resetting the controller will automatically execute that<br />

program. If you are using an RP240, the RESET function is available if you use the default<br />

menu system (see page 130).<br />

Memory Allocation<br />

For details about memory allocation, refer to Storing Programs on page 11.<br />

CAUTION<br />

Issuing a new MEMORY comm<strong>and</strong> (e.g., MEMORY200000,100000) will erase all existing<br />

programs <strong>and</strong> compiled profiles residing in the Gem6K product’s memory. To determine the<br />

status of memory allocation, use the TMEM comm<strong>and</strong>.<br />

Do not place the MEMORY comm<strong>and</strong> in the program assigned as the startup (STARTP)<br />

program. Doing so would erase all programs <strong>and</strong> segments upon cycling power or issuing<br />

the RESET comm<strong>and</strong>.<br />

Chapter 3. Basic Operation Setup 65

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

Saved successfully!

Ooh no, something went wrong!