Wire EDM Machine Operation Chapter 10
Copyright November, 98 Page 10-5 Sodick Inc.
5000). Then the value of H000 (5000) will be divided by two (result = 2500). And last,
the control will subtract 2500 from 5000 and the result of this combined expression will
be 2500 (.25 inch).
These simple commands by themselves don’t mean much. But when they are used with a
completed Q routine properly, there are fantastic implications. There is an example that
shows you the real power of the Q routine techniques on the following pages.
OVAL SHAPED DIE BUTTON EXAMPLE
One excellent application for Q routines is with die buttons. Companies that machine die
buttons usually have a limited number of shapes to be machined in the die button, but
there may be many different sizes of the same basic shape. This is when variables and Q
routines come to help out. A program can be written using these techniques which allows
the input of sizes so the operator can adjust the NC program to cut the size part that is
needed.
Here is a drawing that shows an oval shaped die button.
Figure 10-1
Wouldn’t it be nice if all you had to do to machine this die button is make the command:
QOVAL(5000,10000)
Believe it or not, this is possible. However, let’s also add the condition and offset to be
used to the call statement so the revised version looks like this: