![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Just found: G33 (lathe threading) support had recently been added to EMC2, rigid tapping might follow later: wiki.linuxcnc.org: Spindle Synchronized Motion Regards, Fritz |
|
#4
| ||||
| ||||
| Thanks Alan, was EMC trying to sync at every encoder puls (which would seem like an enormous calculation overhead) or were they just using the one/rev indexing puls that encoders also deliver?
__________________ Regards, Mark www.wrathall.com |
|
#5
| ||||
| ||||
| Mark, Chris Cradek wrote: {Hi all, I got a spindle encoder working on my mini mill, so I now have the crappiest sideways CNC lathe ever. However I was able to cut a thread using many very light passes moving in at 29 degrees. The exit and entry cuts were at 45 degrees to Z and lined up beautifully. Since I can't use a tailstock and I used a small rod, you can see that there was bad vibration in the cut, and I didn't turn it true before starting, but nevertheless the multiple passes (dozens of them) lined up and made a thread: http://timeguy.com/cradek-files/emc/thread.jpg } I went back and read the thread. I believe that he was using a full quadrature encoder that had an index pulse. I haven't yet seen the actual GCode that he was running. Alan |
| Sponsored Links |
|
#6
| ||||
| ||||
| Hi Alan, I have been using TurboCNC which only syncs to a one per rev indexing pulse. My machine is wimpy little 7x12 lathe but the thread I have cut with it have been fine from 12x0.5 (micrometer) to a .936 x 16 tpi internal thread to hold a Roton ball screw nut. The use of one per rev works. Actually if you are set up for one per rev, you could easily double the resolution to two per rev by using a 180 degree target and syncing off both the rising and falling signal. The down side of 1/rev syncing is that you really need a 3 thread length lead in to get sync'ed before entering the work, and the change in load will mean that the first thread will theoretically be the least accurate. I have downloaded Ubuntu Linux and will be trying a EMC2 load on a laptop. Mark
__________________ Regards, Mark www.wrathall.com |
|
#8
| |||
| |||
then you need to setup some HAL in EMC so that the pulse is handled correctly in EMC. |
|
#10
| |||
| |||
its already setup on a spare port i have been testing threading with turbocnc but editing hal is something i have not done which file do i need to edit and what parameters do i need to change or add my setup is running steppers and a single pulse per revolution from the spindle encoder cheers harty |
| Sponsored Links |
|
#11
| |||
| |||
The HAL file you are using is usually in the same directory as your INI file. If you are using the standard stepper_inch.ini then the HAL file is probably standard_pinout.hal the wiki has more information: http://wiki.linuxcnc.org specifically, the config the guy who is developing this uses is at: http://cvs.linuxcnc.org/cgi-bin/cvsw...2/configs/max/ if you look in max.hal you should get an idea of what is required. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |