- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Help with new EMC2 config and 3 axis router.
Help with new EMC2 config and 3 axis router.
- NeilR
- Offline
- New Member
- Posts: 17
- Thank you received: 0
I have Ubuntu 8.04 and the latest EMC2 build. All installed no problem.
I have almost no experience with Linux but keen to learn and have lots of windoz /IT experience.
I have a 3 axis gantry router (joe 4 x 4) with a 4th axis connected to A via the driver board which needs to be slaved to the Y axis.
I have Roton Hi Lead Screws 1/2" x .5 2TPI for X and Y axis and 1/2" x .250 4 TPI for Z axis.
I have the HobbyCNC Pro driver board with 4 x 305oz steppers. Details of this package I purchased can be found on the hobbycnc website if you need some more background (www.hobbycnc.com).
I have had a quick look at Mach3 and it worked well off the shelf but in an effort to support the Open Source project I would like to see EMC2 workiing. It will also save me some money.
I have started the stepper config but I am at a loss as to what info should be put in the fields. I have played with all the settings but to be honest, Im flying blind and have not had success.
If someone has already configured their setup with the same hardware I have I would REALLY appreciate it if the config files could be shared or at least itemise what I need to do to get this running asap.
Any info on the best interface would also help.
You will in fact be helping a group of people by solving this issue for me.
A big THANK YOU in advance for your assistance.
Regards
Neil
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7106
- Thank you received: 1177
The basic things you need to find out is:
The timing requirements for your driver board. Hint, look here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Stepper_Drive_Timing
How many turns for one unit of movement for each axis.
If you have two steppers on the Y axis for example you need to change the A step and direction to Y.
Then you need to have everything wired up properly.
At this point you should be able to test each axis provided you don't have a charge pump requirement on the driver board.
John
Please Log in or Create an account to join the conversation.
- NeilR
- Offline
- New Member
- Posts: 17
- Thank you received: 0
Neil
Please Log in or Create an account to join the conversation.
- NeilR
- Offline
- New Member
- Posts: 17
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7106
- Thank you received: 1177
Did you follow the steps outlined in the manual for finding your accleration and velocity?
www.linuxcnc.org/docview/html//config_stepconf.html#r1_5_1
By one step every few seconds do you mean that it will continue to step but very slowly?
Use pastebin.ca and paste up your configuration file the one that ends in .stepconf.
John
Please Log in or Create an account to join the conversation.
- NeilR
- Offline
- New Member
- Posts: 17
- Thank you received: 0
Yes, I did follow the instructions for the velocity and accel. Yes, 1 step every few secons. If I move the accel settings into the thousands, then I get much faster steps, maybe 2 per sec. But definitely no motor startup, which is what I would have expected.
Thanks for your assistance John.
Pastebin url
pastebin.ca/1562578
Please Log in or Create an account to join the conversation.
- BMG
- Offline
- Junior Member
- Posts: 32
- Thank you received: 1
Hi everyone. Im told this is THE place to find assistance with EMC2. I hope someone can help me.
you can blame me for that advice.... I would have visited this sooner but was traveling and only checking my email accounts.
I started out with similar experience. I found myself relying on my old knowledge of DOS and Unix to get me started. What motherboard are you running on? DId you do a latency test? Is the computer a lappie or a desktop unit?I have Ubuntu 8.04 and the latest EMC2 build. All installed no problem.
I have almost no experience with Linux but keen to learn and have lots of windoz /IT experience.
You have me baffled here. Why would you slave the A Axis to the Y axis? THe 4 axis board can be run independently. THe only reason to slave the 4th axis would be to drive a second Y drive motor. Is this the case?I have a 3 axis gantry router (joe 4 x 4) with a 4th axis connected to A via the driver board which needs to be slaved to the Y axis.
Several here have the HCNC board and have found the hardware settings by trial and error. Kim Mortensen in particular is responsible for this work.I have Roton Hi Lead Screws 1/2" x .5 2TPI for X and Y axis and 1/2" x .250 4 TPI for Z axis.
I have the HobbyCNC Pro driver board with 4 x 305oz steppers. Details of this package I purchased can be found on the hobbycnc website if you need some more background (www.hobbycnc.com).
Noble cause. However if time is money and you need to cut things, this is the less economical method. For me its both educational (learn machining and linux) and a hobby.I have had a quick look at Mach3 and it worked well off the shelf but in an effort to support the Open Source project I would like to see EMC2 workiing. It will also save me some money.
Take a look at wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Stepper_Drive_Timing for the Hobbycnc driver settings. I believe the developers put in a Hobbycnc pin setting on one of the first pages of the stepconf wizard. I recall not having the pinouts to the parrallel port configured correctly and the motor appeared jittery and barely moved. Inverted step and direction settings and viola..... Again, I believe there is a default setting for the hobbycnc board built into stepconf.I have started the stepper config but I am at a loss as to what info should be put in the fields. I have played with all the settings but to be honest, Im flying blind and have not had success.
If someone has already configured their setup with the same hardware I have I would REALLY appreciate it if the config files could be shared or at least itemise what I need to do to get this running asap.
Before dealing with the 4th axis, try getting just the X and Z axes set up. Once you have those working, we can tackle the last seemingly more confusing part.
Axis for the young at heart. it makes the most sense to me as a novice.Any info on the best interface would also help.
You will in fact be helping a group of people by solving this issue for me.
A big THANK YOU in advance for your assistance.
Regards
Neil
Glad to help, hopefully you are successful in getting this up quickly. Don't forget to check in to the IRC channel while setting up yourconfigs especially if you can be on the same computer at the same time. Lots of great helpers usually lurking in the shadows.
Brian
Please Log in or Create an account to join the conversation.
- NeilR
- Offline
- New Member
- Posts: 17
- Thank you received: 0
If you look in my other messages you will see the issue is about timing/settings of the velocity and acceleration.
Yes, time is money and if I dont get any joy soon I will forget about EMC2 as many others have done.
Yes, my old DOS experience definitely comes in handy and im quite impressed with how linux has travelled in the last few years since I last looked at it.
The stepconf wizard does have predefined settings for the HCNC board which was good. And yes I have read the manuals.
I was a little ambiguous in my first message regarding "what do all the settings do". Didnt really do myself any justice at all as I had read and understood the manuals.
Its that damn vel/acc setting or another setting affecting it thats the issue.
Thanks again Brian.
Neil
Please Log in or Create an account to join the conversation.
- NeilR
- Offline
- New Member
- Posts: 17
- Thank you received: 0
I have some issues with the Z axis home and table travel settings. Its working, im just not sure if its correct.
I put 0.0 for home, and table travel is -12.5 to 100. (millimetres). That says to me I have a total range of movement of 112.5mm. When I jog, I am able to go 120mm on the high side of 0.0 and 112.5 on the low or depth side. That seems way to big to me considering my Z axis doesnt even have that much range (linear drive is not connected yet so nothing broke!). IT seems to work though and the default axis logo gcode runs OK.
Neil
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7106
- Thank you received: 1177
John
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- StepConf Wizard
- Help with new EMC2 config and 3 axis router.