54
« on: March 01, 2007, 07:54:11 PM »
Hi All:
I've got a problem with restarting a program.
I've included a similar program with the same type of subroutines below.
The problem is that I've had to stop the program in the middle of a drilling operation.
When I try to restart, the software starts at a place higher in the program and trys to do that operation.
Any clues?
Also, is there a way to make the jog keys be less touchy? When I want to jog to a particular location, I find myself going back and forth and tapping the arrow keys just the right amount. It's like the machine moves a lot quite quickly with just a small tap on the key. I don't really want to increment just one step for each key stroke but I would like it not to jump like it does.
Thanks
LEW
Here's the code example.
G90
G0 X0.0 Y1.279
M98 P1
G0 X-4.625 Y1.279
M98 P1
G0 X-9.125 Y1.594
M98 P1
G0 X-9.220 Y-1.818
M98 P1
G0 X-4.625 Y-2.096
M98 P1
G0 X0.0 Y-2.096
M98 P1
G0 X4.625 Y-2.096
M98 P1
G0 X9.220 Y-1.818
M98 P1
G0 X9.125 Y1.594
G65 P%DRIL1
G0 X4.625 Y1.279
M98 P1
M5
G0 Z0.0
G0 X0.0 Y4.0
;"CHANGE TO THE 1/4INCH DRILL "
;"SET 1/4 OFF DECK "
M01
G0 X-1.062 Y1.969
M98 P2
G0 X-7.500 Y2.282
M98 P2
G0 X-9.25 Y0.782
M98 P2
G0 X-8.625 Y-2.406
M98 P2
G0 X8.625 Y-2.406
M98 P2
G0 X9.25 Y0.782
M98 P2
G0 X7.50 Y2.282
M98 P2
G0 X1.062 Y1.969
M98 P2
M5
G0 Z0.0
G0 X0.0 Y4.0
;"INSTALL THE C'DRILL "
;"1/2 ABOVE DECK "
M01
G0 X-6.937 Y2.907
M98 P3
G0 X-2.312
M98 P3
G0 X6.937
M98 P3
;"INSTALL THE 19/64 DRILL "
;"1/2 INCH ABOVE DECK "
M01
G0 X6.937
M98 P4
G0 X-2.312
M98 P4
G0 X-6.937 Y2.907
M98 P4
;"INSTALL THE 5/16 REAMER "
;"1/2 INCH ABOVE DECK "
M01
G0 X-6.937 Y2.907
M98 P5
G0 X-2.312
M98 P5
G0 X6.937
M98 P5
G0 X0.0 Y4.0
;"CHANGE TO THE 33/64 INCH DRILL "
;"SET 1/2 ABOVE DECK "
M01
G0 X0.0 Y1.279
M98 P6
G0 X-4.625 Y1.279
M98 P6
G0 X-9.125 Y1.594
M98 P6
G0 X-9.22 Y-1.818
M98 P7
G0 X-4.625 Y-2.096
M98 P6
G0 X0.0 Y-2.096
M98 P6
G0 X4.625 Y-2.096
M98 P6
G0 X9.22 Y-1.818
M98 P7
G0 X9.125 Y1.594
M98 P6
G0 X4.625 Y1.279
M98 P6
M5
G0 Z0.0
G0 X0.0 Y4.0
M2
O1 ;CENTERDRILL
G90
M4
M07
G0 Z-0.45
G01 Z-#11 F#1
M09
G0 Z-0.4
M99
O2 ; 1/4DRILL
G90
M4
M07
G0 Z-0.2
G01 Z-1.0 F8.0
M09
G0 Z-0.2
M99
O3 ;CENTERDRIL THE DOWELS
M04
M07
G0 Z-0.45
G01 Z-0.850 F8.0
M5
M09
G0 Z0.0
M99
O4 ;DRILL THE DOWELS
M04
M07
G0 Z-0.45
G01 Z-1.1 F8.0
M5
M09
G0 Z0.0
M99
O5 ;REAM THE DOWELS
M04
M07
G0 Z-0.45
G01 Z-1.0 F8.0
M5
M09
G0 Z0.0
M99
O6
G90
M4
M7
G83G99Z-4.2R-.45P0Q.3F4.0G90G90
M9
G0 Z-0.40
M99
O7
G90
M4
M7
G83G98Z-3.0R-.4P0Q.3F4.0G90
M9
G0 Z-0.40
M99