Re: Need help with Filament Winding Formula Calculations
Just to simplify this a bit. The basic flow of the G code is much like a CNC lathe threading cycle where the ''thread lead'' is calculated as TPI = 1 / ((1 / F) * S).
[BEGIN LAYER 1 of 1 --------- (Mandrel Shift Method) ----------------- ]
M4 S29.6 [Mandrel CW Rotation]
(set spindle speed to 29.6 RPM and start rotation)
M602 [Save the Mandrel Home End Reference Angle at Start of First Pass to Register L602]
(Save current spindle location to register L602, this becomes the zero point for the move)
G1 F1.55 Z68.00 [Carriage Move to Z=68.00]
(feed carriage at 1.55 IPM to Z=68 inches, the S29.6 and F1.55 gives ratio required for the proper lead to lay down the fiber)
G4 C360 [Add Extra 360 deg.]
(wait for one spindle rotation)
(I have never seen a G4 [dwell] used like this before, normally a dwell is seconds or milliseconds using a P parameter, this is a special case)
M601 [Save Mandrel Ref Angle]
(set a new spindle zero point, I think)
G1 F1.55 Z4.00 [Carriage Move to Z=4.00]
(move carriage back to start point)
G4 L602 C40.00 [Carriage Dwell Home End]
(wait for spindle to rotate 40°, add that value to L602 to create a new spindle zero?)
Over all this should run very smoothly and give you exactly what you want. I think the real problem is in the computer and it's delayed in getting the feedback from the controller. Again this is probably due to the computer doing something besides running the system.
From G code I'm not sure how you could tell the spindle to operate in units other than rotational angle since it is a rotary axis.
Jim Dawson
Sandy, Oregon, USA