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-11-2008, 04:04 AM
 
Join Date: May 2008
Location: Australia
Posts: 8
Camber is on a distinguished road
M30 code quirk with coolant

Hi all,

I have an odd thing occurring with the auto coolant on my fanuc om series controlling my Leadwell machine center. The coolant switches on at the start and off at the end of the program as you would expect, but when the M30 program end code is read the coolant switches on again. Has anyone experienced this before? I can avoid the problem by leaving out the M30 code at the end of the program, is doing this likely to cause any issues?

Thanks
Reply With Quote

  #2  
Old 11-11-2008, 05:13 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I suppose it is possible that the problem could be a logic problem, where the state of the coolant motor relay is simply inverted when the M30 is executed, based on the assumption that the coolant was on.

Was the coolant on with the last tool in the program, or was it off? Do you usually command the coolant on/off with every tool change?

Have you tried turning the coolant off with an M09 at the end of the program?
__________________
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-12-2008, 05:02 AM
 
Join Date: May 2008
Location: Australia
Posts: 8
Camber is on a distinguished road

I have been playing with a basic test program and re-arranging the M09 to different parts of the program to switch off the coolant, nothing appears to work other than deleting the M30 line of code which brings up a 008 error code. Looking at my manuals, the error codes jump from 007 to 009, so I assume it must be a code initiated by the MTB. Again nothing in the MTB manual about a 008 error code. I also tried switching the coolant on at the end of the program hoping that the logic which appears to occur in M30 line would actually switch it off...no luck. Program I have been playing with is:

%
O0011
(PROGRAM NAME - TEST)
N100G21
N102G0G17G40G49G80G90
(TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - 10.)
N104T1M6
N106G0G90G54X23.76Y-25.39S500M3
N108G43H1Z1.M8
N110G99G81Z-1.R1.F500.
N112G80
N114M5
N116G91G28Z0.M9
N118G28X0.Y0.
N120M30
%

Any other ideas?

Thanks
Reply With Quote

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

This might be kind of dumb but. Have you tried putting the M9 code in a block all by itself? Also maybe try using a M2 at the end of the program instead of the M30. It will not rewind the program but it does the trick of ending it.

Stevo
Reply With Quote

  #5   Ban this user!
Old 11-13-2008, 03:42 AM
 
Join Date: May 2008
Location: Australia
Posts: 8
Camber is on a distinguished road

I tried putting the M9 in its own block and the M2 command at the end and still had the same issue. I noticed in the MTB manual a M0 command for program stop. I tried M0 at the end of the program and the coolant stayed off. Does the M0 command have a similar function as M30? If so this should solve my problem.

Thanks for the help
Reply With Quote

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

The M0 is a program stop. This is typically input in a program when you want to stop to check a dimension,tool ect. Once cycle start is pressed it will continue on with the program. You could use this if you wanted to but you will have to press reset after it reads the M0 to get back to the beginning of the program. If you push cycle start at this point you will get the same error you were getting when you removed the M30 from the end of the program.

Stevo
Reply With Quote

  #7   Ban this user!
Old 11-13-2008, 11:00 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Well, for what it's worth, here's the explanation of alarm 008.

You might try to end your program as shown below. The machine should stop at N120, then when you cycle start, it will jump back to the beginning of the program and run another cycle.

N116G91G28Z0.M9
N118G28X0.Y0.
N120M00
N121M99
%
Attached Thumbnails
Click image for larger version

Name:	PS008 ALARM.jpg‎
Views:	33
Size:	17.1 KB
ID:	69573  
Reply With Quote

  #8   Ban this user!
Old 11-14-2008, 11:47 AM
 
Join Date: Sep 2007
Location: Mexico
Posts: 342
GPena is on a distinguished road

Camber:

Is it possible to see the ladder program in your machine??? There you can see why the coolant pump is turning on in every M30.

GP.
Reply With Quote

  #9  
Old 11-14-2008, 11:59 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?

It certainly sounds with something overlooked by the OEM in programming the ladder.
If this is a current machine, try dropping a line to Leadwell support and see if this problem has occurred since and been rectified.
They may send you a new Ladder cassette.
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

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!- Is M8 common Code for coolant? SpeedsCustom LinuxCNC (formerly EMC2) 15 04-03-2008 08:13 PM
Robot quirk...Multiplex 6200 (Y) CNCMP Scott Mazak, Mitsubishi, Mazatrol 2 02-07-2008 06:30 AM
M code for coolant SIG Daewoo/Doosan 5 11-29-2007 09:51 PM
How to control coolant by G code? Simonetz Tamás Syil Products 9 09-03-2007 12:44 PM
Mathematical Quirk? Jim Estes BobCad-Cam 3 12-10-2005 11:26 PM




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