![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
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. |
|
#2
| ||||
| ||||
| 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. |
|
#3
| ||||
| ||||
|
|
#4
| |||
| |||
| 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. |
|
#6
| ||||
| ||||
| 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 |
|
#8
| |||
| |||
| 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...!! :-) |
|
#10
| |||
| |||
| 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. |
| Sponsored Links |
|
#12
| |||
| |||
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |