Wire EDM Machine Operation Chapter 10
Copyright November, 98 Page 10-7 Sodick Inc.
N070 G03 X.01 Y-[[H000/2/]-.015] J.015 (ARC OUT TO POINT 9)
N075 G01 Y0 (MOVE TO POINT 10)
N080 G40 X0 (CANCEL OFFSET AND MOVE BACK TO POINT 1)
Once you understand these techniques, it opens the door to many applications. To
develop the Q routine, it may take longer than the amount of time it takes to write only
one long hand program. But once the Q routine is written, programming each new die
button will be very simple and quick.
G AND M CODES FOR Q ROUTINES
Along with the features shown to this point, Sodick has also designed some special G
codes that have application with Q routine techniques.
G80 - Sensor Touch
This command can be used to pick up the edge of a workpiece. But to this point, you
have only used the G80 in MAL, MDI mode. The G80 can also be used in a program.
The center hole pickup Q routine (0145) and corner pickup Q routine (0165) use this G
code. If you understand the techniques shown here, you will be able to develop special
purpose pickup routines.
For example: G80X-
This tells the machine to move in the minus X direction until the wire touches the
workpiece. Then the wire picks up the edge 3 times and the control takes an average and
positions the machine accordingly.
M05 - Disable Wire Sensor
This command tells the control to ignore the fact that the wire is touching the part.
Normally this condition would generate an alarm. But there are times in a program that
you want the control to make a movement even though the wire is touching so program in
an M05 along with the next movement. Example: M5X2.0
G82 - Split the Difference Command
This command tells the control to move the machine to half the value in the display. It is
very helpful in the Q routine to pick up the center of a hole. G82X would move the
machine to half the value in the X display on the CRT screen.
G83 - Transfer Current Position Into H Register
This command allows you to obtain the current position in X or Y and store it into a
variable register. This can be helpful when developing special purpose pickup Q routines.