Mesa 7i92M Support
- tuffduck33
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 1
09 Mar 2017 18:32 #89275
by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Your system makes perfect sense. It allows for the LinuxCNC to grow and improve in ways un-imagined, and it has. I started using LinuxCNC at V2.4. It took me about a wee to iron out the bugs to get the G540 working accurately. LinuxCNC itself has grown in complexity greatly since then and most of the people have grown with it but I have not. I haven't a background in electronics and my programming days ended with VACS and UNIX. Since the I have merely designed manufacturing, estimating and costing software. The coding was left to someone else. Mechanically I am not intimidated by it.
LinuxCNC currently on the verge of becoming capable to replacing complex motion control systems and the hardware is getting there as well. There many used industrial machines out there and people are looking for affordable ways to replace old control systems. I am sure, I am not alone when it comes to ad-in hardware many people believe it should be simple to install it and make it work and for the most part that is the general conception in the real word. Also this being open-source everything relies on a relatively small group of people working part-time to do their best to help the masses and to keep the software free. Those people and the individuals that are run the forum are exceptional individuals in this day and age.
My short term goal is to get a simple machine working and understand why it works. My long term goal is to learn enough to convert an industrial machine to LinuxCNC as long as the software and hardware is there to support it. That will take me a few years. It is great when you can e your own tech support. Currently, I am between a rock and a hard place to get this machine going, so I will persevere until I become too far behind the workload.
LinuxCNC currently on the verge of becoming capable to replacing complex motion control systems and the hardware is getting there as well. There many used industrial machines out there and people are looking for affordable ways to replace old control systems. I am sure, I am not alone when it comes to ad-in hardware many people believe it should be simple to install it and make it work and for the most part that is the general conception in the real word. Also this being open-source everything relies on a relatively small group of people working part-time to do their best to help the masses and to keep the software free. Those people and the individuals that are run the forum are exceptional individuals in this day and age.
My short term goal is to get a simple machine working and understand why it works. My long term goal is to learn enough to convert an industrial machine to LinuxCNC as long as the software and hardware is there to support it. That will take me a few years. It is great when you can e your own tech support. Currently, I am between a rock and a hard place to get this machine going, so I will persevere until I become too far behind the workload.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
09 Mar 2017 18:33 #89276
by tommylight
Replied by tommylight on topic Mesa 7i92M Support
Did you try the last attachment? It has a working charge pump. It takes about 10 seconds to start as it uses a stepgen so it ramps up slowly.
Please Log in or Create an account to join the conversation.
- tuffduck33
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 1
09 Mar 2017 18:36 #89277
by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
I will try it again. I probably didn't wait long enough.
Please Log in or Create an account to join the conversation.
- tuffduck33
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 1
09 Mar 2017 20:25 #89283
by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Good news the charge pump came on. It took 45 minutes. Is there a way we can cycle up quicker? What actually controls the cycle time?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
09 Mar 2017 20:55 #89289
by tommylight
That is......long.
Will see what can be done later, in the mean time open the ini file and see in the Trajectory section if there is acceleration and max_acceleration and increase them.
Replied by tommylight on topic Mesa 7i92M Support
That is......long.
Will see what can be done later, in the mean time open the ini file and see in the Trajectory section if there is acceleration and max_acceleration and increase them.
Please Log in or Create an account to join the conversation.
09 Mar 2017 21:33 - 09 Mar 2017 21:39 #89293
by PCW
Replied by PCW on topic Mesa 7i92M Support
I just tested tommylight's hal file and here a a few suggested changes:
# --- CHARGE-PUMP ---
#setp hm2_7i92.0.gpio.019.is_output true
#net charge-pump hm2_7i92.0.gpio.005.out
setp hm2_7i92.0.stepgen.04.steplen 50000
setp hm2_7i92.0.stepgen.04.stepspace 500 ( missing, default is not good, 10 KHz not reachable)
setp hm2_7i92.0.stepgen.04.position-scale 1
setp hm2_7i92.0.stepgen.04.step_type 0
setp hm2_7i92.0.stepgen.04.control-type 1
setp hm2_7i92.0.stepgen.04.velocity-cmd 10000
setp hm2_7i92.0.stepgen.04.maxaccel 0 (missing, again the default is 1 which not good)
setp hm2_7i92.0.stepgen.04.maxvel 11000 (missing)
net machine-is-enabled => hm2_7i92.0.stepgen.04.enable
This will give you a good 10 KHz squareware chargepump signal as soon as machine-is-enabled is true
# --- CHARGE-PUMP ---
#setp hm2_7i92.0.gpio.019.is_output true
#net charge-pump hm2_7i92.0.gpio.005.out
setp hm2_7i92.0.stepgen.04.steplen 50000
setp hm2_7i92.0.stepgen.04.stepspace 500 ( missing, default is not good, 10 KHz not reachable)
setp hm2_7i92.0.stepgen.04.position-scale 1
setp hm2_7i92.0.stepgen.04.step_type 0
setp hm2_7i92.0.stepgen.04.control-type 1
setp hm2_7i92.0.stepgen.04.velocity-cmd 10000
setp hm2_7i92.0.stepgen.04.maxaccel 0 (missing, again the default is 1 which not good)
setp hm2_7i92.0.stepgen.04.maxvel 11000 (missing)
net machine-is-enabled => hm2_7i92.0.stepgen.04.enable
This will give you a good 10 KHz squareware chargepump signal as soon as machine-is-enabled is true
Last edit: 09 Mar 2017 21:39 by PCW.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
09 Mar 2017 21:44 #89295
by tommylight
Replied by tommylight on topic Mesa 7i92M Support
It works, thank you Peter.
Please Log in or Create an account to join the conversation.
09 Mar 2017 21:48 - 09 Mar 2017 21:49 #89296
by PCW
Replied by PCW on topic Mesa 7i92M Support
Yeah the default stepgen maxaccel is 1
Which means the frequency starts at 0 and increases 1 Hz per second
A maxaccel of 0 means don't limit acceleration
Which means the frequency starts at 0 and increases 1 Hz per second
A maxaccel of 0 means don't limit acceleration
Last edit: 09 Mar 2017 21:49 by PCW.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tuffduck33
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 1
09 Mar 2017 23:10 #89300
by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Does the board look at the charge similar to a stepper motor? Thanks, I made the changes but after 15 minutes the charge pump remained off.
Please Log in or Create an account to join the conversation.
09 Mar 2017 23:16 #89301
by PCW
Replied by PCW on topic Mesa 7i92M Support
I dont know how the G540 chargepump works but with the changes, the
chargepump starts instantly as soon as LinuxCNC
is put into the machine-on state
Can you post the current hal file?
chargepump starts instantly as soon as LinuxCNC
is put into the machine-on state
Can you post the current hal file?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.136 seconds