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.

; Program second constant ratio<br />

FOLRN3<br />

; At a 3 to 1 ratio<br />

FOLMD1 ; Over a master distance of 1"<br />

D3 ; Slave will travel 3"<br />

GOBUF1<br />

; Build motion<br />

; Program ramp to lower ratio<br />

FOLRN1<br />

; Go to a 1 to 1 ratio<br />

FOLMD0.5 ; Over a master distance of 0.5"<br />

D1 ; Slave will travel 1"<br />

GOBUF1<br />

; Build motion<br />

PLN1<br />

; Close motion loop<br />

; Define the exit motion<br />

FOLRN0<br />

; Stop slave at zero ratio (<strong>and</strong> zero velocity)<br />

FOLMD1 ; Over a master distance of 1"<br />

D0.5 ; And a slave distance of 0.5"<br />

GOBUF1<br />

; Build motion<br />

END ; End definition of example program 3<br />

PCOMP EXMPL3 ; Compile example program 3<br />

; **********************************************************<br />

; * To execute the program, enter the PRUN EXMPL3 comm<strong>and</strong> *<br />

; **********************************************************<br />

NOTE: The GOBUF comm<strong>and</strong> has been added to the “Define the exit motion” portion<br />

of the program despite the fact that an infinite loop has been programmed earlier in the<br />

program. This is to avoid an error message when the program is compiled.<br />

Compiled Motion — Sample Application 4<br />

A manufacturer of stamped molds needs to make a machine which will stamp molds into a<br />

continuous flow of extruded plastic material. The stamp must be lowered 0.5 inches into the<br />

plastic to leave the correct impression. Because the flow is continuous, the stamp must also<br />

move in synchronization with plastic in the direction of flow as it is lowered <strong>and</strong> raised. The<br />

initial design approach to the machine required two axes of motion. One was needed to lower<br />

<strong>and</strong> raise the stamp, the other to allow the stamp to follow the plastic. With the availability of<br />

complex Following cam profiles the job can done with a single axis.<br />

In the drawing below, the stamp is attached to a rotating arm in such a way that the stamp<br />

remains level as the arm rotates. The length of the arm at the stamp fixture, or radius of<br />

rotation, is exactly one inch. The arm is mounted above the plastic so that at the bottom of its<br />

rotation (270 degrees), the stamp will be 0.5 inches into the plastic. Using trigonometry, the<br />

horizontal <strong>and</strong> vertical positions <strong>and</strong> speeds may be calculated at other arm angles. Because<br />

the stamp must follow the flow of the plastic, we must adjust the ratio of rotational speed to<br />

plastic speed so that the horizontal velocity component of the arm stays at 1:1 with the plastic<br />

while the stamp is in the plastic.<br />

<br />

<br />

<br />

<br />

<br />

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

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

Saved successfully!

Ooh no, something went wrong!