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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Registration — Sample Application 1<br />

In this example, two-tiered registration is achieved (see illustration below). While the motor<br />

is executing it’s 50,000-unit move, trigger input 1 (TRG-1A) is activated <strong>and</strong> executes<br />

registration move A to slow the load’s movement. An open container of volatile liquid is then<br />

placed on the conveyor belts. After picking up the liquid <strong>and</strong> while registration move A is<br />

still in progress, trigger input 2 (TRG-1B) is activated <strong>and</strong> executes registration move B to<br />

slow the load to gentle stop.<br />

DEL REGI1 ; Delete program (in case program already resides in memory)<br />

DEF REGI1 ; Begin program definition<br />

INFNC1-H ; Define trigger input 1 (TRG-1A) as trigger interrupt input<br />

INFNC2-H ; Define trigger input 2 (TRG-1B) as trigger interrupt input<br />

A20<br />

; Set acceleration on axis 1 to 20 units/sec2<br />

AD40 ; Set deceleration on axis 1 to 40 units/sec2<br />

V1<br />

; Set velocity on axis 1 to 1 unit/sec<br />

1REGA4000 ; Set TRG-1A's registration distance on axis 1 to 4000 units<br />

; (registration A move will use the A, AD, & V values above)<br />

A5<br />

; Set acceleration on axis 1 to 5 units/sec/sec<br />

AD2<br />

; Set deceleration on axis 1 to 2 units/sec/sec<br />

V.5 ; Set velocity on axis 1 to 0.5 units/sec<br />

1REGB13000 ; Set TRG-1B's registration distance on axis 1 to 13,000 units<br />

; (registration B move will use the A, AD, & V values above)<br />

RE10 ; Enable registration on axis 1 only<br />

A50 ; Set acceleration to 50 units/sec/sec on axis 1<br />

AD50 ; Set deceleration to 50 units/sec/sec on axis 1<br />

V10 ; Set velocity to 10 unit/sec on axis 1<br />

D50000 ; Set distance to 50000 units on axis 1<br />

GO10 ; Initiate motion on axis 1<br />

END<br />

; End program definition<br />

v<br />

10<br />

8<br />

1st Registration mark<br />

(TRG-1A) occurs<br />

2nd Registration mark<br />

(TRG-1B) occurs<br />

6<br />

4<br />

Pick up<br />

container<br />

here<br />

2<br />

0<br />

0<br />

10,000<br />

20,000<br />

D<br />

Chapter 6. Following 161

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

Saved successfully!

Ooh no, something went wrong!