Repeat cycle
Let's suppose that my g code generates an square of 5x5".
If a don't want to repeat my g code or edit, to do the same square in another part of my work table.
How can I define the new point?
I was reading the chapter of repeat cycle, but isn't so clear.
Thanks
Please Log in or Create an account to join the conversation.
www.linuxcnc.org/docview/html/common_User_Concepts.html#r1_5
www.linuxcnc.org/docview/html/gcode_coor...ha:Coordinate-System
John
Please Log in or Create an account to join the conversation.
I have, for example, a set of incrementally-coded subs for cutting holes for various connectors.
www.linuxcnc.org/docview/html/gcode_main.html#sub:G90,-G91:-Set
Which is most appropriate depends on the nature of what you are doing.
Please Log in or Create an account to join the conversation.
You can also complete the first box, then move to the next position you want to make the part and use G92 to set that location as the start point.
I start most of my work from CAD so I have a tendency just to draw all the parts where I want them and then convert to Gcode.
Rick G
Please Log in or Create an account to join the conversation.
You can also complete the first box, then move to the next position you want to make the part and use G92 to set that location as the start point.
That could be very useful for a machine with roll-feed stock where the X is the stock feed. (Think roll-feed plotter). This way of working would let you step endlessly down the roll.
I wonder if there are any hard limits on axis length?
For completeness, G10 L20 allows you to redefine the current coordinate system, rather like a cross between JT's suggestion and RickG's.
www.linuxcnc.org/docview/html/gcode_main.html#sec:G10-L20
Please Log in or Create an account to join the conversation.
I'm a little bit confusing about G54 and G55, I must read some more.
After solve that problem, I tried to add cutter radius compensation and I did it, but there's a mistake.
I f you can see my picture, I have a triangle arragement and after apply G41 or G42, one of the corners of all of them always get open. Days ago I did something similar, but without redefine coordinate system or do some Offset and had no problema so I thought this could be part of the problem or am I wrong?
Mathematically the program is correct that’s why I’m so confused.
Thanks in advanced
Please Log in or Create an account to join the conversation.
- M4MazakUser
- Offline
- Elite Member
- Posts: 187
- Thank you received: 5
by the way, usually radius compensation issues are to do with where your start and end points are, tis usually good practice to extend the toolpath before and beyond the finished shape you need to allow the tool to move into correct position when rad comp is turned on, and finish the shape u are after when it is turned off.
Please Log in or Create an account to join the conversation.
Please read:
www.linuxcnc.org/docview/html/gcode_tool...-Radius-Compensation
John
Please Log in or Create an account to join the conversation.
I'm a little bit confusing about G54 and G55, I must read some more.
Try linuxcnc.org/docs/html/gcode_coordinates.html
Please Log in or Create an account to join the conversation.
"G41 start cutter radius compensation to the left of the programmed line as viewed from the positive end of the axis perpendicular to the plane.
G42 start cutter radius compensation to the right of the programmed line as viewed from the positive end of the axis perpendicular to the plane.
The lead in move must be at least as long as the tool radius and can be a rapid move."
Rick G
Please Log in or Create an account to join the conversation.