![]() | |
| 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
| |||
| |||
Hi all, I trying to set up my new off the shelf Sherline CNC from it's XYZA configuration to an XYAB configuration. The mill came with the standard sherline CD with Linux, EMC, the Mini GUI, and it runs fine as an XYZA machine. I've tried to change the INI file from: X 0 linear Y 1 linear Z 2 linear A 3 rotary to: X 0 linear Y 1 linear A 2 rotary B 3 rotary The system doesn't start when I've made changes to the INI -- the popup pops up, then goes away without the Mini GUI opening. It seems like something doesn't like the changes I've made. Do I have to mess with the HAL? Is it correct to map XYAB to 0123, or do I have to map XYAB to 0134, and mess with HAL settings? Anyone have suggestions/solutions? I hope someone out there makes lots of axis configuration changes and knows exactly what to do . . . . . |
|
#2
| |||
| |||
OK, there are a couple things you need to do. The "missing" axes don't quite go away when you don't use them. So, to include the B axis, you need to tell EMC that it has 5 axes. The default axes then would be XYZAB. You are going to "skip" the Z axis. So, your TRAJ section would start like this : [TRAJ] AXES = 5 COORDINATES = X Y A B HOME = 0 0 0 0 LINEAR_UNITS = inch ANGULAR_UNITS = degree You will also need to work on the section that maps the HAL pins to the specific motion driver to route the right axis signals for axes 0,1,3 and 4 to your first 4 motion output channels. Jon Last edited by jmelson; 12-28-2008 at 09:26 PM. Reason: garbled |
|
#3
| |||
| |||
| I really should learn how to read! http://cvs.linuxcnc.org/cvs/emc2/configs/Sherline4Axis/ Should get you what you need. ![]() sam |
|
#4
| |||
| |||
Jon |
|
#5
| |||
| |||
| "...The OP didn't make clear what he was doing with the XY AB..." I've got a 2000 Sherline with X and Y doing their normal table duties, A will be driving a rotary table flat on the table, and B will be driving a rotary table mounted on the A table. The most complicated thing I'll be doing is: G2 Xxxx Yyyy Iiii Jjjj Aaaa Bbbb My understanding is that G-code should coordinate the velocities of the A and B axes so their motions end when the G2/G3 motion ends. btw: I'm cutting bevel gears with a flycutter. The spindle is positioned parallel to the X axis. The B table is on an angle table on the A table. This setup emulates a crown rack generating involute profile teeth. Thanks, --Justin |
| Sponsored Links |
|
#7
| |||
| |||
| No apologies! I'm currently using the Sherline distribution, which appears to be pre-HAL. So, I'll have to put things together from the standard distribution. The information you referenced will give me a good baseline. Thanks. |
|
#8
| |||
| |||
| Jon |
|
#9
| |||
| |||
I've upgraded to EMC2 and got it working with my Sherline mill using the standard XYZA configuration. I used the stepper configuration wizard. Everything seems fine. (I've been working with the Sherline Stepper Driver's developer on the correct stepper timings and will report specifics soon.) Now, when I edit the .ini and .hal, to to change over to the XYAB configuration with two rotary tables, which is the whole point of this exercise, the Axis GUI window never comes up, and the loader exits. I've attached the terminal screen contents, and the .ini and .hal files. Anyone see what I did wrong ? I've marked my editings of the wizard generated files with a streak of asterisks. Thanks, --Justin |
|
#10
| |||
| |||
| I would get on IRC if this doesn't help.. http://www.linuxcnc.org/component/op...emid,8/lang,en |
| Sponsored Links |
|
#11
| |||
| |||
I have the X, Y, A, B Axes mapping to the 0, 1, 3, 4 axis data structures, and the 0, 1, 3, 4 axis data structures mapping to the 0, 1, 2, 3 stepgen data structures. I can jog XYAB now. So simple my dead cat could have done it. Now I'll get to work on the stepper timing parameters for the Sherline Stepper Driver . . . Thanks people. |
|
#12
| |||
| |||
| Chris M |
![]() |
| Tags |
| axis, emc, hal, ini, sherline |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- Pin Setup | mjhooo8 | LinuxCNC (formerly EMC2) | 2 | 09-22-2008 02:28 PM |
| New Machine Build- Need help with setup | LaserImage | Stepper Motors and Drives | 25 | 07-18-2008 01:25 PM |
| CNC setup | mwood3 | Benchtop Machines | 33 | 06-19-2008 07:22 AM |
| DNC Setup | phoodieman | General CNC (Mill and Lathe) Control Software (NC) | 6 | 12-18-2006 05:55 PM |