| CncPlayer www.CncPlayer.com |
|
| Home | Help | Down |
Fo |
Shop | Mem |
Im |
| Cnc Software CncPlayer |
Coil and Helix by cnc command G14 / G15Coil function G14 = CW and G15 = CCWThis is a helical coil programmed with the CncPlayer's G14/G15 function
In the 2D view above we don't know much how the coil actually is. The next image shows the same coil but spinning. I removed the ruler, title bar and frame from the image because otherwise the animated *.gif file would have been 350 kb in size. The image shows the window's client area only. This is an animated *.gif image of 157.041 byte You get the same spinning view in your CncPlayer when you switch to 3D rotation and when you use the cursor keys to rotate the object. The rotation in the *.gif image is just around the Y axis but the CncPlayer lets you rotate around all 3 axes (XYZ). Of course the CncPlayer lets you 3D mill the coil. The images provided herein are just to illustrate the coil thing a little bit. Here is the CNC code that creates the two coils
The second coil is the same as the first coil though the Pitch parameter P is inverted (+ / -). The coil parameter:
Some programs only allow full 360° turns but the CncPlayer also gives you control over the angel of the start- and endpoint of the coil. Coil, Helix, fractions of it ... much can be done with G14/G15.
This is a simple ccw (counter clockwise) helix created with the CncPlayer's G15 function, displayed in 3D. The helix got 5 x 360° turns (= T5.0), Pitch is 30 mm (= P30.0), Width is 0.0 (= W0.0) which makes it a helix but not a coil. Here is the CNC code that creates the helix
A little tutorial about G14 / G15 programmingLet's start to mill a simple circle. No, not by G02/G03 but by G14/G15. Yes, you can do that. The circle will start where the current tool position is. Imagine the tool is at 0/0/0. That means the circle starts at 0/0/0. Now we define the center by the I J values (I = X position, J = Y position). Say I 50 J 0 (that's the same I J you know from the G02/G03 circle programming). Since we want a single, full 360° turn we say T1.0. So we get G14 I50 J0 T1.0 This mills a full 360° cw circle. Easy, isn't it? Well, since the CncPlayer's expects 5 values (I, J, T, P, W) we actually write G14 I50 J0 T1.0 P0 W0 to avoid an error message. Now we change T1.0 to T4.0 to get 4 x 360° circle. That means we are milling the same circle 4 times. Pretty boring. So let's increase the Pitch P value to stretch our circle a little bit in Z direction with P-2.5. That means for each circle our Z axis moves down -2.5 mm. G14 I50 J0 T4.0 P-2.5 W0 (Question to myself: Shall I rename the P value to Z value since Z is more obvious???) 4 x -2.5 mm = -10.0 mm. That means when your 4 circles have finished the Z axis moved down 10.0 mm total. In other words: The P value lets you stretch the loops in Z direction. Well, we have created a helix, similar as shown in Img. 3 above. So what's about the W value (W = width)? Well, W lets you stretch the circle in XY direction. Have a look to Img. 1 above. There is W10 and that means each circle gets 10.0 mm bigger than the previous one. Well, it's just 5 values (I, J, T, P, W) but lets you do a lot of nice "loopings". You want to mill a 300 mm hole in a 10 mm aluminum plate? Use, for instance, a G14 helix. |
| Wednesday, 2008.08.20 - 18:27:16 |
|
|||||||
|