Lathe with Mesa 5i25 and G540

More
7 years 11 months ago #121575 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!

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #121585 by tommylight
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.
The following user(s) said Thank You: micahvestal

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #121668 by robforbes
I have a Mesa 5i25 and Gecko G540 controlling a lathe...let me know if you would like a copy of my config.

Rob
The following user(s) said Thank You: micahvestal

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #121682 by micahvestal
Thanks Rob, that would be great!

tommylight, I really appreciate the link! I will check that out as well.

Micah

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #121683 by micahvestal
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 or Create an account to join the conversation.

More
7 years 11 months ago #121687 by robforbes
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.296 seconds
Powered by Kunena Forum