![]() | |
| 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
| |||
| |||
I am trying to figure out how to use a tool for a stop in the program. I can zero the machine out and do it manually the zero return but that is taking a lot of time. Hear is what I have so far I can send the tool out for the stop with no problems but I cant get it to return home without doing a zero return. Sample G50 X0.0 Z0.0 T0505 G0 X-9.25 X-10.0 M01 I am lost from there..... I have used M0 and M01 both and had the same results. When the tool goes to the position the temporary stop light comes on and I cant open the jaws to slide the material out unless I hit the reset button. When I do a reset it will not restart again unless I zero return. This has worked without opening the jaws but I am not able to adjust the material G50 X0.0 Z0.0; T0505; G0 X-9.25 Z-10.0; (TOOL MOVES TO THIS POSITION) M01; (TEMPORARY STOP LIGHT COMES ON ) ; (HIT CYCLE START) G28 U0.0 W0.0 (TOOL RETURNS HOME) ; ; G50 XXXXX (PROGRAM RUNS) I am sure I am missing something or just over looking it. Any help would be greatly appreciated. |
|
#3
| |||
| |||
G50 X0.0 Z0.0; T0500; its not a good idea to call the tool with the offset. If G00 is modal from a previous part of the program, the slides will move when the tool is indexing. On some machines, if G00 is NOT modal the program will be held up because the slides can't move to apply the offset. Its better to apply the offset on a move line as shown in the following line. G0 X-9.25 Z-10.0 T0505; (TOOL MOVES TO THIS POSITION) M??; (CHUCK OPEN M CODE) M00; (PULL WORK PIECE TO LENGTH) (TRY CLOSING CHUCK MANUALLY) (IF NOT, USE M CODE TO CLOSE CHUCK AND HIT CYCLE START TO EXECUTE) G0 X0.0 Z0.0 T0500; ; ; G50 XXXXX (PROGRAM RUNS) Regards, Bill |
|
#4
| |||
| |||
| Sounds like the machine's interface is designed so you can't open the clamps when the machine is "in cycle". An M00 or M01 just temporarilly stops the machine, but it's still in cycle. An M30 would reset the control (as does the RESET button), but that would drop you out of cycle and force you to start the program over. Can you open the clamps to adjust the workpiece if you were in "Feed hold"? When you press the Feed Hold button, the control stops in a slightly different mode, and you should be able to resume by pressing Cycle Start again. I can understand having a safety interlock so the machine won't cycle with open clamps, and you can't open the clamps while you're in cycle, But that would be coded into the Ladder logic by the machine tool builder. |
|
#5
| |||
| |||
| Got it figured out.... G50 X0.0 Z0.0 T0505 G0 X-9.25 X-10.0 M11 (CHUCK OPENS) M01 (CYCLE START) M10 (CHUCK CLOSES) ; ; ; G50XXXX (REST OF PROGRAM RUNS) Thanks for all the help. Dan I got with John and got the BTR for my mill..... Needles to say I am very happy with it. Bill once again thanks you were a great help to me in getting the bugs worked out of the mill. |
| Sponsored Links |
|
#6
| |||
| |||
One other note on the current M01/M00 issue, as Dan pointed out, the actuation of the chuck whilst in cycle may be blocked by the machine builders logic. This can't be looked at as can be done on later controls, however, if you have the MTB's wiring manual there should be a hard copy of the ladder and you will be able to see how manual functions such as openeing and closing the chuck are handled with the control in Auto mode, in active cycle and stopped by either M01/M00. Most controls tolerate manual intervention, that is, 1. when in active cycle, the control can be placed in manual mode 2. a manual operation performed 3. the control put back into Auto mode and the automatic operation resumed Accordingly, you could 1. have the machine stop via M01 or M00 2. select manual mode 3. open the chuck manually and pull the work piece to the stop 4. manually close chuck 5. select Auto mode and press cycle start to resume auto operation. I would be wary of using M01 and chuck open command together, as the chuck will open whether Optional Stop is selected or not. As in your program example you are closing the chuck immediately after the M01, so there may not be an issue but M00 would be a safer choice in a bar pull to length situation. Regards, Bill |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |