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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-19-2010, 05:45 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road
lathe offset problem

Hello all,
I have an older Takisawa TC-20 lathe with a Fanuc 21-Tb control. This morning I started it up and referenced it to the limit switches like always. However when I start the program, the Z axis is off about 5 inches and the X axis is off about half an inch! I am positive that no offsets or anything else was changed since last night. Does somebody have a clue as to what is going on? There are no alarms or errors or anything.

Thanks,
Lorne Martin
Reply With Quote

  #2  
Old 11-19-2010, 07:15 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Does the amount it is off position correspond to anything, such as a missing tool offset? When you see what appears to be a random error, it is often useful to think "ok if this is a random error, is it repeatable and why is it this exact value?"
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 11-19-2010, 07:45 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

no, the numbers don't seem to correspond with anything that I can see. I have the technician coming shortly, see what he makes of it.
Reply With Quote

  #4   Ban this user!
Old 11-19-2010, 07:58 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

I ass u me that you did a couple of power cycles and re-referencing of the machine correct? Is it off by the same number everytime you do that?

Stevo
Reply With Quote

  #5   Ban this user!
Old 11-19-2010, 09:25 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

Yes it is
Reply With Quote

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

5” and .5” is a lot to be off. That is not just a simple miss of a marker when referencing the machine.

I have to side with Hu on this. Are you positive that you are not missing something? Do you use your G54-G59 to where maybe someone put something in there? You also want to check your common work coordinate N00. This effects all movements.

Stevo
Reply With Quote

  #7  
Old 11-19-2010, 10:01 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

A thought: if you happen to have used a G10 in the last program, and for some reason, did not have a line of code to reset it correctly, it will leave its last commanded entry and could throw things off. Just something else to check.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #8   Ban this user!
Old 11-19-2010, 11:37 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

Ok, something flaky is going on here, the service guy got me to re-measure one of the tools, all good, the offset number stays within a few thou of what it was, but for some crazy reason, everything's good again. Either I'm going crazy or the machine is. I'm running again with my fingers crossed.
Reply With Quote

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

Possibly you are not the only person handling the machine, and somebody wants to have some "fun" with you.

Note down the work offset values for future reference, just in case ...
It is also possible to manipulate "work shift" on a lathe, which would shift the WCSs by the specified amount, without changing the work offset values.
Reply With Quote

  #10   Ban this user!
Old 11-20-2010, 08:35 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

while we are on the subject of lathe offsets, let me ask another question.
A lot of the parts that we make are 2 sided parts, we face the first side, maybe drill a hole, bore it out, then we flip the part around and do something similar to the other side.
What I usually do is make a main program that looks something like this:
:0100
M98P0101
M5
M00
G00X5.0Z9.0
G50X5.0Z9.062
M98P0102
G00X5.0Z9.062
G50X5.0Z9.0
M5
M30

From this main program the two subprograms are called, one for each end of part, the second one being 60 thou closer to the chuck than the first one to compensate for facing the first side.

This works ok, but I never did like the fact that my Z9.0 is always dependent on the length of the tool I am using, and I never know for sure where the absolute position will be. We used to have a Mori Seiki lathe that had G54 to G59 coordinate systems but the Takisawa we have now does not support this. The only command I know of to shift the coordinate system is the G50 command. I know I could always use G28 to return to machine zero, but I don't like going back so far. I would like to be able to return to a specific absolute position for each tool change, and then between the two sides of each part, also shift the coord system by 60 thou.

Following is a typical subprogram:
O0101
(145 SPINDLE TUBE)
(CCLNR-124 GENERAL TURN - KC 240)
G0 T0909 M8
G99 G96 S950 M3
G0 X2.7 Z0.1 S950
X2.7072
Z-0.0778
G3 X2.6224 Z-0.0954 R0.06 F0.012
X2.5376 Z-0.0778 R0.06
G1 X2.401 Z-0.0095
G2 X2.355 Z0.0 R0.0325
G1 X-0.125
G3 X-0.245 Z0.06 R0.06
G0 Z10.0 X5.0
(1.5 UDRILL)
G0 T0101
G99 G97 S1600
X0.0 Z0.1 S1600
G1 Z-3.5 F0.0073
X0.03
G0 Z0.1
Z10.0 X5.0
(A16-DCLNR4 GENERAL BORE - KC 730)
G0 T0303
G99 G96 S1460
X1.5626 Z0.1 S1460
X1.562
X1.7052
G1 Z-0.756 F0.01
X1.562
G0 Z0.1
X1.8484
G1 Z-0.756
X1.7052
G0 Z0.1
X1.9916
G1 Z-0.0531
X1.9906 Z-0.0539
G2 X1.98 Z-0.0712 R0.0312
G1 Z-0.756
X1.8484
G0 Z0.1
X2.1348
G1 Z0.0191
X1.9982 Z-0.0491
X1.9942 Z-0.0514
X1.9916 Z-0.0531
G0 Z0.1
M9
Z10.0 X5.0
(CCLNR-124 GENERAL TURN - KC 240)
G0 T0909
G99
M99
M30

If somebody has any ideas, please let me know.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-20-2010, 08:58 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

When you Reference Return your machine, are there values in the Machine Position display? If so, on a 21T-B, these are set in prm 1240.

Your machine may have the "Second Reference Position" option. It works like G28, but you can move it by changing a parameter. 1241 contains the metric values for G30. 1242 for G30 P3, and 1243 for G30 P4.

So at the start and end of your program and each tool index, you can command G30 U0 W0 instead of an absolute position.

You might try to MDI G30 W0 to see if you get an alarm. If not, using G30 might help.
Reply With Quote

  #12   Ban this user!
Old 11-20-2010, 09:33 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

Yes, thank you very much that works exactly the way I want it to. G30 is not listed in my manual but it works on the machine! Now, is there another G code for points 3 and 4? Not sure what I would use it for, just curious.
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
Need Help!- Tool offset problem when running lifestill Machines running Mach Software 4 02-25-2010 12:02 PM
Need Help!- offset problem marzetti LinuxCNC (formerly EMC2) 7 01-10-2010 02:11 PM
Problem- Mastercam offset problem kcritch Mastercam 4 11-28-2008 05:55 AM
problem with offset adjustments uperez Mazak, Mitsubishi, Mazatrol 1 09-13-2008 04:35 AM
Offset problem smittys800 Haas Mills 13 06-17-2007 01:08 AM




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