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-23-2011, 10:15 PM
 
Join Date: Jul 2008
Location: Australia
Posts: 4
samstain is on a distinguished road
Fanuc OM Tool Change Height parameter

Does anyone know what parameter number sets the tool change height with a fanuc OM controller (YCM 3 axis mill).

I lost all my parameters when I had a comms fault. I have since managed to fix the fault and reset the origins etc so that it now all fires up ok without any overtravel alarms etc.

But when I tell it to go to the Z home the spindle is not aligned with the ATC arm. I am assuming there is a parameter somewhere that defines a offset from Z Home to go to when doing a tool change?
Reply With Quote

  #2   Ban this user!
Old 11-23-2011, 11:04 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by samstain View Post
Does anyone know what parameter number sets the tool change height with a fanuc OM controller (YCM 3 axis mill).

I lost all my parameters when I had a comms fault. I have since managed to fix the fault and reset the origins etc so that it now all fires up ok without any overtravel alarms etc.

But when I tell it to go to the Z home the spindle is not aligned with the ATC arm. I am assuming there is a parameter somewhere that defines a offset from Z Home to go to when doing a tool change?
More likely than not, your machine will tool change via a Custom Macro program. In this, the tool change position is made by executing G30, 2nd reference point command. G30 is defined as a distance away from the Machine Zero, and for an OM control this is set in parameter #0737.

If the machine does use G30 for the tool change position, following is a procedure for determining the correct value to set for Z G30.

1. Place a tool holder in the tool change mechanism.

2. Using a height gauge, or similar measuring instrument, measure from the table to the underside of the the tool change ring, or other convenient to measure to face of the tool holder, and note the measurement.

3. Perform a manual Zero Return operation, or execute G91 G28 Z0.0 via MDI.

4. Place the same tool used in 1 and 2 above in the spindle and repeat the measurement procedure to the same face as described in 2 above.

5. Calculate the difference and direction of difference between the the dimensions obtained in 2 and 4. This value is then stored in parameter #0737.

6. After carrying out the above, executing G91 G30 X0.0 will position the tool at the correct height for tool change.

Regards,

Bill
Reply With Quote

  #3   Ban this user!
Old 11-23-2011, 11:05 PM
tc429's Avatar  
Join Date: Feb 2011
Location: USA
Posts: 325
tc429 is on a distinguished road

if its usually changing tools AT home, adjust grid offset at parameter 510, if it usually moves up a few inches from home, some use the g30 position(param 737 i think)
Reply With Quote

  #4   Ban this user!
Old 11-23-2011, 11:08 PM
tc429's Avatar  
Join Date: Feb 2011
Location: USA
Posts: 325
tc429 is on a distinguished road

oops, simultaneous typing
Reply With Quote

  #5   Ban this user!
Old 11-23-2011, 11:23 PM
 
Join Date: Jul 2008
Location: Australia
Posts: 4
samstain is on a distinguished road

Thanks Bill, that process to calculate the offset required makes sence. is the value entered in 1/1000's of a mm? ie if I calculate it is 4.35mm do I enter 00043500?

Here is a bit of code from an old program with a tool change - it does appear to use G28

%
O7001
N1G17G80G40
G54
S3000M3
G90G0X12.7Y-5.6
G43Z80.H2
M8
Z5.
G81G98X12.7Y-5.6Z-1.R5.F200.
G80
M9T10
G91G28Z0.
M5
M6
N2G17G80
G54
S3000M3
G90G0X12.7Y-5.6
G43Z80.H10
M8

Does the value in N0737 then get stored somewhere else? I happen to have a print out of my old parameters, and also the parameters that are currently in there (coppied from an identical machine). Both 737 and 510 = 00000000 in both machines. Should I be expecting to see a non zero number in one of these if it is an offset?

511, 512 and 515 are different though - is there somewhere I can download a list of what each parameter is (or at least the commonly changed ones).
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-24-2011, 12:23 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by samstain View Post
Thanks Bill, that process to calculate the offset required makes sence. is the value entered in 1/1000's of a mm? ie if I calculate it is 4.35mm do I enter 00043500?

Here is a bit of code from an old program with a tool change - it does appear to use G28

%
O7001
N1G17G80G40
G54
S3000M3
G90G0X12.7Y-5.6
G43Z80.H2
M8
Z5.
G81G98X12.7Y-5.6Z-1.R5.F200.
G80
M9T10
G91G28Z0.
M5
M6
N2G17G80
G54
S3000M3
G90G0X12.7Y-5.6
G43Z80.H10
M8

Does the value in N0737 then get stored somewhere else? I happen to have a print out of my old parameters, and also the parameters that are currently in there (coppied from an identical machine). Both 737 and 510 = 00000000 in both machines. Should I be expecting to see a non zero number in one of these if it is an offset?

511, 512 and 515 are different though - is there somewhere I can download a list of what each parameter is (or at least the commonly changed ones).

Although your part program has a G28 therein, it does not necessarily mean that G30 is not used in a Custom Macro program.

Normally you can determine if a Custom Macro program is being used and called by M6 by looking for the value 6 registered in any of the parameters #0230 through to #0239. These parameters link respectively to programs O9020 through to O9029. But given that the parameters have been lost and replaced with parameter setting that appear to be different to the originals, then its dubious that any of the parameters #0230 through to #0239 will tell you anything.

First up you need to determine if your control is equipped with the User Macro function. The easiest way is to look for a Macro Variable page accessible via the Offset Key, then Soft Keys at the bottom of the screen. If the control has User Macro, you should find a Soft Key labeled MACRO to access the Macro Variable page.

If the control does have the User Macro option, look to see if there are programs registered under any on the program numbers O9020 through to O9029. If yes, and if you're not able to determine if its a Tool Change program, post it here so the Forum can assist you.

Whether G28 or G30 is used may or may not be irrelevant, and depends on the type of tool changer, carousel (tools hanging down pointing towards the table), or side mounted on the machine. At the end of the day, its usually a proximity switch that will confirm for the PMC (PLC program) that the spindle is in position for a tool change. How it got to that position can be irrelevant. Many Carousel Type tool change mechanisms use G30 to raise the spindle clear of the tool after the tool change mechanism has grabbed the spindle tool, hence the reason for possibly both G28 and G30 being used in the tool change sequence.

Grid shift for the Z axis and therefore the G28 position is parameter #0510. Accordingly, if G28 is used to gain the correct tool change position in Z, then the same procedure for obtaining the amount to set for G30 can be used to obtain the value to alter parameter #0510 by.

The value set for G30 in #0737 will be applied + or - from the Zero Return or G28 position.

The setting range in #0737 is 0 to + or - 99999999 in units of 0.001 and 0.0001 for mm and inch respectively. Accordingly 4.35mm would be registered as 4350

Post more information regarding the tool changer type and what you find with regards to the program numbers referred to above.

It could be also that you machine does not use a Custom Macro program. It depend greatly on the the PMC program used, and how much of the Tool Change work is executed by it.

Regards,



Bill
Reply With Quote

  #7   Ban this user!
Old 11-24-2011, 09:56 AM
tc429's Avatar  
Join Date: Feb 2011
Location: USA
Posts: 325
tc429 is on a distinguished road

does the tool arm usually grab the tool at home, or does the z slide usually go up past home?

if it grabs AT 'home', adjust parameter 510 to fudge the home position a little as needed. there can be more to switch/encoder/offset when considering grid offset, but as your machine was ok before, simply fudging the parameter should put it back with everything else still in proper adjustment.

grid offset values can be goofy- its in detect units, but cmr/dmr/hires encoders all screw with the ratios...home it up, put a indicator on it, put -100 in 510, cycle power/home it up see what it moves...most smaller machines will move 1:1 in least command increments, so it should move .1mm - but if its got a odd screw or high res, it might move .5 or 1~2mm... note grid offset is only used to fine-tune home position within one rev of the screw...so if toolchange is not at home, dont mess with it...

a lot of our carousel style machines grab at home like that, then theres a incremental move up(or a G30 +3~4") in the TC program to raise the slide so the carousel can index under the spindle to the next tool, then back to g28 for the clamping of the new tool...

random access arm type atcs usually are aligned at home with parameter 510 also, but the slide dont need a g30 as the arm pulls the tool clear...slide just sits at home the whole atc cycle...

hope everyone has a great Thanksgiving
Tim
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
Anilam 3000 Tool change Z height hcrotalus General CNC (Mill and Lathe) Control Software (NC) 2 04-10-2011 08:46 AM
Need Help!- Fanuc 11M...Is there a way to get Tool change Parameter if losing one? cjchands Fanuc 3 11-03-2010 08:11 AM
Setting the Z axis tool change height TR MFG Fadal 4 11-06-2009 09:22 PM
Need Help!- How do I adjust the tool changer height parameter on a TNC145 (Interact 412) Skin Bridgeport and Hardinge Mills 3 05-27-2009 07:16 PM
BMC-10 tool change height leggetmachine HURCO 1 07-30-2007 09:45 PM




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