- Posts: 18115
- Thank you received: 5334
Pimping the mini-lathe
- PCW
- Offline
- Moderator
-
Less
More
6 years 3 months ago #175954
by PCW
Replied by PCW on topic Pimping the mini-lathe
You could run
which mesaflash
and find out where the old one is and either delete it or overwrite it with the new one
which mesaflash
and find out where the old one is and either delete it or overwrite it with the new one
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
6 years 3 months ago #175955
by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
It only returned one in /usr/bin/mesaflash
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
6 years 3 months ago - 6 years 3 months ago #175959
by PCW
Replied by PCW on topic Pimping the mini-lathe
so one crude option is
cd ~/mesaflash
sudo cp mesaflash /usr/bin/mesaflash
or alternatively
sudo rm /usr/bin/mesaflash
cd ~/mesaflash
sudo cp mesaflash /usr/bin/mesaflash
or alternatively
sudo rm /usr/bin/mesaflash
Last edit: 6 years 3 months ago by PCW.
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
6 years 3 months ago #175971
by tommylight
Replied by tommylight on topic Pimping the mini-lathe
Sorry, was not sure if you did see that.
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
6 years 3 months ago #176483
by RotarySMP
Replied by RotarySMP on topic Pimping the mini-lathe
The PNCConf HAL includes..
I am using open loop steppers, so do I just delete this block, or is this needed for some LinuxCNC internal PID?
Code:
# ---closedloop stepper signals---
net x-pos-cmd <= joint.0.motor-pos-cmd
net x-vel-cmd <= joint.0.vel-cmd
net x-output <= [HMOT](CARD0).stepgen.00.velocity-cmd
net x-pos-fb <= [HMOT](CARD0).stepgen.00.position-fb
net x-pos-fb => joint.0.motor-pos-fb
net x-enable <= joint.0.amp-enable-out
net x-enable => [HMOT](CARD0).stepgen.00.enable
I am using open loop steppers, so do I just delete this block, or is this needed for some LinuxCNC internal PID?
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
6 years 3 months ago #176484
by rodw
Replied by rodw on topic Pimping the mini-lathe
No, leave it in. Here is mine
See forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example
Note that I edited pnccconf output to use joint numbers not axes. I don't have any baggage or preconceived ideas about how things should work becasue I've only ever used 2.8 and above. Doing it this way means you can swap joints around to different axes just by changing one line in your ini file...
Warning: Spoiler!
Code:
# Step Gen signals/setup
setp hm2_7i76e.0.stepgen.00.dirsetup [JOINT_0]DIRSETUP
setp hm2_7i76e.0.stepgen.00.dirhold [JOINT_0]DIRHOLD
setp hm2_7i76e.0.stepgen.00.steplen [JOINT_0]STEPLEN
setp hm2_7i76e.0.stepgen.00.stepspace [JOINT_0]STEPSPACE
setp hm2_7i76e.0.stepgen.00.position-scale [JOINT_0]STEP_SCALE
setp hm2_7i76e.0.stepgen.00.step_type 0
setp hm2_7i76e.0.stepgen.00.control-type 1
setp hm2_7i76e.0.stepgen.00.maxaccel [JOINT_0]STEPGEN_MAXACCEL
setp hm2_7i76e.0.stepgen.00.maxvel [JOINT_0]STEPGEN_MAXVEL
# ---closedloop stepper signals---
net 0-pos-cmd <= joint.0.motor-pos-cmd
net 0-vel-cmd <= joint.0.vel-cmd
net 0-output <= hm2_7i76e.0.stepgen.00.velocity-cmd
net 0-pos-fb <= hm2_7i76e.0.stepgen.00.position-fb
net 0-pos-fb => joint.0.motor-pos-fb
net 0-enable <= joint.0.amp-enable-out
net 0-enable => hm2_7i76e.0.stepgen.00.enable
See forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example
Note that I edited pnccconf output to use joint numbers not axes. I don't have any baggage or preconceived ideas about how things should work becasue I've only ever used 2.8 and above. Doing it this way means you can swap joints around to different axes just by changing one line in your ini file...
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.183 seconds