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 08-20-2011, 10:03 AM
 
Join Date: Jul 2007
Location: USA
Posts: 16
oldgoat is on a distinguished road
Tool Measurement B

After lurking in the forums for a while, I would just like to say I am amazed at the amount of knowledge and the helpful attitude of the members of CNC Zone.

That being said, I was hoping to find some more knowledge about the inner workings of Tool Length Measurement B as it pertains to a Fanuc 15MA. I have read numerous times the information I can find in the Series 15-MA, 15-MF, 150-MA Operator's Manual (B-61224E/07) on how the function is supposed to work from the operator's point of view and it is pretty much cut and dry. I also have read the information I could find in the Series 15/150 Model B BMI Interface Connection Manual (GFZ-62073E-1/04), which may or may not apply. I also used any information I could extract from the PMC Ladder Language Programming Manual (Vol 1) (GFZ-61863E/14) which does NOT include any information for the PMC-N, so it may or may not apply. I do NOT have the Series 15 Model A BMI Interface Connection Manual to look through. I have found a detailed description of the interface requirements for Tool Length Measurement B as it works for a lathe in a Series 15B in the 15B BMI Connection Manaul, but I am not sure how this pertains to or translates over for operation on a Series 15A mill. I have included the relevant pages from the 15B BMI manual as an attachment below.

I have also included the relevant pages from the 15MA Operator's Manual as an attachment below. I guess my questions are:

1) When the "TOOL LENGTH MEASUREMENT" switch on the machine side as described in the operator's manual (Page 568) is turned on, what happens next? At this point, is the GOQSM (G028.7) signal asserted by the PMC as in the description for the lathe system in the 15B BMI manual?

2) Do the +MIT1~3 and -MIT1~3 apply to the 15M as well as the 15T as described in the 15B BMI manual?

3) Since I did not find a detailed description of how the TLMB function works for a 15M series, does one exist?

I apologize for the long winded post. I just wanted to make sure I had all my thoughts together correctly and explained it in the same way.

Thanks for any help in advance...

Ken
Attached Files
File Type: pdf GFZ-62073E-1_04-257-259.pdf‎ (77.1 KB, 41 views)
File Type: pdf 15MA_TLB.pdf‎ (322.1 KB, 34 views)
Reply With Quote

  #2  
Old 08-20-2011, 10:37 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

According to my 15MA Operator manual, there is a detailed description of TLMB in section 10.9. ?
The last Fanuc system I installed was a 15A before switching over to exclusively Mitsubishi so I am a bit rust on it.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 08-20-2011, 10:59 AM
 
Join Date: Jul 2007
Location: USA
Posts: 16
oldgoat is on a distinguished road

Al,

While there is a detailed description of how TLMB works in the Operator's Manual from an operator's point of view, it does not describe any of the details of what happens "behind the panel" when one invokes this function (The pages you described are one set of the pages I attached to the original post). I was hoping for more of a step by step "behind the panel" sequence of events as it pertained to using it on a mill, or 15M system. This type of description which I found was for a lathe, or 15T series, included as the other attachment in the original post, and I do not know how it pertains to or translates to using it on a 15M series. The description specifically calls out and shows an example with CNC and PMC signals as it relates to the 15T and 15TT.

Ken
Reply With Quote

  #4  
Old 08-20-2011, 12:25 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

I will check the docs I have a bit further.
I noticed that there is a 9000 option par for Tool Length Measurement?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 08-20-2011, 02:20 PM
 
Join Date: Jul 2007
Location: USA
Posts: 16
oldgoat is on a distinguished road

I noticed that there is a 9000 option par for Tool Length Measurement?


As well as a few other things which need to be worked around. I do not want to get into a discussion of why it cannot be done, or why it could not be done, as well as posting proprietary information. I just would like to learn how it integrates into the machine tool, and how it works from the machine tool and CNC point of view. This definitely and undeniably has to be the easiest, quickest, least error prone way of setting tool lengths on a HMC.

Thanks,
Ken
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-20-2011, 05:17 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by oldgoat View Post
I noticed that there is a 9000 option par for Tool Length Measurement?


As well as a few other things which need to be worked around. I do not want to get into a discussion of why it cannot be done, or why it could not be done, as well as posting proprietary information. I just would like to learn how it integrates into the machine tool, and how it works from the machine tool and CNC point of view. This definitely and undeniably has to be the easiest, quickest, least error prone way of setting tool lengths on a HMC.

Thanks,
Ken
Tool length measurement on Fanuc controls use the skip function G31 to feed the tool onto a mechanical switch. Axial motion is like G01 following the G31 command. If an external skip signal is input during the execution of this command, the execution of the command is interrupted and the next block is executed. A target coordinate is used that is beyond the physical location of the switch that will apply the skip signal, and basically the tool being measured runs into the switch on its way to the commanded coordinate.

The implementation of a tool length measuring system would vary according to the hardware manufacturer, but the overall scheme is similar. The Renisahw system uses a normally closed switch and looks for this condition before allowing the tool to approach. This guards against problems such as broken wires etc. The tool advances at a relatively high feed rate until contact with the switch is made and hence, initiates the skip signal. The tool is normally then moved a short distance away from the switch and another contact is made under G31 command at a slower feed rate to gain a more accurate position at which the interrupt occurred.

A User Macro program is used to interpret the state of the switch and to apply some simple mathematics to calculate the tool length based on the Machine Coordinate when the interrupt signal occurred, and to load the resulting tool length into the appropriate offset registry.

Tool length/diameter measuring equipment is not overly difficult to install as an after market device.

Regards,


Bill

Last edited by angelw; 08-21-2011 at 05:40 AM.
Reply With Quote

  #7  
Old 08-21-2011, 09:17 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Looking through the Fanuc manuals, which are slightly better than the older systems but still not very clear what is required.
It seems to me that the TLMB can be entered two ways?
One manually through softkeys and automatically by tool setter by setting BMI-DI internal register G08.5 (PRC), this would be set via a PMC input, which does not appear to have a dedicated input assigned to it.
The rung would need to be added to the PMC.
I am also assuming by exercising a G code G37 the tool move to the presetter position and waits for the PRC signal, similar to G31?
I have never done it on a 15, so it is just an assumption from what can be gleaned from the manuals?.
There is also a series of user parameters for setting the TLMB, in 6000's I believe.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #8   Ban this user!
Old 08-21-2011, 12:04 PM
 
Join Date: Jul 2007
Location: USA
Posts: 16
oldgoat is on a distinguished road

Looking through the Fanuc manuals, which are slightly better than the older systems but still not very clear what is required.
My guess is clear was a relative term for the manual writers at Fanuc.

There is also a series of user parameters for setting the TLMB, in 6000's I believe.
From what I could gather, the following parameters need to be set in conjunction with TLMB for a Series 15M:

6002.6 [QNI]
QNI Specifies the method used to set the tool offset number when measured tool offset input function B
(only for the Series 15–T and 15–TT) or tool length measurement function B (only for the Series 15–M)
is used.
0 : Select tool offset No. with cursor on MDI/CRT unit.
1 : Tool offset number is set by a signal from the machine.
I would be selecting option 0, select the offset on the offset screen.


6003.0 [TC2] & 6003.1 [TC3]
TC3 TC2 Meaning
0 0 Tool change position is the 1st reference point
0 1 Tool change position is the 2nd reference point
1 0 Tool change position is the 3rd reference point
Our particular machine uses G30 for the tool change position, so I would have to select 01.


6003.2 [TMA]
TMA Specifies the axis for which tool length is measured.
0 : Measure tool length along the Z–axis.
1 : Tool length can be measured for any axis.
Not sure which way to go yet, but most likely option 1.

6024
This parameter is used by function B for measuring tool length/workpiece origin.
For each axis, set the distance from the reference tool tip to the reference measurement surface (L in the figure
below) when the machine is at the machine origin.
Those are the parameters I found listed in the Fanuc Series 15/Fanuc Series 150 Operator's Manual (Appendixes) (B-61220E/05)

Now for the first step, I need to know what the switch in the following text (which was extracted from the Series 15 Operation Manual for Machining Center) does as far as signal input. Obviously the switch is an input to the PMC, probably a non-dedicated input. When the PMC receives this input, and the mode is in handle or jog (manual continuous feed), what signal does the PMC send to the CNC??

(Extracted directly from the FANUC Machining Center Operator's Manual)
Procedures for measuring the tool length compensation value
1 Move the machine to the tool change position by manually returning to the reference position.
2 Select the manual handle feed or continuous manual feed mode.
3 Turn on the “TOOL LENGTH MEASUREMENT” switch on the operator’s panel on the machine. The control
unit then automatically changes the CRT screen to that for measuring the tool length compensation
value, shown on the next page. The OFST status display blinks at the bottom of the screen to indicate that
the preparation for measuring the tool length compensation is completed.
That is step one. My guess is there will be more. Once again, I apologize for the long winded post. I hope my thoughts came through clearly.

Ken
Reply With Quote

  #9   Ban this user!
Old 08-21-2011, 05:37 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by oldgoat View Post
My guess is clear was a relative term for the manual writers at Fanuc.



From what I could gather, the following parameters need to be set in conjunction with TLMB for a Series 15M:

6002.6 [QNI]
QNI Specifies the method used to set the tool offset number when measured tool offset input function B
(only for the Series 15–T and 15–TT) or tool length measurement function B (only for the Series 15–M)
is used.
0 : Select tool offset No. with cursor on MDI/CRT unit.
1 : Tool offset number is set by a signal from the machine.
I would be selecting option 0, select the offset on the offset screen.


6003.0 [TC2] & 6003.1 [TC3]
TC3 TC2 Meaning
0 0 Tool change position is the 1st reference point
0 1 Tool change position is the 2nd reference point
1 0 Tool change position is the 3rd reference point
Our particular machine uses G30 for the tool change position, so I would have to select 01.


6003.2 [TMA]
TMA Specifies the axis for which tool length is measured.
0 : Measure tool length along the Z–axis.
1 : Tool length can be measured for any axis.
Not sure which way to go yet, but most likely option 1.

6024
This parameter is used by function B for measuring tool length/workpiece origin.
For each axis, set the distance from the reference tool tip to the reference measurement surface (L in the figure
below) when the machine is at the machine origin.
Those are the parameters I found listed in the Fanuc Series 15/Fanuc Series 150 Operator's Manual (Appendixes) (B-61220E/05)

Now for the first step, I need to know what the switch in the following text (which was extracted from the Series 15 Operation Manual for Machining Center) does as far as signal input. Obviously the switch is an input to the PMC, probably a non-dedicated input. When the PMC receives this input, and the mode is in handle or jog (manual continuous feed), what signal does the PMC send to the CNC??



That is step one. My guess is there will be more. Once again, I apologize for the long winded post. I hope my thoughts came through clearly.

Ken
Ken,
What you're referring to, I believe, is the Tool Length Measuring feature where the tool is moved manually to a reference of known height, and a once there a Measure hard or soft key pressed to initiate the measurement of the tool. If this is the case, and your machine does not have this feature, but has the User Macro, then you can achieve the same thing, only better in my opinion, by obtaining or writing a User Macro program for tool length measurement. The same applies for Work Shift setting. All of this can be achieved without PMC ladder modifications and generally without parameter changes.

What I described in my original reply was Automatic Tool Length measurement, were the tool is presented to a measuring probe under program control. This feature has many advantages, such as periodic measurement of the tool in cycle to determine tool wear, and presenting tools that have performed critical operations to determine if they broke during their cycle. An example of this would be a drilled and tapped hole. The drill can be presented to the setting probe, and if broken, trying to tap the non existing hole can be avoided.

Regards,

Bill
Reply With Quote

  #10   Ban this user!
Old 08-21-2011, 08:02 PM
 
Join Date: Jul 2007
Location: USA
Posts: 16
oldgoat is on a distinguished road

What you're referring to, I believe, is the Tool Length Measuring feature where the tool is moved manually to a reference of known height, and a once there a Measure hard or soft key pressed to initiate the measurement of the tool. If this is the case, and your machine does not have this feature, but has the User Macro, then you can achieve the same thing, only better in my opinion, by obtaining or writing a User Macro program for tool length measurement. The same applies for Work Shift setting. All of this can be achieved without PMC ladder modifications and generally without parameter changes.
Bill,
You are exactly correct. We currently have two HMCs, and setting tool length offsets can be a real bear for the uninitiated, as well as for us initiated types. We regularly machine multiple parts in multiple operations on multiple sides of the tombstones, and use a macro for setting our work offsets since we far exceed the 6 available. This also aids in change overs, since all the work coordinates are preset in the programs, and rarely change much (if at all) from run to run. One has to be real careful when picking the point for touch off for tool replacement. While both machines already have the "regular" tool length measurement option, you have to make sure you pick the correct offset on the correct face of the tombstone and touch off the correct face of the part. All told, too much room for error. Tool Length Measurement B allows a fixed and permanent reference point to be set in parameters, have the operator flip a switch and be presented with the tool offset screen, jog and handle to the "touch off" point, cursor to or otherwise select the correct tool height offset, press measure, done. While I am not against doing this with a macro, it just seems to be intuitively simpler with TLMB.

What I described in my original reply was Automatic Tool Length measurement, were the tool is presented to a measuring probe under program control. This feature has many advantages, such as periodic measurement of the tool in cycle to determine tool wear, and presenting tools that have performed critical operations to determine if they broke during their cycle. An example of this would be a drilled and tapped hole. The drill can be presented to the setting probe, and if broken, trying to tap the non existing hole can be avoided.
This would be the next logical progression after TLMB. I need to check more into the hardware, as both HMCs are not exactly the same. One already has installed, is set up for a probe, but we have no probe. It uses a Wako UTS. The other has a Probe, but looks like the internal interface hardware is missing. One thing at a time...

I appreciate your input, and am more than willing to accept any more knowledge you may wish to share.

Ken
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-21-2011, 08:27 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by oldgoat View Post
Bill,
Tool Length Measurement B allows a fixed and permanent reference point to be set in parameters, have the operator flip a switch and be presented with the tool offset screen, jog and handle to the "touch off" point, cursor to or otherwise select the correct tool height offset, press measure, done. While I am not against doing this with a macro, it just seems to be intuitively simpler with TLMB.
Ken,
I've set many machines up to do semi automatic tool length measuring, as have many of the contributors to this forum, based on some of the threads I've followed, and I still feel that a well implemented User Macro system is better than TLMB.

One system I've implemented in the past is launched via MDI using a User Defined G Code. This G Code calls the Macro program and passes a parameter in the way of a tool number, to set just one tool, or a start and end tool number, to set a range of tools. The action of this Macro program is to position the tool at the tool set position in X and Y and then display a message instructing the operator to manually touch off the tool on the setting device, be it a dial indicator type device, or a block of material of known height. Once correctly positioned in Z,the cycle start button is pressed in MDI mode and the calculated tool length is registered in the correct offset record based on the current spindle tool number. The process is completed by the tool returning automatically to the Z Reference point.

Regards,

Bill
Reply With Quote

  #12   Ban this user!
Old 08-30-2011, 01:27 PM
 
Join Date: Aug 2007
Location: uk
Posts: 58
derekBPcnc is on a distinguished road

Originally Posted by angelw View Post
Ken,

One system I've implemented in the past is launched via MDI using a User Defined G Code. This G Code calls the Macro program and passes a parameter in the way of a tool number, to set just one tool, or a start and end tool number, to set a range of tools................
Regards,
Bill
Hi Bill,

Would you be willing to share the macros?
At the moment, I'm setting TLOs with a dial gauge, but by thrashing the HMI buttons manually
ATB
Derek
Reply With Quote

Reply

Tags
15m, measurement b, tool length




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
G0602 Measurement michaelthomas Benchtop Machines 5 04-25-2011 09:47 PM
Need Help!- MAZAK FH6800's Parameters for Tool Lenght measurement system sonu Mazak, Mitsubishi, Mazatrol 3 03-11-2011 05:11 AM
0.01 mm Tool Measurement Leha_Blin General CNC (Mill and Lathe) Control Software (NC) 2 10-09-2009 12:04 AM
New In Process Tool Measurement System kcoste Product Announcements & Manufacturer News 0 10-08-2009 11:59 PM
Tool Length Measurement - No Button On Panell avongil Mazak, Mitsubishi, Mazatrol 8 10-12-2008 03:19 PM




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