A-axis filament winder code help

Post anything you want to discuss with others about the software.

A-axis filament winder code help

Postby v8manic » Sat Jul 13, 2024 12:01 pm

Hi All

I'm new to the world of CAM and trying very hard to learn what I need for the the Filament Winder I'm trying build for carbon tube manufacturing for my own use.
What I'm having issues is working out to reset the co-ordinates for the Rotation A-axis as zero without rewinding but reset the x-axis physically back to the zero stop.
At present my code is making the a-axis rewind every rotation it has done back to zero while the x-axis slowly moves back to zero at the same time.

This is my very basic code that I have written so far. My Co-ordinates and so forth I have created an excel spreedsheet to calculate rotaions required to fully cover tube size for a set angle.

O0001 (Ross 780 Boom)
G92 A0
G28 G91 X0
G91G50 G69
N1 M98 P0002 L57
N2 M98 P0003 L66
N3 G28
N4 M30

O0002 (Layer 1)
N7 G01 X4200 A1060.79314 F48000
N8 G01 X0 2 A276.2321874 F400
N9 G01 X-4200 A1060.79314 F48000
N10 G01 X0 A276.2321874 F400
N11 M99

O0003 (Layer2)
N14 G01 X4200 A6016.056849 F24000
N15 G01 X0 A275.4383852 F400
N16 G01 X-4200 A6016.056849 F24000
N17 G01 X0 A275.4383852 F400
N18 M99

If anyone can help with my A-axis issue it would be greatly appreciated.
I'd prefer to learn not just be given the answer if that makes sense, but i'm out of spots to looks for what I'm trying to do.

Thank You
Wade
v8manic
 
Posts: 2
Joined: Tue May 07, 2024 8:28 am

Re: A-axis filament winder code help

Postby v8manic » Mon Jul 15, 2024 2:26 pm

Hi All

Well I've workecd out I need to write a macro, I believe?
Any ideas on where I could look to get some ideas on what I need to write into one?

Thank You
Wade
v8manic
 
Posts: 2
Joined: Tue May 07, 2024 8:28 am


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: Google [Bot] and 14 guests