Pimping the mini-lathe
18 May 2020 07:04 #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
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 or Create an account to join the conversation.
24 May 2020 10:00 #168774
by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Episode 16 is up. Getting closer to LinuxCNC by the week...
Mark
Mark
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 18725
- Thank you received: 6295
24 May 2020 10:21 #168777
by tommylight
Replied by tommylight on topic Pimping the mini-lathe
Always nice.
Please Log in or Create an account to join the conversation.
24 May 2020 10:24 - 24 May 2020 10:28 #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
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
Last edit: 24 May 2020 10:28 by RotarySMP.
Please Log in or Create an account to join the conversation.
07 Jun 2020 10:00 #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
This weeks Episode 18 is back to the usual standard...
Mark
Please Log in or Create an account to join the conversation.
13 Jun 2020 12:39 #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:
What do I have to change in the Bitfile to get the 7i96 to load that one PWM?
Mark
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:
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 or Create an account to join the conversation.
13 Jun 2020 13:44 #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.
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 or Create an account to join the conversation.
13 Jun 2020 13:47 #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
Mark
Please Log in or Create an account to join the conversation.
13 Jun 2020 14:02 #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
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
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
13 Jun 2020 17:21 #171466
by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
Thanks very much.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.172 seconds