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 06-30-2009, 05:16 AM
 
Join Date: Nov 2007
Location: Egypt
Posts: 55
ahmed4040 is on a distinguished road
Unhappy need help in tool measuring !!

Dear All,

i face the following problem in measuring face mill in my TAKUMI CNC machining center

the control is Fanuc 0-imc

problem description :

when i try to measure an end mill i write in MDI the following command,

G65 P 9954 T1;

while G65 : macro call
P 9954 : is macro program number
T1 : tool number 1

till now i have no problem, the problem is in measuring face mill tools which have multi insert.

when i write in MDI the previous command, the inserts of the face mill does not touch the "tool length measuring device" .

i must stop the machine during measuring cycle and move X axis by Manual Pulse generator to make the inser touch the "tool length measuring device"

i need the command by which i can measure the face mill tools with an automatic cycle.

is the problem clear ??

if any one can help me it will be very good.

Note : attached here the macro program if any one want to check it
Attached Files
File Type: doc O9951.doc‎ (37.5 KB, 79 views)
File Type: doc O9954.doc‎ (28.0 KB, 55 views)
Reply With Quote

  #2   Ban this user!
Old 06-30-2009, 09:45 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

I add the shift in the macro program for tools that need to be offset. Do you keep your tool radius in the control for these types of tools? I set mine in the offset radius column. Now depending on how your tool touch pad is set up or how much clearance you have on the sides will dictate which direction you want to shift the axis the radius of the tool. Mine works best coming Y negative the radius of the tool.

Your position to the offset pad is done in program 9954 so this is where we will add a variable to adjust that amount. Lets use #537 to capture your tool radius and wear. I don’t have a Oi manual with me at the moment so I am not 100% positive if it uses the same variables as my machine for radius(#2400 and wear(#2600). Lets also say that you have a 1.5” radius tool.


O9954(AUTOTOOLVER2.1)
#537=#[2400+#20]+#[2600+#20]---will gather the radius and wear of the tool being called. (#537=1.5)
#595=#4001
#596=#4003
G91G28Z0
M05
M09
IF[#20EQ#0]GOTO26
#27=FIX[#20](TOOL)
#594=1
T[#27]
G91G28Z0
N1
G90G80G40
#4=#5021-#5041(XABSPOS)
#5=#5022-#5042(YABSPOS)
#6=#5023-#5043(ZABSPOS)
M35
#600=250.(MAXTOOLLENGTH)
#601=60.
#28=#521+#600-#6
G0X[#523-#4]Y[#524-#5]
IF[#537EQ0]GOTO2----will skip the Y movement if no radius is set
G91Y-#537----incremental move the radius of the tool
#3006=1(ALIGN TOOTH TO PROBE)---not needed but will stop and give a message so you can rotate tool if needed
N2G90---back to absolute
G31Z#28F3000
IF[ABS[#5063-#28]GT.05]GOTO24
#28=#521+#601-#6
...
...

Now I don’t know what all of your other variables are set to or what program 9899 does from program 9954 so you have to make sure this does not affect any other aspects of the program.

I add the #3006=1 message because not all of our tools will align a tooth to the touch probe. Once aligned just push cycle start. If you find they always align then you can build the #534 into your Y[#524-#5] line and remove everything else. That way it will move if it reads a radius and will stay 0 if it does not.

Stevo
Reply With Quote

  #3   Ban this user!
Old 06-30-2009, 09:47 AM
 
Join Date: Sep 2007
Location: Mexico
Posts: 342
GPena is on a distinguished road

This is usually a machine tool buider issue, why don't you try to contact them, I had something similar with a Chevelir VMC and they solved the problem quickly.

GP.
Reply With Quote

  #4   Ban this user!
Old 07-05-2009, 08:33 AM
 
Join Date: Nov 2007
Location: Egypt
Posts: 55
ahmed4040 is on a distinguished road

i could not know the variable number responsible for tool radius and wear.

my control is fanuc 0imc

anyone can help me !!
Reply With Quote

  #5   Ban this user!
Old 07-06-2009, 06:36 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

I am not sure if I am 100% correct but digging through some old notes try #13000 for the geometry and #12000 for the wear if #2400 & #2600 do not work for you.

#537=#[13000+#20]+#[12000+#20]

Stevo

Edit: I see that if the number of available offsets is less then 200 then you should be able to use the #2001 thru #2400.

Last edited by stevo1; 07-06-2009 at 06:39 AM. Reason: found more notes
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-06-2009, 07:07 AM
 
Join Date: Nov 2007
Location: Egypt
Posts: 55
ahmed4040 is on a distinguished road

thanks Stevo for your care

but

what is #20 for ??

thanks
Reply With Quote

  #7   Ban this user!
Old 07-06-2009, 07:26 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Ok #20 is your T value when you program a G65P9954T1 (now #20=1). Now we can plug this into the equation replacing the #20. #537=#[13000+1]+#[12000+1]. Which is actually #537=#13001+#12001

The way the variables work is #13001 is for tool 1, #13002 is for tool 2 etc. So the above equation will get the tool radius of #13001 and add it with the wear of #12001 for a total radius of tool 1. Now if you program G65P9954T7 then #20=7 and is used in the equation to gather the info from those variables pertaining to tool 7.

This way you are always gathering the data of the acutal tool you are offsetting.

Does that make more sense to you?

Stevo
Reply With Quote

  #8   Ban this user!
Old 07-06-2009, 07:33 AM
 
Join Date: Nov 2007
Location: Egypt
Posts: 55
ahmed4040 is on a distinguished road

yes Stevo,

i'm now understand what do you mean.

and also if you have all macro description for fanuc 0imc(Local, System and common), kindly send it to me

my email is : ahmedibrahem@hotmail.com

i will try this steps and tell you the news.

also please add me in your messenger in order to easy chatting (if you want of course)

any way i appreciate your effort a lot

thank you very much
Reply With Quote

  #9   Ban this user!
Old 07-06-2009, 07:40 AM
 
Join Date: Nov 2007
Location: Egypt
Posts: 55
ahmed4040 is on a distinguished road

sorry forgot one question,

for #537 shall i use this variable or i can use another one ?? such #538 or any other one ??

thank you
Reply With Quote

  #10   Ban this user!
Old 07-06-2009, 08:51 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

#537 or #538 ou can use any variable that you want to. You just have to make sure that it is not being used with some other program.

As to the list of variables most of them should be in your operator/programming manual. The tool variables are listed under the custom macro section. Do you have your manuals?

As to the specifics of your input/ouput variables #1000's and #1100's most of these are set up and will vary based on the MTB. You should have a MTB manual that specifies what each on is.

Stevo
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-07-2009, 02:52 AM
 
Join Date: Nov 2007
Location: Egypt
Posts: 55
ahmed4040 is on a distinguished road

Stevo,

i have the operator manual and i know it's supposed that it contain variable list

but unfortunately, the most of variable is not listed in details.

i will try to get this manual. also i will search for #537 to see if it's belong any other operation

thanks a lot for your great help
Reply With Quote

  #12   Ban this user!
Old 07-07-2009, 06:52 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

If it is the Fanuc manual it is not going to give great detail into the meaning of your system variables. This manual usually just describes the tool, workoffsets things like that. The MTB manual should give you more details of these. I apologize I don’t have a lot of data on the Oi control.

Stevo

Edit: If you find that #537 is being used for something you can use any of #500-#999 if you have that many activated. You also have #100-#199 if you want to use them.

Last edited by stevo1; 07-07-2009 at 06:55 AM. Reason: comment on variables
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
Measuring in CamBam Gilius CamBam 3 06-05-2009 09:35 AM
mazak integrex tool measuring for subspindle Denis13 Mazak, Mitsubishi, Mazatrol 1 05-11-2009 06:24 AM
Measuring following error eldata Mach Mill 0 02-23-2007 08:54 AM
Tool measuring 2 G-code Mr_T G-Code Programing 1 11-07-2005 04:17 PM
Identify this measuring tool! Swede General Metalwork Discussion 9 11-21-2004 11:44 AM




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