Mesa 5i25 with plain G540, no 7i77

More
23 Jan 2013 10:12 - 23 Jan 2013 10:27 #28998 by blacksmith99
Hi,

I bought the Mesa 5i25 to use with a G540. I don't really need the extra I/O just yet so no daughterboard.

When I ran PnCConf I got to the page where you identify the hardware. There is no option for the single 5i25 / G540 that I can find.

I have dug around the various web sites looking for info. I did find one recent post on the EMC Users Mail list that seemed to say that there is no option for a 5i25 running to the G540 without a daughter board.

I have had the mill working for a few weeks using the parallel port with no issues.

What am I missing? Do I need to use PnCConf to set this up?

I think I need a push in the right direction.

Thanks!

Matt
Last edit: 23 Jan 2013 10:27 by blacksmith99. Reason: corrected splelling

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

More
23 Jan 2013 10:16 #28999 by cmorley
The hardware will work fine.
PNCconf doesn't work with the firmware yet.

You don't need PNCconf to configure it - you can do it by hand.

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

More
23 Jan 2013 10:25 #29001 by blacksmith99
Chris,

Wow! Thanks for the quick reply! I see your name on a lot of pages here, thanks in advance for helping.

Ok, now the rub. I need help with the process of configuring this by hand. I am still new to this. But I can figure it out with some help.

Where do I start?

Regards,

Matt

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

More
23 Jan 2013 11:22 #29002 by PCW
freeby.mesanet.com/g540.zip
is a very rough .ini and hal file pair for a 5i25/g540
The following user(s) said Thank You: dbotos

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

More
23 Jan 2013 19:20 #29016 by blacksmith99
PCW,

Thanks for the files, I will try them tonight.

I did get the other files for the 5i25 in place. I'll put these in the same place.

Regards,

Matt

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

More
23 Jan 2013 19:24 - 23 Jan 2013 19:28 #29017 by blacksmith99
Ok, now I feel stupid.

I get a 404 Error if I click the link.

If I "Right click then save as" I get no file.

What am I doing wrong?

Thanks!

Matt
Last edit: 23 Jan 2013 19:28 by blacksmith99.

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

More
23 Jan 2013 19:40 - 24 Jan 2013 04:31 #29018 by PCW
Sorry I copied it to the wrong place, fixed now

freeby.mesanet.com/g540.zip should be re-fetched to fix the name/nane misspelling
Last edit: 24 Jan 2013 04:31 by PCW. Reason: fixed files

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

More
23 Jan 2013 20:45 - 23 Jan 2013 20:50 #29023 by blacksmith99
Hehe,

Just testing me right?

Ok, I have been reading the PnCConf documentation.

Let me start with an easy question and see if I understand a very basic relationship here.

The xml files are used to pre-load PcCConf with appropriate values that will allow choices from the spinners and pull down menus. The output from PnCConf builds the myMachine.ini file for that machine. Is this correct?

In other words, without an xml file, there are no presets available in the PnCConf drop down lists.

So, if I were to manually do the job that PnCConf does, I would go edit the Hal.ini file which is a generic term for the mymachine.ini file. This would then be the same as a Hal custom ini when I finish the editing.

I'm still trying to see the relationship between Hal and the other parts of LinuxCNC.

I have seen the relationship between StepConf and the mymachine.ini file. In my case, I chose "SX3.ini"

Since PnCConf is based on StepConf I will be able to see the relationship between PnCConf and SX3_5i25.ini.

Is that correct?

More reading is in order.

Thank you for the help so far. I'm trying to understand and I think the fog may be lifting.

Until of course, you come back and tell me I have it all wrong!

Ha!

Regards,

Matt
Last edit: 23 Jan 2013 20:50 by blacksmith99.

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

More
23 Jan 2013 21:33 #29025 by BigJohnT

So, if I were to manually do the job that PnCConf does, I would go edit the Hal.ini file which is a generic term for the mymachine.ini file. This would then be the same as a Hal custom ini when I finish the editing.

I'm still trying to see the relationship between Hal and the other parts of LinuxCNC.

Regards,

Matt


Matt,

When you start LinuxCNC you pass the .ini file which contains information about your machine and which .hal file(s) to load and in what order. The .hal files contain the "links" between physical pins and software pins and usually has some lines that set a pin state or value. In your .ini file look in the [HAL] section to see what .hal files are called and in what order. There is a special one for post gui that is loaded after the gui is loaded so pins in the gui are available to be connected to.

In any case at some point you will have to hand edit your .hal and .ini files as the wizards can only go so far. My hat is off to Chris for creating Pncconf it is a huge undertaking with a rapidly changing hardware to try and follow.

John

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

More
24 Jan 2013 08:22 - 24 Jan 2013 09:11 #29051 by blacksmith99
Hi John,

Thanks for the reply.

I agree, the wizard does a great job. I didn't mean to criticize anyone's contributions. I am simply amazed at the level of support folks like your self, Chris and PCW (Peter?) provide.

I think from here I need to go look at the different files and get a feel for how they interact.

Peter uploaded a file for me, I will try to get it put in the proper spot and see what happens.

I think a lot of beginners with LinuxCNC like myself struggle at first. The parallel port is working fine for me at the moment. I will eventually get the 5i25 working though.

It will pay off in the future. I still think LinuxCNC is superior to the other options out there if a person is willing stay with it and get past the initial learning curve.

I'll go try some things and see what questions that generates.

Thanks,

Matt
Last edit: 24 Jan 2013 09:11 by blacksmith99. Reason: name correction

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

Moderators: PCWjmelson
Time to create page: 0.286 seconds
Powered by Kunena Forum