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.

Restricted Comm<strong>and</strong>s During Motion<br />

When motion is in progress on a given axis (or task), some comm<strong>and</strong>s cannot have their<br />

parameters changed until motion is complete (see table below).<br />

For the comm<strong>and</strong>s identified in the table, if the continuous comm<strong>and</strong> execution mode is<br />

enabled (COMEXC1) <strong>and</strong> you try to enter new comm<strong>and</strong> parameters, you will receive the error<br />

response MOTION IN PROGRESS. If the continuous comm<strong>and</strong> execution mode in disabled<br />

(COMEXCØ), which is the default setting, you will receive the response MOTION IN<br />

PROGRESS only if you precede the comm<strong>and</strong> with the immediate (!) modifier (e.g., !V2Ø);<br />

if you enter a comm<strong>and</strong> without the immediate modifier (e.g., V2Ø), you will not receive an<br />

error response <strong>and</strong> the new parameter will be ignored <strong>and</strong> the old parameter will remain in<br />

effect.<br />

Multi-Tasking<br />

If you are using multi-tasking, the restriction on comm<strong>and</strong>s is applicable only for the task to<br />

which the comm<strong>and</strong> is direct. For example, suppose axes 1 <strong>and</strong> 2 are associated with Task 1<br />

(TSKAX1,2) <strong>and</strong> axes 3 <strong>and</strong> 4 are associate with Task 2 (TSKAX3,4). If motion is in progress<br />

on axes 1 <strong>and</strong> 2, Task 1 is considered “in motion” <strong>and</strong> Task 1 cannot execute a comm<strong>and</strong><br />

from the list below. However, while motion is in progress in Task 1 <strong>and</strong> not Task 2, Task 2<br />

may execute these comm<strong>and</strong>s without encountering an error.<br />

All of the comm<strong>and</strong>s in the table below, except for SCALE, are axis-dependent. That is, if<br />

one axis is moving you can change the parameters on the other axes, provided they are not in<br />

motion.<br />

Comm<strong>and</strong> Description Comm<strong>and</strong> Description<br />

CMDDIR.........Comm<strong>and</strong>ed Direction Polarity JOY............... Joystick Mode Enable<br />

DRES .............Drive Resolution<br />

JOYA............. Joystick Acceleration<br />

DRIVE...........Drive Shutdown<br />

JOYAA .......... Average Joystick Acceleration<br />

ENCPOL.........Encoder Polarity<br />

JOYAD .......... Joystick Deceleration<br />

ERES .............Encoder Resolution<br />

JOYADA ........ Average Joystick Deceleration<br />

FOLEN...........Following Mode Enable<br />

JOYVH .......... Joystick Velocity High<br />

HOM ...............Go Home<br />

JOYVL .......... Joystick Velocity Low<br />

HOMA .............Home Acceleration<br />

LHAD............. Hard Limit Deceleration<br />

HOMAA...........Average Home Acceleration<br />

LHADA .......... Average Hard Limit Deceleration<br />

HOMAD...........Home Deceleration<br />

LSAD............. Soft Limit Deceleration<br />

HOMADA.........Average Home Deceleration<br />

LSADA .......... Average Soft Limit Deceleration<br />

HOMV .............Home Velocity<br />

PSET............. Establish Absolute Position<br />

HOMVF...........Home Final Velocity SCALE .......... Enable/Disable Scale Factors *<br />

JOG ...............Jog Mode Enable<br />

JOGA .............Jog Acceleration<br />

JOGAA...........Average Jog Acceleration<br />

JOGAD...........Jog Deceleration<br />

JOGADA.........Average Jog Deceleration<br />

JOGVH...........Jog Velocity High<br />

JOGVL...........Jog Velocity Low<br />

SCLA............. Acceleration Scale Factor<br />

SCLD............. Distance Scale Factor<br />

SCLV............. Velocity Scale Factor<br />

* If any axis is in motion, you will cause an error if you attempt to change this comm<strong>and</strong>'s parameters.<br />

Chapter 1. Programming Fundamentals 17

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

Saved successfully!

Ooh no, something went wrong!