![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| DeskCNC Controller Board Discuss DeskCNC Controller Boards and the software that controls it here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| I'm working with a stl file and I'am useing two passes. I need to change the bit after the roughing pass. The code automatically gives a M06 (Tool change) But the cnc router I made does'nt stop it keeps going. So I hit the pause button and change my bit. what I would like to know is there something else I should be inserting on one of these lines. I have tried stopping the mach. but all that does is make the program start at the beginning. I want the machine to stop,at a give height so i have access to the bit then let me change the bit, and resume where its at in the code. I need that part of the code which allows it to resume to. Thanks Brady And the lines read as follows; 13715 (Begin next pass at 0.020) 13716 N27419 T21 M06 S10000 |
|
#2
| ||||
| ||||
| M0 or M00; M1 or M01 M0 is a program stop. M01 is an optional stop. On real cnc's (and perhaps Deskcnc has the logic) a toggle switch sends a signal that the operator wishes to have the M01 active, or not. If it is active, then it behaves like an M0 and the program stops running. Pressing cycle start initiates the program again. Of course, the control may require that you stop the spindle, stop the program, restart the spindle and continue, like so: M5 M0 M3 M6 might be able to be reconfigured within the 'ladder' program to stop the spindle and stop the program. But usually, M6 starts the operations of an automatic toolchanger, so on a manually loaded machine, no logic may have been written for your M6.
__________________ 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) |
|
#3
| ||||
| ||||
| Insert following lines where u want to change the tool. T2 M6 M05 G00 X0 Y0 G00 Z-45 M00 G00 G17 G21 G40 G49 G80 G90 G00 Z-3 S10000 M03 Here Z-45 let ur z-axis up to 45 mm as in my case... there i change the tool and after changing the tool i manually down the Z-axis as it touches the original Z-place (i.e. i always set z just at the top of work piece)...after touching the z-axis at workpiece ...i change the value in for Z-axis in MACH3 to Zero.. and then press cycle start.. T2= New tool Number G21= Use it if u r working in metric or use G20 if Inch system |
|
#4
| |||
| |||
| Ok I did both as suggested. yes you do have to put M05 then M00 for the spindle to stop. If swithched my router will just keep running. But still the machine wants to start over at the beginning; Should Deskcnc have some other command to allow me to resume after a tool change, If not what are other Deskcnc users doing to get around this problem. I use to think it was my computer win98 cause when running a lenghtly g-code the win98 would just lock up. Now I have a new XP Pro with a 1.6ghz processor and yes there is a big difference between the two in the operation. So plese what are you Deskcnc users doing for this problem, Again I want to run a file with a roughing pass then change the tool then continue on where I left off at the tool change. Thanks Brady |
|
#5
| ||||
| ||||
| So you let the program run and it reads down to the M00 and it stops there or does it immediately go back to the beginning of the program? Or do you have to hit cyclestart again and then it starts at the beginning of the program? What happens if you try to single step through the M00? It sounds as though Deskcnc may not have any logic associated with M00. What it should be doing is switching to single step mode at the M00. I have no familiarity with your software, but that is the gist of it.
__________________ 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) |
| Sponsored Links |
|
#6
| |||
| |||
| What happenes is. the M05 does stop the router, and yes the M00 does stop the program. And this is when I change the bit everything is ok at this point..... Now in deskcnc I have to hit the go button; and this is when it starts at the beginning again. Before all this I was hanging around untill the roughing pass was done, then I hit pause, then since I paused the machine this pauses all function keys; like raiseing the Z axis etc.. So this is when I would move the work piece and change the bit. I have to be missing something somewhere cause I would not think that as long as cnc programs have been around that who ever wrote the program would leave something like this function or sequence out of the program. This is why I must be doing something wrong. And I do appreaciate Your input and Help. I seem to learn more when you old timers show me different things to try. I may have to wait untill Imserv awnsers He seems to Know quite a bit about this Deskcnc program Thanks again Brady |
|
#7
| ||||
| ||||
| Just checking the documentation here: http://www.deskcnc.com/toolchange.html It would appear that M0 does serve the typical purpose. Perhaps you need to check your ToolChange.cfg to see what it looks like.
__________________ 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) |
![]() |
| 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 |
| G Code Change | gm3211 | Haas Mills | 4 | 09-20-2007 08:02 PM |
| How to change Tool change position(About MAZATROL T1 control) | liushuixingyun | Mazak, Mitsubishi, Mazatrol | 5 | 07-07-2007 03:58 PM |
| tool change | jrick | Commercial CNC Wood Routers | 0 | 01-13-2007 06:01 PM |
| Tool change | lilricky2 | BobCad-Cam | 2 | 06-03-2006 02:00 PM |
| Tool Change | WOODKNACK | General CAM Discussion | 10 | 07-12-2003 10:26 PM |