Pimping the mini-lathe

More
6 years 5 months ago #168131 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Hi Bob,

If I was really driven to replace that gear, I'd buy Gearotic, and make up a fourth axis to mill it, but don't see the necessity.
Mark

Please Log in to join the conversation.

More
6 years 5 months ago #168774 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Episode 16 is up. Getting closer to LinuxCNC by the week...


Mark

Please Log in to join the conversation.

More
6 years 5 months ago #168777 by tommylight
Replied by tommylight on topic Pimping the mini-lathe
Always nice. :)

Please Log in to join the conversation.

More
6 years 5 months ago #168778 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Glad to provide a little light entertainment. Thanks for watching.

Soon the LinuxCNC config work will start again, and then I'll be posting more questions, as it is my first use of a Mesa Ethernet card.
Mark

Please Log in to join the conversation.

More
6 years 4 months ago #170461 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Last week I screwed up, so Episode 17 is only a fraction of what it should have been,


This weeks Episode 18 is back to the usual standard...

Mark

Please Log in to join the conversation.

More
6 years 4 months ago #171421 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
I have started to look at the motion control aspects of this build. Found this thread on getting a PWM signal out of the 7i96 to control a VFD.
forum.linuxcnc.org/27-driver-boards/3923...96-which-pin-for-pwm

The LinuxCNC manual has a good instruction with example of how to connect the "S" word command to that PWM output:
Code:
loadrt pwmgen output_type=0 addf pwmgen.update servo-thread addf pwmgen.make-pulses base-thread net spindle-speed-cmd motion.spindle-speed-out => pwmgen.0.value net spindle-on motion.spindle-on => pwmgen.0.enable net spindle-pwm pwmgen.0.pwm => parport.0.pin-09-out # Set the spindle's top speed in RPM setp pwmgen.0.scale 1800

What do I have to change in the Bitfile to get the 7i96 to load that one PWM?
Mark

Please Log in to join the conversation.

More
6 years 4 months ago #171443 by PCW
Replied by PCW on topic Pimping the mini-lathe
As long as you have loaded the

7i96d_1pwm.bit


Bitfile, PWM should be present, as long as it's not disabled in the hal file
with a "num_pwmgens=0" token in the hm2_eth driver command line.

Please Log in to join the conversation.

More
6 years 4 months ago #171447 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thanks PCW. The 7i96 is currently in the "as delivered"configuration. Is that the default bitfile which MESA loads?
Mark

Please Log in to join the conversation.

More
6 years 4 months ago #171454 by PCW
Replied by PCW on topic Pimping the mini-lathe
The as shipped 7I96 has the 7i96d.bit bitfile loaded
This has 5 stepgens and no PWM.

To load 7i96d_1pwm.bit you would need to fetch the 7i96.zip archive from Mesa,
extract the 7i96d_1pwm.bit bitfile and run these commands:

mesaflash --device 7i96 --addr [the cards current ip address] --write 7i96d_1pwm.bit
mesaflash --device 7i96 --addr [the cards current ip address] --reload

Please Log in to join the conversation.

More
6 years 4 months ago #171466 by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thanks very much.

Please Log in to join the conversation.

Time to create page: 1.208 seconds
Powered by Kunena Forum