Wire EDM Machine Operation Chapter 9
Copyright November, 98 Page 9-3 Sodick Inc.
F
F
O
O
R
R
M
M
T
T
O
O
O
O
L
L
S
S
With a form tool, the cutting path is not in an enclosed shape. Generally, a form tool is
cut from one end to the other. During the rough pass, the wire could be stopped just prior
to reaching the other end of the shape. This will allow the operator to support the slug end
of the stock as it is cut loose. If trim passes are necessary, after the rough pass is
completed another stop is made to allow the operator to remove the slug.
If trim passes are necessary, it is wise to make them in a reverse direction for the same
reasons as for a die. But if you want to make the trim passes in the same direction as the
rough pass (because it is easier), you can rapid (G00 code) the wire back to the start point
and make the first trim pass. This can be repeated for as many trim passes as necessary.
W
W
O
O
R
R
D
D
S
S
I
I
N
N
V
V
O
O
L
L
V
V
E
E
D
D
I
I
N
N
S
S
U
U
B
B
R
R
O
O
U
U
T
T
I
I
N
N
E
E
S
S
Before we give examples of each type of shape, we want to show you how to develop
subroutines in a way that simplifies making trim passes. Subroutines keep you from
having to write redundant commands a second time, and basically trim passes are
redundant commands. Your goal with subroutines will be to isolate the trim passes from
the main program in a way that lets you simply command that the trim pass be made
when you want them. At first this might seem a little complicated, but when you see an
example you will realize that it really is straightforward.
SUBROUTINES INVOLVE FOUR PROGRAMMING WORDS:
M98 - Jump to a sub routine
M99 - Return to the main program
P word - Sequence line number to jump to?
L word - Loop the sub routine how many times?
The M98 command will ALWAYS include a P word to tell the control where to go.
When the control reads M98 P1000 for example, it jumps to sequence number N1000 in
the subroutine and continues executing from there. When the control reads an M99
command, it jumps back to the main program to the command AFTER the M98 P1000
and continues execution. The commands that are between the N word and the M99 will
include the movement commands (G codes) to drive the wire around the shape.
The subroutine (beginning with the N word, which is specified by the P word) will
ALWAYS be included AFTER the end of the main program (after the M02 of the main
program).