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.

Implementing Ratio Following<br />

This section covers the basic elements of implementing Ratio Following:<br />

• Applying Following setup parameters<br />

• Move profiles<br />

• Performing phase shifts (FSHFC <strong>and</strong> FSHFD)<br />

• Geared advanced (FGADV)<br />

• Application scenarios:<br />

- Electronic gearbox<br />

- Trackball<br />

Ratio Following Setup Parameters<br />

Prior to executing a Following move, there are several setup parameters that must be<br />

specified. These parameters may be established:<br />

Programming<br />

examples — see<br />

application examples<br />

later in this chapter.<br />

• Define the master <strong>and</strong> follower (FOLMAS)<br />

• Define master & follower scaling factors (SCLMAS, SCLA, SCLD, <strong>and</strong> SCLV) – if required<br />

• Define the follower-to-master Following ratio (FOLRN <strong>and</strong> FOLRD)<br />

• Define the master distance (FOLMD) – define scaling first<br />

• Enable the Following Mode (FOLEN)<br />

Following Status<br />

(see TFSF, TFS <strong>and</strong> FS<br />

comm<strong>and</strong>s)<br />

Following Status bits 5-8 (see table below) are meant to indicate the status required for<br />

Following motion (i.e., a master must be assigned, Following must be enabled, the master must<br />

be moving, <strong>and</strong> for many features, the master direction must be positive).<br />

Bits 7-8 represent master motion <strong>and</strong> master direction respectively. Unless the master is a<br />

comm<strong>and</strong>ed position of another axis, it is likely that minor vibration of the master will cause<br />

these bits to toggle on <strong>and</strong> off, even if the master is nominally “at rest”. These bits are meant<br />

primarily as a quick diagnosis for the absence of master motion, or master motion in the wrong<br />

direction. Many features require positive master counting to work properly.<br />

Bit # Function (yes = 1; no = Ø)<br />

5 FOLMAS Active ................A master is specified with the FOLMAS comm<strong>and</strong>.<br />

6 FOLEN Active ..................Following has been enabled with the FOLEN comm<strong>and</strong>.<br />

7 Master is Moving.............The specified master is currently in motion.<br />

8 Master Dir Neg................The current master direction is negative. (bit must be cleared to<br />

allow Following move in preset mode–MCØ).<br />

Define the Master<br />

<strong>and</strong> Follower;<br />

(FOLMAS)<br />

The FOLMAS comm<strong>and</strong> defines the masters <strong>and</strong> the followers. The comm<strong>and</strong> syntax is:<br />

Follower<br />

Axis<br />

FOLMAS <br />

Format for master assignment to follower:<br />

<br />

Sign Bit<br />

Master source axis # (optional)<br />

Master source selection<br />

170 Gem6K Series Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!