CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-15-2008, 08:48 PM
 
Join Date: Dec 2008
Location: us
Posts: 18
basswakr is on a distinguished road
g83 problem

i have a multicam router
having problems with g83
material top 1
surface is 0 (bot. of mat.)
safe rapid 1.5
peck dis. .5
total peck depth .875

problem is it drills to .125 1st
then raises & pecks back down to .125
i want it to peck on the way down
can anyone tell me what to change to make it happen?

ex:

G75
G97 S2000
G00 T14
G00 X2.2201 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
G00 X5.1576 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
G00 X8.2826 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22


thx
mike
Reply With Quote

  #2  
Old 12-15-2008, 09:39 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

your r value is deeper than your z value , your drilling in reverse , lucky your cutting wood , steel wouldn't be so forgiving
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Reply With Quote

  #3   Ban this user!
Old 12-15-2008, 09:46 PM
 
Join Date: Dec 2008
Location: us
Posts: 18
basswakr is on a distinguished road

no i think that part is right
it clears the part just fine
remember i am working from the bottom up


thx
mike
Reply With Quote

  #4   Ban this user!
Old 12-16-2008, 02:16 AM
Superman's Avatar  
Join Date: Dec 2008
Location: Krypton
Age: 51
Posts: 1,555
Superman is on a distinguished road
Buy me a Beer?

Originally Posted by basswakr View Post
i have a multicam router
having problems with g83
material top 1
surface is 0 (bot. of mat.)
safe rapid 1.5
peck dis. .5
total peck depth .875

problem is it drills to .125 1st
then raises & pecks back down to .125
i want it to peck on the way down
can anyone tell me what to change to make it happen?

ex:

G75
G97 S2000
G00 T14
G00 X2.2201 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
G00 X5.1576 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
G00 X8.2826 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
Your values in the g-code are incorrect
G73 = peck cycle ( keep pecking until Z value is reached )
G83 = deep hole peck cycle ( full withdrawal after each peck )
X Y = co-ordinate of hole
Z = final depth of hole
R = retract plane ( must be higher than Z )
D = peck depth ( -ive )
F = feedrate

your code should be
G83 R1.25 Z0. D-0.5 F0.833
you also can have
G83 X8.2826 Y4.1962 R1.25 Z0. D-0.5 F0.833
machine will rapid to XY
then rapid to R
peck drill from R to Z in D increments
rapid back to R
depending on machine settings it may go higher to it's initial level
Reply With Quote

  #5   Ban this user!
Old 12-16-2008, 07:53 AM
 
Join Date: Dec 2008
Location: us
Posts: 18
basswakr is on a distinguished road

alright
i must have more wrong here with my post
i took the - off but now it just drills with no pecking.

any more ideas ?

thx
mike
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-16-2008, 09:49 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Originally Posted by basswakr View Post
problem is it drills to .125 1st then raises & pecks back down to .125. i want it to peck on the way down
What do you mean it drills to .125 + or -? With a G83 cycle it feeds your pick then returns to the R-plane after every pick. So if it is feeding to .125 which you have set as your Z I would suspect it does not like that. I have never set up a part this way. I would assume a lot of your problem is calling Z0 the bottom of the part then trying to manipulate your Z and R to accomodate to drill properly.

What is your initial Z move? Are you telling it to go Z(+#) above the part??

Stevo
Reply With Quote

  #7   Ban this user!
Old 12-16-2008, 12:56 PM
 
Join Date: Dec 2008
Location: us
Posts: 18
basswakr is on a distinguished road

ok thx for all responses so far , getting a lot more help than i expected

found the problem i am missing the Z after my G00 X2.2201 Y4.1962

G75
G97 S2000
G00 T14
G00 X2.2201 Y4.1962 add this (((Z-1.5))) this makes it work right any ideas?
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
G00 X5.1576 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22
G00 X8.2826 Y4.1962
M12
G83 R-1.25 Z-0.125 D-0.5 F0.833
M22



any idea what to change in my post to make it add that?

thx
mike
Reply With Quote

  #8   Ban this user!
Old 12-16-2008, 01:31 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

That's why I asked about your initial Z level. The initial Z point is the position of the drilling axis when the canned cycle cancellation state is switched to the canned cycle mode. This Z position is needed before you switch to canned cycle mode.

You can return to the initial point level with a G98 or the R point level with a G99.

Stevo
Reply With Quote

  #9   Ban this user!
Old 12-16-2008, 01:55 PM
 
Join Date: Dec 2008
Location: us
Posts: 18
basswakr is on a distinguished road

stevo

u r correct

but where do u add that in the post?
Reply With Quote

  #10   Ban this user!
Old 12-16-2008, 02:07 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Originally Posted by stevo1 View Post
What is your initial Z move? Are you telling it to go Z(+#) above the part??
I apologize I did not really spell it out. But that is what I meant by your first Z position. I should have just stated you need a Z move before going to canned cycle. Sorry.

Stevo
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-16-2008, 05:04 PM
 
Join Date: Dec 2008
Location: us
Posts: 18
basswakr is on a distinguished road

ok thx for all the help
got it fixed
post outputs correctly now.


M90
G90
G70
G75
G97 S1500
G00 T1
G00 Z-1.5
G00 X6. Y6.
M12
G83 R-1.25 Z-0.25 D0.25 F1.667
M22
G98 P147 D1
M02
Reply With Quote

  #12   Ban this user!
Old 12-16-2008, 08:27 PM
HAR HAR is offline
 
Join Date: Dec 2008
Location: USA
Posts: 1
HAR is on a distinguished road

Mike,

It was interesting reading your thread today as I was going through the same excercise but was unable to post as it took about 6 hours to get my registration through.

I am surprised your code is working as it is not working on my machine. I too have a Multicam machine and am wondering what is different from your machine to mine.

I have been programming for our Multicam machine for about 5 years now and just today decided to try to use the G83 canned cycle and cannot figure it out. I may be able to shed some light on Stevo's remarks...

Mike has mentioned that we are working form the bottom up...Multicam for whatever reason, works where negative values are above the table and positive values are below. This is backward from all other machine manufacturers I have seen. This situation makes it very difficult to get help from anyone but Multicam or other Multicam users and Multicam is not very good at support of G Codes, IMHO...

I am actaully re-writing some software I wrote a few years ago that generates the code for our machine and I am hoping to market it soon. I had written my own "Peck" routine using G01 and G00 commands and just decided to try the canned cycle. I figured why not use short hand if I can.

Here is my code using G83 to drill 1 hole...

(Date 12/16/2008)
(Path D:\Hal's Stuff\My Documents\Drawings\1100\)
(Name Point)
(Home = X110.000 Y13.000 Z-8.000)
(Clear Level = -1.250)
G90
G75
G00 T2 (1/4" Drill Bit)
G97 S5000
G00 X4.000 Y4.000 Z-1.250
(BeginContour 1)
M12
G83 R-1.125 Z-0.250 D0.250 F0.833
M22
(EndContour 1)
G00 Z-1.250
G00 X110.000 Y13.000 Z-8.000
G90
G97 S5000
M02

As you can see, my values are similar to yours. My material is 1" thick and I am trying to drill a 1/4" hole to within 1/4" of going through my board. I am asking that the peck cycle return to a level of 1.125" or .125" above my material between pecks. I am wanting the pecks to take out .25" of material each.

When I look at other controller (fanuc) code, all 3 of these values (R, Z and D) are positive so with Multicam saying negative numbers are above the table it is hard to distinguish what if any vales need to be positive for the cycle to work. Making all 3 values negative makes the machine continue to move "up" higher and higher after each cycle and does not end until it max's out.

If I might ask, could I get you to copy this code into a file and see if it works on your machine? If it does, I might need to see if there is a new post processor I need to make my machine understand this canned cycle.

My machine kind of pecks, but it moves down to the bottom level of .25" with each peck....wrong!

In addition to this, I need to figure out how the G83 cycle should work in the case we want to use "relative" or G91 mode in lieu of "absolute" code or G90.

Thanks for any help that might come my way,

Hal
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
machine problem or software problem? bcnc Syil Products 8 10-26-2009 09:51 AM




All times are GMT -5. The time now is 12:08 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361