- Posts: 752
- Thank you received: 0
Lathe Macros
Regards
Marius
www.bluearccnc.com
Please Log in to join the conversation.
mariusl wrote: Is there a way I can see the code to try and debug what is happening?.
You could try putting (debug, ...) comments in the G-code routines to see where it is getting to.
What happens if you call the subs from the MDI window ( O<turning> call ) ?
Please Log in to join the conversation.
Please Log in to join the conversation.
But if I load the chamfer file it runs ok from MDI.
Regards
Marius
www.bluearccnc.com
Please Log in to join the conversation.
andypugh wrote: I know what the problem might be. The subs run in CSS and feed-per-rev mode. Do you have a spindle encoder?
Not yet it is on the to-do list. So it never get spindle up to speed condition right?
Regards
Marius
www.bluearccnc.com
Please Log in to join the conversation.
mariusl wrote: Not yet it is on the to-do list. So it never get spindle up to speed condition right?
Aye, so try changing the G-code preambles to feed-per-min and fixed-rpm mode.
Please Log in to join the conversation.
Regards
Marius
www.bluearccnc.com
Please Log in to join the conversation.
If I may suggest, what would be handy is if you put a mode select radio button on that will allow the user to chose between CSS or Feed rate mode. If Feed Rate mode is selected, the input box for CSS could be come the feed rate or there could be a separate input box for feed rate
Regards
Marius
www.bluearccnc.com
Please Log in to join the conversation.
I don mind fixing these little problems but it means that I will rewrite the routines with variable names in order for me to understand. I am not as clever as you with the numbers.
Regards
Marius
www.bluearccnc.com
Please Log in to join the conversation.
mariusl wrote: The boring routine has a bad behaviour. If you cut an ID with a taper, the retract position is calculated from the start of the taper and causes the tool to plunge into the taper and remove it on the way out. The retract should be calculated from the end diameter of the taper.
Oops!
I assume I must have fixed that in my own version, as I have cut many tapers
Please Log in to join the conversation.
