- Posts: 10
- Thank you received: 0
Lathe with Mesa 5i25 and G540
- micahvestal
- Topic Author
- Offline
- New Member
-
Less
More
7 years 11 months ago #121575
by micahvestal
Lathe with Mesa 5i25 and G540 was created by micahvestal
I've done some searching and I'm still a little bit lost.
I am building a lathe with a Mesa 5i25 and a Gecko G540. I know that this particular configuration is not available in PnCCONF Wizard, but I'm curious if one of the available options is a good starting point? I don't mind doing the research and editing to add functionality. I am just hoping that doesn't mean that I have to write an INI and HAL file completely from scratch, because I think that would be a really steep learning curve.
I have already flashed firmware onto the 5i25 and I've looked at a some HAL and INI files that other members have posted here (unfortunately people usually only post their files when something is wrong with them). I appreciate any help I can get!
I am building a lathe with a Mesa 5i25 and a Gecko G540. I know that this particular configuration is not available in PnCCONF Wizard, but I'm curious if one of the available options is a good starting point? I don't mind doing the research and editing to add functionality. I am just hoping that doesn't mean that I have to write an INI and HAL file completely from scratch, because I think that would be a really steep learning curve.
I have already flashed firmware onto the 5i25 and I've looked at a some HAL and INI files that other members have posted here (unfortunately people usually only post their files when something is wrong with them). I appreciate any help I can get!
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 11 months ago #121585
by tommylight
Replied by tommylight on topic Lathe with Mesa 5i25 and G540
forum.linuxcnc.org/39-pncconf/32400-mesa-7i92m-support?start=60
That is for 7i92, but it is the same as 5i25 concerning the hal and ini files.
Here is a working config with charge pump, uses inches and you have to edit the scale and some other things to suit your machine.
That is for 7i92, but it is the same as 5i25 concerning the hal and ini files.
Here is a working config with charge pump, uses inches and you have to edit the scale and some other things to suit your machine.
Please Log in to join the conversation.
7 years 10 months ago #121668
by robforbes
Replied by robforbes on topic Lathe with Mesa 5i25 and G540
I have a Mesa 5i25 and Gecko G540 controlling a lathe...let me know if you would like a copy of my config.
Rob
Rob
Please Log in to join the conversation.
- micahvestal
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
7 years 10 months ago #121682
by micahvestal
Replied by micahvestal on topic Lathe with Mesa 5i25 and G540
Thanks Rob, that would be great!
tommylight, I really appreciate the link! I will check that out as well.
Micah
tommylight, I really appreciate the link! I will check that out as well.
Micah
Please Log in to join the conversation.
- micahvestal
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
7 years 10 months ago #121683
by micahvestal
Replied by micahvestal on topic Lathe with Mesa 5i25 and G540
I just updated LinuxCNC and the option for a 5i25 and G540 is now available in PcncConf. I am going to try to get a baseline configuration using PcncConf. I think that will help me wrap my mind around how the HAL and INI files actually work.
Please Log in to join the conversation.
7 years 10 months ago #121687
by robforbes
Replied by robforbes on topic Lathe with Mesa 5i25 and G540
My .hal file is attached. I was following a procedure with files that were posted online (maybe the same ones as the link above) and my notes say I ran into three small snags with that:
1) needed to delete "watchdog" lines from hal (else error occured)
2) corrected typo: change control_type to control-type
3) commented out "enable charge pump" line in hal as it was causing a "pin doesn't exist" error
Rob
1) needed to delete "watchdog" lines from hal (else error occured)
2) corrected typo: change control_type to control-type
3) commented out "enable charge pump" line in hal as it was causing a "pin doesn't exist" error
Rob
Please Log in to join the conversation.
- micahvestal
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
7 years 10 months ago #122157
by micahvestal
Replied by micahvestal on topic Lathe with Mesa 5i25 and G540
I am poking around the attached HAL and INI files. The G540 generates holding power for both axes but the X axis does not move. Z axis moves as expected.
I tried moving the X axis stepper to the Y axis plug on the G540 and the Y axis worked just fine.
Am I missing something super obvious here? I'm a complete noob, so I won't be surprised if it's an easy fix.
I tried moving the X axis stepper to the Y axis plug on the G540 and the Y axis worked just fine.
Am I missing something super obvious here? I'm a complete noob, so I won't be surprised if it's an easy fix.
Please Log in to join the conversation.
7 years 10 months ago #122159
by PCW
Replied by PCW on topic Lathe with Mesa 5i25 and G540
I would first try setting the steplength on all channels to 2500 ns
Please Log in to join the conversation.
7 years 10 months ago #122161
by PCW
Replied by PCW on topic Lathe with Mesa 5i25 and G540
Plus uncomment all the x axis connections they are all commented out in your hal file
Please Log in to join the conversation.
- micahvestal
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
7 years 10 months ago #122162
by micahvestal
Replied by micahvestal on topic Lathe with Mesa 5i25 and G540
Okay, cool. I have changed all axes to STEPLEN=2500. X Axis still doesn't move though.
Please Log in to join the conversation.
Time to create page: 0.096 seconds
