Need Help with G-code for Filament Winding

More
19 Aug 2019 15:19 - 19 Aug 2019 15:22 #142495 by joekline9
You could use an X axis and an A rotary axis.
This may be easier than a spindle and using G33.
You can use G code below as a start.

%
(Helical Wrap.ngc using A axis 8/19/2019 Joe Kline)
G92.1 (* Clear saved offsets)
G0 G20 G90 G90.1
G64 P.010 (TP setting)
G54
G0 X0
G0 A0
M1 (wait to attach filament etc)
F720.0
G1 A420 (Start)
G1 X10.0 A1440 (Helical move)
G1 A1880 (Final wrap)
m2 (end prog)
%
Last edit: 19 Aug 2019 15:22 by joekline9. Reason: add details
The following user(s) said Thank You: SinfulDarkLord

Please Log in or Create an account to join the conversation.

More
24 Aug 2019 01:47 #143026 by SinfulDarkLord
Joekline,

Thank you for sharing a simple write up. However, being a total noob at what each gcode does and how it does it. I am lost in the dark. I have no idea what the G64 P0.010 command is. Can you further explain it please.

Please Log in or Create an account to join the conversation.

More
24 Aug 2019 08:00 #143064 by pl7i92
G64 is the position accuracy at linuxcnc
it is used for a smooth flow alowing a corner distance to start the next move
a G61 will always stop at the word end not wanted at filament at all
so it gives the controll a bit of space at the preread to get the joints moving ahead
The following user(s) said Thank You: SinfulDarkLord

Please Log in or Create an account to join the conversation.

More
24 Aug 2019 09:22 #143073 by tommylight
G64 is the path tolerance, or how much can the machine weer off the actual gcode path, so G64 P0.1 Q0.1 will allow the machine to move 0.1 mm ( or inch ) from the actual position in gcode, most noticeably in the corners on fast machines.
The following user(s) said Thank You: SinfulDarkLord

Please Log in or Create an account to join the conversation.

More
24 Aug 2019 15:15 #143098 by SinfulDarkLord
Let me see if I understood this correctly. Pretty much the G64 command with a P0.1mm will offset from the referenced home which is A0 by 0.1mm? Also I am assuming that instead of 0.1mm, I input the width of the filament correct?

Is the Q value necessary?

Please Log in or Create an account to join the conversation.

More
24 Aug 2019 18:29 #143105 by tommylight
Not offset, alow to drift from, or maximum alowed tolerance.
Usually you notice that in the corners and sharp edges when the acceleration and the velocity are to high for it to follow the exact path, so it will slow down to be able to folow that path within the 0.1mm or whatever the P and Q are set.
I do not recal what Q does, but i always use both values set at the same number. It's been too long since i read that.
You can check that in the gcode quick reference as it is installed with Linuxcnc and can be found under the cnc menu.
The following user(s) said Thank You: SinfulDarkLord

Please Log in or Create an account to join the conversation.

More
28 Aug 2019 20:41 #143476 by andypugh
G-code quick reverence link.

linuxcnc.org/docs/2.7/html/gcode.html

For your application you probably only really need G0 and G1.
Though G38 is a possibility I doubt that you would run the rotary as a spindle.
The following user(s) said Thank You: SinfulDarkLord

Please Log in or Create an account to join the conversation.

More
01 Sep 2019 18:33 #143797 by SinfulDarkLord
Is there any way I can have it work with Radial degrees and have it look for the targeted position? I am still lost as to how this will work.

This is an example G-code from the X-winder
G90
S40 (spindle speed or mandrel rotation)
M601 (save far end reference point)
M602 (save home end reference point)
G1 Z68 F3.5 (move carriage to 68 inches at 3.5 in/s)
G4 L601 C0 ( carriage waits until radial position is found)
G1 Z4 F3.5 (move carriage to 4 inches at 3.5/s)
G4 L602 C6.25 (carriage waits until radial position is found.

If there is a way to mimic this G-code on Linuxcnc? that would make things easier for me.

Thank you

Please Log in or Create an account to join the conversation.

More
02 Sep 2019 21:02 #143949 by andypugh
What does G4 do in that version of G-code?

You can, of course, work in degrees.

I don't actually understand what you are really asking.

Please Log in or Create an account to join the conversation.

More
03 Sep 2019 04:52 #144025 by SinfulDarkLord

What does G4 do in that version of G-code?

You can, of course, work in degrees.

I don't actually understand what you are really asking.


The G4 command tells all other axises other than the spindle or rotary axis, to come to a halt and wait until the parameters are met.

The software is getting back positional feedback and it looks for the radial degrees that it needs to find in order to place the filament next to the other.

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds
Powered by Kunena Forum