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.

Registration<br />

A “registration input” is<br />

a trigger input assigned<br />

the “trigger interrupt”<br />

function with the<br />

INFNCi-H comm<strong>and</strong>.<br />

When a registration input is activated, the motion profile currently being executed is replaced<br />

by the registration profile with its own distance (REG), acceleration (A & AA), deceleration (AD<br />

& ADA), <strong>and</strong> velocity (V) values. The registration move may interrupt any preset, continuous,<br />

or registration move in progress.<br />

The registration move does not alter the rest of the program being executed when registration<br />

occurs, nor does it affect comm<strong>and</strong>s being executed in the background if the controller is<br />

operating in the continuous comm<strong>and</strong> execution mode (COMEXC1).<br />

Registration moves will not be executed while the motor is not performing a move, while in<br />

the joystick mode (JOY1), or while decelerating due to a stop, kill, soft limit, or hard limit.<br />

How to Set up a Registration Move<br />

☞<br />

ENCCNT: Encoder<br />

capture options for<br />

stepper axes are<br />

discussed on page 85.<br />

Before you can initiate a registration move, you must program these elements (refer also to the<br />

programming examples below):<br />

1. Configure one of the trigger inputs (TRG-nA [#1] or TRG-nB [#2]) to function as a<br />

trigger interrupt input; this is done with the INFNCi-H comm<strong>and</strong>, where “i” is the<br />

input bit number representing the targeted trigger input. Note that the “Master Trigger”<br />

input may not be used for registration.<br />

2. Specify the distance of the registration move with the REG comm<strong>and</strong>. For servo axes,<br />

the distance refers to the encoder position. For stepper axes, the distance refers to<br />

comm<strong>and</strong>ed position if ENCCNT0 (default setting) or encoder position if ENCCNT1.<br />

3. Enable the registration function with the RE comm<strong>and</strong>. Registration is performed only<br />

when the registration function is enabled, <strong>and</strong> with a non-zero distance specified in the<br />

respective axis-designation field of the REG comm<strong>and</strong>.<br />

NOTE: The registration move is executed using the A, AA, AD, ADA, <strong>and</strong> V values that<br />

were in effect when the REG comm<strong>and</strong> was entered.<br />

Registration Move Accuracy (see also Registration Move Status below)<br />

The accuracy of the registration move distance specified with the REG comm<strong>and</strong> is ±1 count<br />

(servo axes: encoder count; stepper axes: comm<strong>and</strong>ed count if ENCCNT0 or encoder count if<br />

ENCCNT1).<br />

RULE OF THUMB: To prevent position overshoot, make sure the REG distance is greater<br />

than 4 ms multiplied by the incoming velocity.<br />

The lapse between activating the registration input <strong>and</strong> commencing the registration move<br />

(this does not affect the move accuracy) is less than one position sample period (2 ms).<br />

The REG distance will be scaled by the distance scale factor (SCLD value) if scaling is<br />

enabled (SCALE1). See page 67 for details on scaling.<br />

Chapter 6. Following 159

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

Saved successfully!

Ooh no, something went wrong!