Gecko 540 + Mesa 5i25 configuration.

More
2 years 1 week ago #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

Please Log in to join the conversation.

More
2 years 1 week ago #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 to join the conversation.

More
2 years 1 week ago #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.)

Please Log in to join the conversation.

More
2 years 1 week ago #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.

Please Log in to join the conversation.

Time to create page: 0.138 seconds
Powered by Kunena Forum