1371
General Mach Discussion / Re: Starter questions...
« on: February 03, 2009, 09:04:50 PM »Hello, my name is tom stefanou, i have a 3 axis cnc machine.
i would like to ask a few things...
1) How can i instruct the post processor or somehow else switch to Constant Velocity when it draws a circle and to exact stop when it draws a rectangle?
2) The cnc machine has a router and a a cutting disc. The disc can operate in 2 directions. along X and along Y. How can i calculate and implement in the post processor the offsets required for the cutting to be correct and accurate?
3) I want to enable the router through a Start button on the main console. In case the router is not enabled i don't want to allow the user to start the code execution and also warn the user. Is there a way and if yes, how ?
4) I want to have a button that will find home position of all axes. first of Z then of X,Y. The point is that i want Z init to complete and then to start X,Y homing. I found the Command G28.1 Z1 and then G28.1 X1 Y1 but i want to insert a delay between them. How could i do that?.
5) I would like to make use of the tool changing functions using the atc post, the tools have fixed positions. i don't know how to do that at all.
Thank you all in advance for your help.
P.S Sorry for my bad english!.
Tom Stefanou.
1) In SheetCAM, you can insert a "G-code snippet" as an additional operation. That G-code snippet can contain the G61 ro G64. This, of course, requires each operation to be executed completely in one mode or the other. The post-processor has no knowledge of whether it's outputting a circle or a rectangle. You could apply the G61 or G64 to each G01 or G02/G03, but I suspect that would have undesirable side-effects. Why do you want to do this anyway? Seems a little odd. Why would you not just run in CV all the time?
2) I'm not sure I completely understand what your machine looks like. SheetCAM should do this for you, if the tool is setup properly.
3) This would probably require programming up a simple Mach macro, and modifying the screenset if you want to apply that behavior to the various "Run" buttons on the Mach screens.
4) Homing is controlled by the Homing macros in the Mach3/macros subdirectory. You need to modify the macro there.
5) That also involves macro programming, possibly rather involved. I haven't completely sorted that out myself yet....
Regards,
Ray L.