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 01-30-2009, 09:07 AM
samu's Avatar  
Join Date: Feb 2007
Location: quebec
Posts: 216
samu is on a distinguished road
rewind program without stopping spindle

Is there a way to keep spindle running while i'm loading a new part. my program just take few second so the spindle is alaways in start or stop. I dont want to have to manually push on feed hold button.
Reply With Quote

  #2  
Old 01-30-2009, 10:13 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

How are you programming the part program end? Rewind/restart at the end the program?
You could eliminate the M5 and put a program stop after the part has completed in order to load a new part and press cycle start and the program would rewind/restart.
Or some variation of the above.
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 01-30-2009, 10:27 AM
samu's Avatar  
Join Date: Feb 2007
Location: quebec
Posts: 216
samu is on a distinguished road

Originally Posted by Al_The_Man View Post
How are you programming the part program end? Rewind/restart at the end the program?
You could eliminate the M5 and put a program stop after the part has completed in order to load a new part and press cycle start and the program would rewind/restart.
Or some variation of the above.
Al.
M02 or M30 stop the spindle, if i put a M0 or M01, it also stops spindle. But i solved it. I use macro programming but the only input i can read without changing ladder is machine lock. So i need to activate an deactivate it to rewind and restart program via GOTO command. Maybe there is a simple way but it works fine.
Reply With Quote

  #4   Ban this user!
Old 01-31-2009, 06:43 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

This may sound like a hair-brained idea, but it might work:

Put a normally open push-button switch on your panel and wire it to pins 4 and 5 on the Fanuc's serial port. Then, put a jumper between pins 6, 8, and 20 on the serial port (all three pins tied together) to prevent the DR and CD alarms. Then, do this in your program:

O0001 (MAIN PROGRAM)
N1
N2 (blah blah)
N3
N4
N5 POPEN
N6 DPRNT[HELLO WORLD]
N7 PCLOS
N8 M99

If the Fanuc does not see a high signal on pin 5 (CTS) of the serial plug, it will hang up on the DPRNT statement, unable to send data out the serial port. When you push the button, the "HELLO WORLD" will get transmitted, and the Fanuc will resume. This does not stop the spindle. When the Fanuc hangs up waiting for the CTS signal, it should sit there basically forever until you press your switch, or until you press RESET.

Beware that on Fanuc 160/180/210 models, there is a serial port on the CNC control and another one on the Windows "front-end". The one on the CNC control is the only one to use in this case.
Reply With Quote

  #5   Ban this user!
Old 01-31-2009, 04:45 PM
CNCRim's Avatar  
Join Date: Feb 2006
Location: usa
Posts: 947
CNCRim is on a distinguished road

G5 pause for satain of time to switch part..... etc if operator not change part in time.... wamp.
__________________
The best way to learn is trial error.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-03-2009, 06:20 AM
samu's Avatar  
Join Date: Feb 2007
Location: quebec
Posts: 216
samu is on a distinguished road

thanks for the replies. Dan Fritz, it is that kind of crazy idea i'd like to try but i think i'll continue my way that seems more simple.

O0001
N1
N2.... M3 S8000
N4
N5
WHILE[#1015 EQ0]DO1 (LOOP HERE UNTIL MACHINE LOCK ON)
END1
WHILE[#1015EQ1]DO1 (LOOP HERE UNTIL MACHINE LOCK OFF)
END1
GOTO4 (REWIND PROGRAM)
M99
Reply With Quote

  #7   Ban this user!
Old 02-07-2009, 02:14 PM
 
Join Date: Jan 2007
Location: USA
Posts: 95
teamjnz is on a distinguished road

you can try this if you like

O0001 (MAIN PROGRAM)
N1
N2 (blah blah)
N3
N4
N5 G0G28G91Z0
N6 G0G28G91Y0
N7 G4P200(HOW MANY SECONDS YOU WANT)
N8 /M99
N9 M5
N10 M30
__________________
_____________
teamjnz
Reply With Quote

  #8   Ban this user!
Old 02-21-2009, 12:43 AM
 
Join Date: Feb 2009
Location: UK
Posts: 8
James_jester is on a distinguished road

Originally Posted by samu View Post
Is there a way to keep spindle running while i'm loading a new part. my program just take few second so the spindle is alaways in start or stop. I dont want to have to manually push on feed hold button.

Please Help...!!! I am running a cincinnatti mill with a2100 control and am trying to achieve the same result, my machining cycle is only about 5 seconds but the spindle speed is up to 6000rpm so the machine spends more time getting the spindle up to speed and stopping it than it does actually machining...!! Obviously all the M codes, M0, M1, M2, M30 all stop the spindle, G4 (dwell) is not consistant as loading speeds will vary from operator to operator, Ideally, I'm trying to get the program to rewind, leaving the spindle running, only to start the next cycle with the cycle start button as you normally would, I've been chasing a macro to solve this problem, but as yet, no luck... Again, please help...!! :-)
Reply With Quote

  #9   Ban this user!
Old 02-21-2009, 02:26 AM
 
Join Date: Feb 2009
Location: india
Posts: 48
chetan is on a distinguished road

hi
Use this
G65 H80 P...(type here blocknumber i.e. start of the program)
This run the program continuosly without stop, unles you press cycle stop.
Reply With Quote

  #10   Ban this user!
Old 02-21-2009, 08:29 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,562
Geof will become famous soon enough

Periodically through the day count your hands and fingers. You should be starting with two hands each with four fingers and one thumb for a total of ten digits.

I will comment that spindle stop/start might be slow but it is a lot faster than nothiong which is the regrowth rate of any of the above parts that go missing while you are loading.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-21-2009, 12:02 PM
 
Join Date: Dec 2008
Location: 1
Posts: 3
yukon is on a distinguished road

.
Reply With Quote

  #12   Ban this user!
Old 02-22-2009, 09:10 AM
 
Join Date: Feb 2009
Location: UK
Posts: 8
James_jester is on a distinguished road

Originally Posted by Geof View Post
Periodically through the day count your hands and fingers. You should be starting with two hands each with four fingers and one thumb for a total of ten digits.

I will comment that spindle stop/start might be slow but it is a lot faster than nothiong which is the regrowth rate of any of the above parts that go missing while you are loading.
Your concern is truly noted Geof, but I've been programming, setting and operating CNC machines for over 15 years, going from early tape reading machines like the early fanuc 5 and 6T's through to the start of the art touch screen machines of which I now run and manage 4.

Implying such a manipulation of the machines software or programmed code to be hazardous to mine or any of my operators well being is a little unfair, in fact I believe the advantages I am trying to achieve are more than justified.

Maybe if you'd read my post properly, you'd be aware that all the conventional M codes stop the spindle as they should, however I stated that the G4 code for machine dwell would NOT be used due to the machine axis moving itself afted the seconds have elapsed, potentially risking the well being of the operator, instead, I was, and still am looking for a way to restart the cycle WITH, I repeat, WITH the cycle start button to ensure the machine cycle can only commence with the operators input from outside the machine - ensuring hands and fingers are well clear.

And to explain, in my opinion, keeping the spindle running on such a short machining process will not only will increase productivity, in this case by somewhere in excess of 50% and as the spindle won't be constantly accelerating from stop to the programmed speed and then decelerating to still again, it would also reduce the strain on all the machines components, such as the spindle motor, the drive belts, spindle nose, the choke, the spindle drive unit itself and all the other components that are involved with the massive amount of electric the machine will draw during the acc/decel process, so, with no offence intended Geof, I'll leave you counting your fingers and you can leave me to optimise my machining processes and productivity, something I might add, I'm employed and paid quite well to do.

But thanks for your concern again Geof.
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
Newbie- How to setup and program sub-spindle on TL-25? Aeon Haas Lathes 0 03-06-2008 06:02 PM
vickers 2100 - Tree J250 - program "rewind" mblazenby General CNC (Mill and Lathe) Control Software (NC) 2 01-11-2008 09:39 AM
Spindle not stopping for tool change TT350 Tormach PCNC 12 08-20-2007 04:09 PM
Spindle keeps shutting down during program bherr Bridgeport and Hardinge Mills 17 05-02-2007 06:04 PM
Stopping and Restarting in a Program Dugg Haas Mills 5 01-14-2007 03:32 PM




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