Gecko 540 + Mesa 5i25 configuration.

More
21 Oct 2024 12:46 #312742 by marto112
I am trying to setup my router with a 5i25 card I inherited. I have a previously working config from a parport setup with the gecko and have been working to port it over. The 5i25 is running the g540x2 firmware and I have most of the motion setup.

I am still missing a few things. Biggest one is homing as its a dual motor gantry this is kind of critical to make sure machine is square.

I have setup the correct pins and have confirmed the status changes through the GUI but when I press home nothing happens. I am sure I am missing something but can't see it.

Any suggestions or ideas would be appreciated.

Files attached XYZCNC is new config for MESA. Gecko is old for parport.

Steve
Attachments:

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

More
21 Oct 2024 16:05 #312767 by tommylight
Mesa config does not have home/limit switches set up, just some stuff copied and edited from the prallel port config, so that will not work.
Use the PncConf wizard to make a new config, add home/limit switches there, it will set stuff up properly in most cases, even for a single input multi switch homing.

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

More
21 Oct 2024 20:17 - 21 Oct 2024 20:57 #312785 by marto112
I'm not sure how this can be done with the PncConf, it was what I tried first. The extended behavior of the pins in the wizard is set to Quad A/B these can't be selected as inputs for limit switches as far as I can tell. The g540x2 firmware is closest to what I need without having to do a custom version.

I mapped the inputs from the card manually to the same nets same as the parport config and confirmed they are activated by the switches.
net home-a <= [HMOT](CARD0).gpio.014.in_not
net home-x-y-z <= [HMOT](CARD0).gpio.013.in_not

and pass these through to what was generated by the PncConf but not sure where to go from here.

Even if I had the HAL setup incorrectly I expected it to try to move when I clicked home (I also tried individual axis too.)
Last edit: 21 Oct 2024 20:57 by marto112.

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

More
21 Oct 2024 21:00 #312795 by tommylight
On the Mesa configuration page in PncConf, set the encoder number to 0, then it will show input pins so you can select them.
The following user(s) said Thank You: slese

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

Time to create page: 0.091 seconds
Powered by Kunena Forum