NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Using LinuxCNC G Code Threadmilling problem

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Threadmilling problem

Threadmilling problem 07 Lug 2012 12:12 #21681

  • 109jb
  • 109jb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
I was working on a part that I needed to do a bit of threadmilling on and I ran into a problem. First, here is the entire code I was trying to run. X0, Y0 are the center of the already bored hole (0.875" diameter).

G90
G0 X0 Y0 Z0.1
F10
G1 Z0
G1 X-.282
G2 X-.282 Y0 P10 Z-0.625 I.282 J0
G1 X0
G53 G0 Z0
G53 X0 Y0
M02

But this code gives me an error. It says the P-word can't be used with G2, but the manual I have says that is how to do it.

I was able to get the job done by putting the machine in incremental mode just before the G2 line and using a loop (10X) with a line as follows:

G2 Z-.0625 I0.282

I then put it back into absolute mode and finished the program.

What am I doing wrong with the muti-turn helix? I am using LinuxCNC version 2.4.6.

Thanks,

John B.
The administrator has disabled public write access.

Re:Threadmilling problem 07 Lug 2012 15:10 #21682

  • Rick G
  • Rick G's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1074
  • Thank you received: 16
  • Karma: 80
For what it is worth it works for me on 2.6
You may want to try it after upgrading to 2.5.

Rick G
The administrator has disabled public write access.

Re:Threadmilling problem 07 Lug 2012 17:06 #21686

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4146
  • Thank you received: 141
  • Karma: 130
109jb wrote:
What am I doing wrong with the muti-turn helix? I am using LinuxCNC version 2.4.6.
Multi-turn arcs were a new feature in linuxCNC version 2.5.

2.4 docs: www.linuxcnc.org/docs/2.4/html/gcode_main.html#sub:G2,-G3:-Arc

2.5 docs: www.linuxcnc.org/docs/2.5/html/gcode/gcode.html#sec:G2-G3-Arc

I strongly urge upgrading LinuxCNC (You don't need to update Ubuntu or anything else)
The only hassle is that the emc folder becomes linuxcnc, and you will need to change the paths to files in the INI file because of this.

wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
The administrator has disabled public write access.

Re:Threadmilling problem 07 Lug 2012 23:50 #21688

  • 109jb
  • 109jb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Thank you. I will upgrade to 2.5. Should have known it was something simple.
The administrator has disabled public write access.

Re:Threadmilling problem 08 Lug 2012 07:36 #21692

  • ArcEye
  • ArcEye's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1341
  • Thank you received: 104
  • Karma: 130
The only hassle is that the emc folder becomes linuxcnc, and you will need to change the paths to files in the INI file because of this.
All I did was create a symlink to ~/emc2 called ~/linuxcnc and thereafter ignored it.
No need for editing etc. just carry on using the same stuff as before

regards
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 1.338 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.