Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Drilling cycle for ISV

Legend
Legend

Does anyone have a drilling cycle (G83) that rapids into just beforet the last peck distance?

 

Anything selected as G83 feeds back in from the top in all my G83's. Kills the ISV cycle time

 

Thanks in adavnce, Paul S.

{Paul Schneider}, {CNC Programmer}, {DRT-Rochester}


Production: {NX11.0.2,MP5, NX12.0.2, MP4}

4 REPLIES 4

Re: Drilling cycle for ISV

Legend
Legend

Maybe this needs further explanation, Is it a bug? Can it be fixed?

Do I just need more code in the drilling subprogram? It was taken from an OTB machine.

 

See uploaded video.

 

We are using ISV to backplot programs to check program integrity and cycle time.

However when I hit something like a G83 drilling cycle... CT goes out of this world because as you can see, for every peck, the drill goes to the top of the hole and feeds in from there.

 

As we all know the real machines do not do this. They rapid back into the hole a set distance from the end of the last peck.

{Paul Schneider}, {CNC Programmer}, {DRT-Rochester}


Production: {NX11.0.2,MP5, NX12.0.2, MP4}

Re: Drilling cycle for ISV

Valued Contributor
Valued Contributor

Have you tried to step into the G83.prg while simulating? Maybe it helps to figure out what is happening inside the cycle. 

W10 NX12.0.2.9
testing v1847

Re: Drilling cycle for ISV

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

These subprograms are actually quite easy to modify.

 

Below is what I did. Bolded is part which I modified

I'm not saying that it is the only or best way - but it should do the job.

I added 2 new parameters:
#31=0.1 (distance value before switching to G1)
#32=1 (first peck flag)

 

 

O83 (do not remove - important for parameter handling)
IF[#0NE#19]GOTO15 (if no spindle speed has been programmed use the current speed)
#19=#4119
N15
IF[#0NE#9]GOTO16 (if no feed has been programmed use the current feed)
#9=#4109
N16
 
#28=#18-#26
IF[91NE#4003] GOTO 10
  #28=#26
N10
#29=0
#30=#4003
 
IF[17EQ#4016]GOTO17
IF[18EQ#4016]GOTO18
IF[19EQ#4016]GOTO19
M99
 
N17
G0 Z[#18]
IF[#28LT#17] GOTO1700
#31=0.1 (distance value before switching to G1)
#32=1 (first peck)
N1710
#29=#29+#17
IF[#28LT#29] GOTO1700
IF[#32EQ1] GOTO1711
 
G0 G91 Z[-#29+#17+#31]
G1 G91 Z[-#17-#31]
G0 G91 Z[ #29]
GOTO1710
N1711
G1 G91 Z[-#29]  M3
G0 G91 Z[ #29]
#32=0
GOTO1710
N1700
G0 G[#30] Z[#26+#17+#31]  M3
G1 G[#30] Z[#26]
IF[98EQ#4010] GOTO 1798
IF[90EQ#4003] GOTO 1790
IF[91EQ#4003] GOTO 1791
N1798
#99=#4003
G0 G90 Z[#27]
G[#99]
GOTO 999
N1790
G0 Z[#18]
GOTO 999
N1791
G0 Z[-#26]
GOTO 999
 
N18
G0 Y[#18]
IF[#28LT#17] GOTO1800
N1810
IF[#28LT#29] GOTO1800
#29=#29+#17
G1 G91 Y[-#29]  M3
G0 G91 Y[ #29]
GOTO1810
N1800
G1 G[#30] Y[#25]  M3
IF[98EQ#4010] GOTO 1898
IF[90EQ#4003] GOTO 1890
IF[91EQ#4003] GOTO 1891
N1898
#99=#4003
G0 G90 Y[#27]
G[#99]
GOTO 999
N1890
G0 Y[#18]
GOTO 999
N1891
G0 Y[-#25]
GOTO 999
 
N19
G0 X[#18]
IF[#28LT#17] GOTO1900
N1910
IF[#28LT#29] GOTO1900
#29=#29+#17
G1 G91 X[-#29]  M3
G0 G91 X[ #29]
GOTO1910
N1900
G1 G[#30] X[#24]  M3
IF[98EQ#4010] GOTO 1998
IF[90EQ#4003] GOTO 1990
IF[91EQ#4003] GOTO 1991
N1998
#99=#4003
G0 G90 X[#27]
G[#99]
GOTO 999
N1990
G0 X[#18]
GOTO 999
N1991
G0 X[-#24]
GOTO 999
 
 
N999
M99

 

Marek Pawlus, NCmatic

Development: C#, Tcl/Tk, CSE

Re: Drilling cycle for ISV

Phenom
Phenom
G1 G[#30] Z[#26]

Will drill deeper than programmed if drilling cycle is called in Incremental mode 

Learn online





Solution Information