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 06-16-2008, 07:33 AM
 
Join Date: Aug 2007
Location: bosnia
Posts: 7
simpy is on a distinguished road
g83 question

can someone pls explain to me this code ... the depth for drill is -4mm but i cant see it between the g83 and g80 code ... so im wondering why?? this program is for vertical mill hurco vmx24
%
N100 G54 G17 G71 G75 G90
N102 G0 T2 M6
N104 G0 X0. Y0.
N106 S1273 M3
N108 Z10.
N110 Z2.
N112 G83 X0. Y0. Z17.3519 Z2. Z2. F38.2
N114 Y20. Z17.3519
N116 Y55. Z17.3519
N118 Y95. Z17.3519
N120 Y135. Z17.3519
N122 Y175. Z17.3519
N124 Y210. Z17.3519
N126 Y230. Z17.3519
N128 X22. Y210. Z17.3519
N130 Y175. Z17.3519
N132 Y135. Z17.3519
N134 Y95. Z17.3519
N136 Y55. Z17.3519
N138 Y20. Z17.3519
N140 G80
N142 Z10.
N144 M5
N146 G0 M25
N148 M2
E
Reply With Quote

  #2   Ban this user!
Old 06-16-2008, 11:16 AM
 
Join Date: Apr 2006
Location: usa
Posts: 128
JWK42 is on a distinguished road

This is for a Haas VMC
I think this is the same as a Fanuc style drill cycle


G98 in N110 causes the drill to retract to the initial point of Z2. in N100 between holes. This is used to clear clamps or other obstructions
Change G98 to G99 and the retract is to the R.1 in N110 or Z.1 between holes.
The Z-.75 in N110 is the bottom of the hole.
The Q.245 in N110 is the peck amount.


%
O5555 (TEST 123)
N10 ( WRITTEN 06-16-2008 10:44:32 )
N20 (MODIFIED 06-16-2008 10:46:54)
N30 G17 G54 G90
N40 G40 G49 G80
N50 G53 G00 Z0.
N60 G53 G00 X-16.0 Y0.
( TOOL 1 IS A DRILL )
N70 T1 M6
N80 S3000 M3
N90 G54 G00 G90 X0. Y2.
N100 G43 Z2. H1 D1 M8
N110 G83 G98 X0. Y2. R.1 Z-.75 Q.245 F3.
N120 X2.
N130 X4.
N140 X6.
N150 X8.
N160 X10.
N170 X12.
N180 X14.
N190 Y4.
N200 X12.
N210 X10.
N220 X8.
N230 X6.
N240 X4.
N250 X2.
N260 X0.
N270 G80
N280 G00 Z2.
N290 G53 G00 Z0. M9
(UNLOAD HERE)
N310 G53 G00 X-16. Y0.
N320 M30 (END OF MAIN PROGRAM)
%
Reply With Quote

  #3   Ban this user!
Old 06-16-2008, 01:13 PM
 
Join Date: Mar 2006
Location: United States
Age: 32
Posts: 153
chrisryn is on a distinguished road

Originally Posted by simpy View Post
can someone pls explain to me this code ... the depth for drill is -4mm but i cant see it between the g83 and g80 code ... so im wondering why?? this program is for vertical mill hurco vmx24
%
N100 G54 G17 G71 G75 G90
N102 G0 T2 M6
N104 G0 X0. Y0.
N106 S1273 M3
N108 Z10.
N110 Z2.
N112 G83 X0. Y0. Z17.3519 Z2. Z2. F38.2
N114 Y20. Z17.3519
N116 Y55. Z17.3519
N118 Y95. Z17.3519
N120 Y135. Z17.3519
N122 Y175. Z17.3519
N124 Y210. Z17.3519
N126 Y230. Z17.3519
N128 X22. Y210. Z17.3519
N130 Y175. Z17.3519
N132 Y135. Z17.3519
N134 Y95. Z17.3519
N136 Y55. Z17.3519
N138 Y20. Z17.3519
N140 G80
N142 Z10.
N144 M5
N146 G0 M25
N148 M2
E


Since you Z depths are a positive number and there at 17.3519 I would assume that the program zero for z is below the surface in which your drilling. eg. All the tools have been touch off the table and the program is not utalizing the g54 z fixture offset. I have worked for companies that program that way. If you don't realize that aspect of the setup the numbers can throw you off.
__________________
No matter how good you are, there is always someone better!!!
Reply With Quote

  #4   Ban this user!
Old 06-16-2008, 03:00 PM
extanker59's Avatar  
Join Date: Mar 2008
Location: USA
Age: 52
Posts: 426
extanker59 is on a distinguished road

but he's rapiding to Z10. and Z2. before starting to drill so the numbers aren't adding up to me.
Simpy, is that a working program? I see a lot I'd change but I've never run a Hurco. What's with the multiple Z commands on the same line? Why call the same Z depth line after line? Where's the tool length call? Hurco sees the tool and so knows the offset?
Reply With Quote

  #5   Ban this user!
Old 06-16-2008, 03:03 PM
 
Join Date: Mar 2006
Location: United States
Age: 32
Posts: 153
chrisryn is on a distinguished road

Originally Posted by ccordova@atlass View Post
but he's rapiding to Z10. and Z2. before starting to drill so the numbers aren't adding up to me.
Simpy, is that a working program? I see a lot I'd change but I've never run a Hurco. What's with the multiple Z commands on the same line? Why call the same Z depth line after line? Where's the tool length call? Hurco sees the tool and so knows the offset?
I didn't look that closely. I saw the positive z moves and took that as the first problem. Your right. Is this a proven program?
__________________
No matter how good you are, there is always someone better!!!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-16-2008, 03:41 PM
 
Join Date: Aug 2007
Location: bosnia
Posts: 7
simpy is on a distinguished road
thx u guys for reply

hmm i must say i only run 3d programs on hurco whitch i create in mastercam and everything goes just fine .... i never did a drill,, it is nothing special in dialog, but now i wanted to do drill cycle in mastercam i have set the z-4 but when i post i dont see any z-values. i will attach also a mc9 file so if anyone knows where is my mistake i would be happy becouse i cant find it. The job can be done but i just want to do that with mastercam.
Reply With Quote

  #7   Ban this user!
Old 06-16-2008, 03:51 PM
 
Join Date: Aug 2007
Location: bosnia
Posts: 7
simpy is on a distinguished road

here is the mc9 file
Attached Files
File Type: zip PLOCICA GI.zip‎ (15.7 KB, 49 views)
Reply With Quote

  #8   Ban this user!
Old 06-16-2008, 04:18 PM
 
Join Date: Aug 2007
Location: bosnia
Posts: 7
simpy is on a distinguished road

Originally Posted by chrisryn View Post
I didn't look that closely. I saw the positive z moves and took that as the first problem. Your right. Is this a proven program?
and btw i will test this program tomorow so we will know is it a proven program
Reply With Quote

  #9   Ban this user!
Old 06-16-2008, 05:59 PM
 
Join Date: Aug 2007
Location: usa
Posts: 95
dpark1 is on a distinguished road

I posted with fanuc post and this is what I got.



(PROGRAM NAME - PLOCICA GINEX)
(DATE=DD-MM-YY - 16-06-08 TIME=HH:MM - 17:56)
N100G21
N102G0G17G40G49G80G90
/N104G91G28Z0.
/N106G28X0.Y0.
/N108G92X0.Y0.Z0.
( 5. DRILL HSS TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA. - 4.5)
(RUPA FI4,5)
N110T2M6
N112G0G90X0.Y20.A0.S750M3
N114G43H2Z10.
N116Z2.
N118G99G83Z-7.352R2.Q2.F50.
N120Y55.
N122Y95.
N124Y135.
N126Y175.
N128Y210.
N130X22.
N132Y175.
N134Y135.
N136Y95.
N138Y55.
N140Y20.
N142G80
N144Z10.
N146M5
N148G91G28Z0.
N150G28X0.Y0.A0.
N152M30
Reply With Quote

  #10  
Old 06-16-2008, 11:10 PM
*Registered*
 
Join Date: Jan 2006
Location: Seattle
Age: 52
Posts: 883
Mike Stevenson is on a distinguished road

But this is how a hurco G83 works:

T1M6
G0 G90 X0 Y0
Z.1
G83 X0 Y0 Z.5 Z.1 Z.05 F5.0
X1.Y1.
etc.

What it means is this:

from X0 Y0 Z.1 go Z minus .5 with .1 the first peck and .05 as the last.

Very reminiscent of the bridgeport boss series coding.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-17-2008, 12:15 AM
 
Join Date: Aug 2007
Location: bosnia
Posts: 7
simpy is on a distinguished road
great

Originally Posted by Mike Stevenson View Post
But this is how a hurco G83 works:

T1M6
G0 G90 X0 Y0
Z.1
G83 X0 Y0 Z.5 Z.1 Z.05 F5.0
X1.Y1.
etc.

What it means is this:

from X0 Y0 Z.1 go Z minus .5 with .1 the first peck and .05 as the last.

Very reminiscent of the bridgeport boss series coding.
heyy that is what was confusing me the two values z in line with g83 ,,,, i believe the same way and we will try this program in practice today on hurco wmx24 and i will reply what happened thx u all for u'r reply
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





All times are GMT -5. The time now is 10:13 PM.





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