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.

Pause/Continue<br />

• LIMFNCi-E<br />

• INFNCi-E<br />

An input defined as a Pause/Continue input will affect motion <strong>and</strong> program execution<br />

depending on the COMEXR comm<strong>and</strong> setting, as described below. In both cases, when the<br />

input is activated, the current comm<strong>and</strong> being processed will be allowed to finish executing<br />

before the program is paused.<br />

COMEXRØ: Upon receiving a pause input, only program execution will be paused; any motion<br />

in progress will continue to its predetermined destination. Releasing the pause<br />

input or issuing a !C comm<strong>and</strong> will resume program execution.<br />

COMEXR1: Upon receiving a pause input, both motion <strong>and</strong> program execution will be paused;<br />

the motion stop function is used to halt motion. Releasing the pause input or<br />

issuing a !C comm<strong>and</strong> will resume motion <strong>and</strong> program execution. You cannot<br />

resume program execution while the move in progress is decelerating.<br />

User Fault<br />

• LIMFNCi-F<br />

• INFNCi-F<br />

An input defined as a User Fault input acts as an immediate Kill (!K) comm<strong>and</strong>, stopping<br />

motion <strong>and</strong> terminating program execution. Motion is stopped at the rate set with the hard limit<br />

(LHAD & LHADA) comm<strong>and</strong>s.<br />

If error-checking bit #7 is enabled (e.g., ERROR.7-1), then a user fault input will cause a<br />

branch to the ERRORP error program (for more information, see Error H<strong>and</strong>ling on page 30)<br />

<strong>and</strong> the occurrence of a user fault input will be reported by error bit #7 (see TERF, TER <strong>and</strong> ER<br />

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

Trigger Interrupt<br />

(INFNCi-H)<br />

This function is available only for onboard trigger inputs. Any trigger input may be defined<br />

as a Trigger Interrupt input <strong>and</strong> can be used for these functions:<br />

• Position Capture (see below)<br />

• Special trigger functions assigned with the TRGFN comm<strong>and</strong> (see below)<br />

• Registration (see discussion on page 159)<br />

Notes About Trigger Interrupt Inputs<br />

• The trigger interrupt input is debounced for 24 ms (default) before another input on the<br />

same trigger is recognized. If your application requires a different debounce time, you can<br />

change it with the TRGLOT comm<strong>and</strong> (refer to Input Debounce Time on page 96).<br />

• When configured as Trigger Interrupts, the triggers cannot be affected by the input enable<br />

(INEN) comm<strong>and</strong>.<br />

• Status: Use the TTRIG <strong>and</strong> TRIG comm<strong>and</strong>s to ascertain if a trigger interrupt input has<br />

been activated. TTRIG displays the status as a binary report, <strong>and</strong> TRIG is an<br />

assignment/comparison operator for using the status information in a conditional<br />

expression (e.g., in an IF statement). Each TTRIG/TRIG bit is cleared when the<br />

respective captured position value is read with the PCC, PCE, PCME, PCMS, TPCC, TPCE,<br />

TPCME, or TPCMS comm<strong>and</strong>s, but the position information is still available from the<br />

respective register until it is overwritten by a subsequent position capture by the same<br />

trigger input.<br />

Position Capture<br />

The Gem6K has two dedicated trigger inputs, referred to as “TRIG-A” <strong>and</strong> “TRIG-B.” These<br />

trigger inputs are located on the DRIVE/10 connector. When either trigger input (TRIG-A or<br />

TRIG-B) is assigned the Trigger Interrupt function, activating the input performs a hardware<br />

capture of the position. If the Gem6K is used as a follower in Following, activating the trigger<br />

also performs an interpolated capture of the associated master axis position.<br />

An additional trigger, labeled “TRIG-M”, may be used to perform a hardware capture of the<br />

Master Encoder (the encoder connected to the “MASTER ENCODER” connector), as well as the<br />

motor position (encoder position on servo axes; comm<strong>and</strong>ed or encoder position for steppers,<br />

depending on the ENCCNT setting). To assign TRIG-M as a trigger interrupt input, use the<br />

Chapter 3. Basic Operation Setup 99

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

Saved successfully!

Ooh no, something went wrong!