Mesa Configuration Tool
- SkyMoCo
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 4
20 Oct 2023 17:50 #283364
by SkyMoCo
Replied by SkyMoCo on topic Mesa Configuration Tool
Couple questions.
I have a custom panel with the axis gui, can I just add that to the ini file and MCT would be ok with it on future runs?
I did try to run the generated config and it gets an error:./main.hal:30: parameter or pin 'hm2_7i92.0.stepgen.timer-number' not found. This a 7i92T with a 7i77 servo board. Report and configs attached.
I have a custom panel with the axis gui, can I just add that to the ini file and MCT would be ok with it on future runs?
I did try to run the generated config and it gets an error:./main.hal:30: parameter or pin 'hm2_7i92.0.stepgen.timer-number' not found. This a 7i92T with a 7i77 servo board. Report and configs attached.
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 929
- Thank you received: 477
20 Oct 2023 18:06 - 20 Oct 2023 18:07 #283366
by JT
Replied by JT on topic Mesa Configuration Tool
One of the main design goals for MesaCT II is to not change anything a user added to the ini file which took quite a bit of work.
I can test your config in the morning and see what the issue is. I have been doing a lot of work on the 7i77 daughter card.
That line should not be there for a 7i77 so I'll see why it is there. Did you create a configuration with a stepper card and change to the 7i77?
JT
I can test your config in the morning and see what the issue is. I have been doing a lot of work on the 7i77 daughter card.
That line should not be there for a 7i77 so I'll see why it is there. Did you create a configuration with a stepper card and change to the 7i77?
JT
Last edit: 20 Oct 2023 18:07 by JT.
Please Log in or Create an account to join the conversation.
- SkyMoCo
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 4
20 Oct 2023 18:51 #283377
by SkyMoCo
Replied by SkyMoCo on topic Mesa Configuration Tool
I started with a totally blank configuration. I tried to follow the workflow you laid out in your docs so don't recall choosing any stepper based options. Am happy to do any testing as I like the way you have this laid out. I tried using pncconf but I ran into confusion and just wrote most of my working config by hand.
Please Log in or Create an account to join the conversation.
- SkyMoCo
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 4
20 Oct 2023 19:10 - 20 Oct 2023 19:12 #283378
by SkyMoCo
Replied by SkyMoCo on topic Mesa Configuration Tool
I also pulled out that line and changed the card "address", ie all the
"hm2_[MESA](BOARD).0.7i77.0.4."
to
"hm2_[MESA](BOARD).0.7i77.0.1."
And now linuxcnc starts, I checked a couple places and not sure why it ends up with the .4, but loading the config and writing it out will override my changes.
"hm2_[MESA](BOARD).0.7i77.0.4."
to
"hm2_[MESA](BOARD).0.7i77.0.1."
And now linuxcnc starts, I checked a couple places and not sure why it ends up with the .4, but loading the config and writing it out will override my changes.
Last edit: 20 Oct 2023 19:12 by SkyMoCo.
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 929
- Thank you received: 477
20 Oct 2023 19:16 #283380
by JT
Replied by JT on topic Mesa Configuration Tool
Hmm, it should only use 4 if you selected P1 port so that is an error I must fix as well.
Thanks for the feedback.
JT
Thanks for the feedback.
JT
Please Log in or Create an account to join the conversation.
- JPL
- Offline
- Platinum Member
-
Less
More
- Posts: 335
- Thank you received: 118
21 Oct 2023 07:05 #283427
by JPL
Replied by JPL on topic Mesa Configuration Tool
May I also kindly suggest to stop referring the analog output of the 7i77 as PWM. This is very confusing for beginners (been there, struggled a bit)
For example you have in the generated .ini file
But then, in the generated .hal file you have the header:
I also do understand that it is the same as for the PnCconf wizard, and that the error related to stepgen mentioned previously is also the same error generated by PnCconf, as of the 'official' v2.8.4 download.
For example you have in the generated .ini file
Meaning that there is NOT any PWM output on the 7i77PWMGENS = 0
But then, in the generated .hal file you have the header:
Which is for setting the analog outputs of the 7i77, which are NOT PWM output.# PWM setup
I also do understand that it is the same as for the PnCconf wizard, and that the error related to stepgen mentioned previously is also the same error generated by PnCconf, as of the 'official' v2.8.4 download.
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 929
- Thank you received: 477
21 Oct 2023 12:10 #283440
by JT
Replied by JT on topic Mesa Configuration Tool
I think I fixed everything this morning for a 7i92/7i77 configuration.
JT
JT
The following user(s) said Thank You: tommylight, Clive S, SkyMoCo, JPL
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.101 seconds