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 07-02-2010, 12:36 AM
 
Join Date: Mar 2010
Location: australia
Posts: 14
nc novice is on a distinguished road
g41 g42 problems

hi everyone, as an example I'm trying to face and turn od on a part, but my start point is wrong eg. z0.0 x108.0 but the position on x is 104.0 and sometimes the z value while machining is shorter eg. z-40.0 the cut stops at z-29.0
i did not have this problem when i first started to program, one day i came in and the problem just started. the controller is fanuc series oi-tc and is always in absolute mode. i reset all tools with touch probe but still problem persists. g41 g42 is always in g00 line. now with every new job i have to make changes to the tool wear in x and z, and im only cutting plastic so no load what so ever. did i touch or change a setting by mistake or is it a controller issue? help would be greatly appreciated, thanks in advance
Reply With Quote

  #2   Ban this user!
Old 07-02-2010, 08:51 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

If you're just turning and facing, you don't need G41 or G42. They can be more trouble than they're worth. Why not post your program here so we can see what the problem is?
Reply With Quote

  #3   Ban this user!
Old 07-04-2010, 01:18 AM
 
Join Date: Mar 2010
Location: australia
Posts: 14
nc novice is on a distinguished road

thanks for replying, here is the program.the part was already machined to 100 dia on reverse side, this side i'm machining has stock of 104 - 106 dia.
I'm just trying to rough a taper then do 1mm chamfer and finish taper.

O0006;
g28 u0 g28 w0;
t0000;
t0202; roughing tool (t is set as no. 3)
g00 g41 z0.0 x110.0; here is where x is 106.2
s700 m04;
g01 x40.754 f1.0;
g01 z2.0 x34.354;
g00 z5.0;
g00 x110.0 again all x values are 106.2
g00 z-3.0;
g01 x50.354 f1.0; start to rough a taper
g01 z2.0 x34.354;
g00 z5.0;
g00 x110.0;
g00 z-6.0;
g01 x59.954 f1.0;
g01 z2.0 x34.354;
g00 z5.0;
g00 x110.0;
g00 z-9.8;
g01 x72.114 f1.0;
g01 z2.0 x34.354;
g00 g40 z15.0;
s0 m05;
g28 u0 g28 w0;
t0000;
t0101; finishing tool (T is set as no. 3)
g00 g41 z-12.0 x102.0; starting 1mm away from job
s1400 m04;
g01 z-10.0 x98.0 f0.2; 1 x 45 deg(looks more like 30 deg)
g01 x72.0; x measures 71.5
g01 z0.0 x40.0; x measures 39.0
g01 x15.0;
g00 g40 z15.0;
s0 m05;
g28 u0 g28 w0;
m30;
%

the program is prob a bit long for what I'm machining, but you you gotta start somewhere, any suggestions on better programming technique will be appreciated, thanks again.
Reply With Quote

  #4   Ban this user!
Old 07-04-2010, 02:00 AM
Torsten's Avatar  
Join Date: Nov 2004
Location: U.S.A.
Posts: 260
Torsten is on a distinguished road

Originally Posted by nc novice View Post
thanks for replying, here is the program.the part was already machined to 100 dia on reverse side, this side i'm machining has stock of 104 - 106 dia.
I'm just trying to rough a taper then do 1mm chamfer and finish taper.

O0006;
g28 u0 g28 w0;
t0000;
t0202; roughing tool (t is set as no. 3)
g00 g41 z0.0 x110.0; here is where x is 106.2
s700 m04;
g01 x40.754 f1.0;
g01 z2.0 x34.354;
g00 z5.0;
g00 x110.0 again all x values are 106.2
g00 z-3.0;
g01 x50.354 f1.0; start to rough a taper
g01 z2.0 x34.354;
g00 z5.0;
g00 x110.0;
g00 z-6.0;
g01 x59.954 f1.0;
g01 z2.0 x34.354;
g00 z5.0;
g00 x110.0;
g00 z-9.8;
g01 x72.114 f1.0;
g01 z2.0 x34.354;
g00 g40 z15.0;
s0 m05;
g28 u0 g28 w0;
t0000;
t0101; finishing tool (T is set as no. 3)
g00 g41 z-12.0 x102.0; starting 1mm away from job
s1400 m04;
g01 z-10.0 x98.0 f0.2; 1 x 45 deg(looks more like 30 deg)
g01 x72.0; x measures 71.5
g01 z0.0 x40.0; x measures 39.0
g01 x15.0;
g00 g40 z15.0;
s0 m05;
g28 u0 g28 w0;
m30;
%

the program is prob a bit long for what I'm machining, but you you gotta start somewhere, any suggestions on better programming technique will be appreciated, thanks again.
Is your 02 toolradius 3.8 ?
If it is then the 106.2 x-coordinate is what I would expect.
On the 45 degree, is your machine set for Radius or Diameter?
Seams Toolpath is programed for Diameter mode.
Reply With Quote

  #5   Ban this user!
Old 07-04-2010, 03:56 AM
 
Join Date: Mar 2010
Location: australia
Posts: 14
nc novice is on a distinguished road

t02 tip rad is 0.5
machine in absolute mode
diameter machining
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-04-2010, 04:27 AM
 
Join Date: Mar 2010
Location: australia
Posts: 14
nc novice is on a distinguished road

sorry but this is off topic from my Question regarding g41-42. but can someone post a very simple program on how to use a bar puller. last week i machined 7 jobs, each with 50 parts, i had to open chuck and set length then cycle start again. our machine shop is small so no bar feeder is possible.
lets say if i was machining a tube (drill, od then parting) what happens after i part off, and what is the code to cycle through the program again. sorry all for being a pain on such a simple thing. thanks again in advance.
Reply With Quote

  #7   Ban this user!
Old 07-04-2010, 08:50 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

The code for bar pulling will depend on your machine. The shortest way to program it that I know is to use sub programs with nested calls. On some machines, Haas is one, you can have all the subs in one long program but on other machines they have to be completely separate programs such as in this description.

First program starts machine with the bar ready for first piece, and uses M98 with an L count to call second program.

Second program does first piece and parts it off then calls third program using M98 but no count.

Third program pulls the bar and the machine returns to the second program with M99. The second program also has M99 immediately after the call for the bar pull program so it returns to the first program and the sequence repeats until the L counts down to zero, then the first program stops the machine.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #8   Ban this user!
Old 07-04-2010, 09:23 PM
 
Join Date: Mar 2010
Location: australia
Posts: 14
nc novice is on a distinguished road

thanks Geof, will give this procedure a go and try to build on from this.
As far as g41-42 goes, i swapped tool 1 and 2 around reset the geom with probe and i got my 45 deg chamfer on the finishing tool (now tool 1)but i did have to adjust the wear on x an extra 1.5mm. rapid position on the roughing tool still the same, but profile of the cut is good. i think it could be a touch probe issue. we got a tech coming out in the next couple days will ask to check it out. thanks again guys
Reply With Quote

  #9   Ban this user!
Old 07-07-2010, 11:28 PM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

If there is some error in offset setting, one way is to measure the error, and edit the geometry offset appropriately. Wear offset should be manipulated only if the error is due to tool wear. This is because when you replace the insert with a new one, the offset procedure would not need to be repeated; just make wear values zero.
Reply With Quote

  #10   Ban this user!
Old 07-11-2010, 09:02 AM
 
Join Date: Jul 2010
Location: usa
Posts: 7
rr1021ab is on a distinguished road

You need to rapid to .100 off the part . if you are faceing the part and the part is 1.00 in diam. and z zero is at the face of the part.You should do this before you turn your taper.
G54T0101(FINISH FACE)
G30U0
G30W0
G97S2500M3
G0X1.1Z.1M8
G1G41X1.00Z0F.002
X0.00
Z.2F.025
G40
G0X0Z.10(TURN PROFILE)
G1G42Z0.00F.002
X.980
X1.00Z-.01(.01 45 DEG. CHM
G1Z-1.00
X1.0
G40
G30U0
G30W0
M9
M30
Reply With Quote

Sponsored Links
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
5t problems markjb Fanuc 16 11-30-2011 11:36 PM
PCB Problems - Help Please! Swemill Fanuc 17 03-26-2010 06:59 AM
Newbie- ST-30 problems????? roddyf Haas Lathes 1 11-17-2009 10:30 AM
Problems With G02 G03 Using I And J Jim Estes BobCad-Cam 6 12-19-2005 07:22 AM
More problems Cold Fusion Gecko Drives 8 09-09-2005 01:19 AM




All times are GMT -5. The time now is 07:45 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