Instructions
step this program through and again be sure you are positive that you can understand
every move made so well that you can explain to someone what the move is and why it is
going to make it this or that way before going on. Our class is very understanding and we
are all going to wait for you while you go back and catch up, but don’t let it happen
again.
The Great Race
Instead of R/C, let’s go PC aircraft racing. We'll watch the race using the backplot
program. First, set the tool diameter to 0.600" in d1. Next, we'll write a short program
that will lay out a triangular course. Our racing aircraft will be a micro delta aircraft that
has strange flying characteristics allowing it to fly forward or backward in a nose down
attitude (sometimes it just takes a good imagination). Racing rules state that it can only
go around the pylons by turning left during the race. Cutter comp will make this easy
because it will automatically calculate the tangent points needed to run this program. By
juggling the turn-in points we can shorten the course, thereby lowering the time. There’ll
be more rules but first lay out a triangular pylon race course. The vertical lines are the
pylon marks. The start finish line is included, and the program will be designed to lay the
course out at the beginning of each new race.
Figure 5
The entire program:
%
(EMC race course)
(Set tool diameter D1 to .600)
g00 g17 g40 g90 x-1 y1 z0
g01 y.5 f100
z.5
z0
48