Advanced Search

Search Results (Searched for: )

  • sajurcaju
  • sajurcaju
19 Oct 2024 13:03
Holes have a taper was created by sajurcaju

Holes have a taper

Category: General LinuxCNC Questions

This seems very unlikely to be a LinuxCNC issue, but I'm stuck, and there are lots of sharp people in this forum. I'm trying to cut 20mm diameter holes 3/4" deep in MDF. The bottom of the hole is around 0.008" smaller than the top.

I have a 30x30" cnc router that I designed and built 10 years ago. It uses ball screws x and y. I'm changing my spoil board so it has spots for precision dogs. Cutting the dog holes has turned into a project. I'm getting decent accuracy at the top of the hole, but around 8 thousandths less at the bottom. The holes are about 20mm x 3/4" deep in MDF. I'm not saying this is a new problem, I haven't done precision holes before, so have no idea if this is new or old.

Hole cutting: With a 1/4" straight Whiteside carbide bit (2 flute), each level is cut with 50% stepover. The 3/4" depth is done in 4 layers, 0.2" each, leaving a 0.001" skin. Each layer is cut conventional, with a single additional pass on each layer (finish pass). After the hole is cut, there are two additional finish passes done at full depth, one conventional, one climb. The inside of the holes looks pretty clean.

My CAM software (DeskProto) does not use circular arcs, it uses a lot of x-y positions to cut a circle. They are very nice circles to the eye, no segmentation. I searched the gcode to find max/min x and y, they are correct for the size hole I want. I did a hole from gcode produced by Kiri Moto, same results

My first thought was bit deflection due to loading, but the final two finish passes should have very little load.
Another possibility is if my cutter was ground with a small taper. I don't measure anything like that, the flutes are parallel the full length (1" long flutes).

I've tried a 1/2" bit and a brand new 1/4" Whiteside, still the same sort of taper.

I'm at a loss, please advise.
Steve
  • Aciera
  • Aciera's Avatar
19 Oct 2024 13:02
Replied by Aciera on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Updated the repo, rebuilt:
2004  cd linuxcnc_trajectory_planner/
 2005  git pull
 2006  ./autogen.sh 
 2007  ./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non-distributable=yes --disable-build-documentation
 2008  cd ..
 2009  cd cmake/build/
 2010  cmake ..
 2011  linuxcnc

but unfortunately still the same error:
Machine configuration directory is '/home/user/linuxcnc_trajectory_planner/configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
Starting LinuxCNC...
linuxcncsvr (2177975) emcsvr: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
milltask (2177989) task: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
halui (2177991) halui: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
Found file(lib): /home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal
motmod: dlopen: /home/user/linuxcnc_trajectory_planner/rtlib/motmod.so: undefined symbol: vector_clear
/home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal:7: waitpid failed /home/user/linuxcnc_trajectory_planner/bin/rtapi_app motmod
/home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal:7: /home/user/linuxcnc_trajectory_planner/bin/rtapi_app exited without becoming ready
/home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal:7: insmod for motmod failed, returned -1
  • Nixus
  • Nixus
19 Oct 2024 12:56
Replied by Nixus on topic Help with Denford Machine AXIS config

Help with Denford Machine AXIS config

Category: General LinuxCNC Questions

Hello :D

So i just had a look for the EMC2 folder. it only had one file Rtapi.conf on it.
Following your thread i looked at Config files and found 3.
i loaded the eldest one and then loaded my file and it showed proper '' lower left 0.0'' Orientation!!

Nice. Now.. i just need to test the homing procedure.

as for the existing config. This machine was used at some point but way before me getting it. So im working on configs that were set by the previous operator and god knows what they did. I wanted to learn how to set up my own config but i got into a bit of language barrier..

But thank you! It pointed me in the right direction!

Thank you!
  • Grotius
  • Grotius's Avatar
19 Oct 2024 12:29
Replied by Grotius on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

Hi Arciera,

You are almost there.
About your error, this is a function used by motion.c. For some reason at my pc it run's ok.

To avoid your error, i added extra function prototypes in the place where you get the error from : motmod.so
review : added function defenitions

Repo is updated.

Ok. now focussing on the scurve code.

Good luck Arciera...



 
  • JT
  • JT's Avatar
19 Oct 2024 12:25
Replied by JT on topic Flex GUI Tutorials

Flex GUI Tutorials

Category: Other User Interfaces

Tutorial 06


JT
  • tsaG
  • tsaG
19 Oct 2024 12:12

ProbeBasic Spindle connection (No Speed indicated, no control possible)

Category: QtPyVCP

Ah, got it. I thought the textfield with the white background would allow to enter a number.

Another question: Are there more information on the Spindle Load indicator? I guess I am missing the HAL connection there as well.
  • tommylight
  • tommylight's Avatar
19 Oct 2024 11:58
Replied by tommylight on topic Lathe Macro execution

Lathe Macro execution

Category: Gmoccapy

If you have a low resolution screen, the play button will be hidden.
There should be a topic or two here about how to fix that.
Sorry, but on the phone.
  • JuFu
  • JuFu
19 Oct 2024 11:06
Replied by JuFu on topic Lathe Macro execution

Lathe Macro execution

Category: Gmoccapy

Thanks for the fast response.
Will check for that button. Was not aware of it.
  • papagno-source
  • papagno-source
19 Oct 2024 11:03

KERNEL5.10.0-0.deb10.30-rt-amd64 #1 SMP PREEMPT_RT -ethercat not run

Category: EtherCAT

Hi .
On debian buster with kernel 4.19.0-27-rt-amd64 , my ethercat configuration run good.
I have refresh kernel 5.10.0-0-rt-amd64 with reposity.
Pc run good , but ethercat not run .
The ethernet configuration address are the same , not changed.
The drive not are see.

what could be the cause ?
  • Aciera
  • Aciera's Avatar
19 Oct 2024 11:02
Replied by Aciera on topic Lathe Macro execution

Lathe Macro execution

Category: Gmoccapy

Not sure if this is what you mean but have you tried clicking on the 'Play' button:

 
  • Aciera
  • Aciera's Avatar
19 Oct 2024 10:50
Replied by Aciera on topic linuxcnc trajectory planner

linuxcnc trajectory planner

Category: General LinuxCNC Questions

First issue:
user@user-iMac:~/linuxcnc_trajectory_planner/cmake/build$ cmake ..
-- Configuring done
CMake Error in motion/CMakeLists.txt:
  Imported target "clothoids" includes non-existent path

    "/home/user/linuxcnc_trajectory_planner/cmake/motion/../Clothoids-1/build"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in motion/CMakeLists.txt:
  Imported target "clothoids" includes non-existent path

    "/home/user/linuxcnc_trajectory_planner/cmake/motion/../Clothoids-1/build"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

So I tried to delete what seemed to refer to the clothoids-1 from the CMakeLists.txt upon which the error disappeared:
user@user-iMac:~/linuxcnc_trajectory_planner/cmake/build$ cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/linuxcnc_trajectory_planner/cmake/build

However trying to run 'sim/axis/axis_mm.ini' fails with this:
user@user-iMac:~/linuxcnc_trajectory_planner$ linuxcnc 
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/user/linuxcnc_trajectory_planner/configs/sim/axis'
Machine configuration file is 'axis_mm.ini'
Starting LinuxCNC...
linuxcncsvr (2133377) emcsvr: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
milltask (2133420) task: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
halui (2133422) halui: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
Found file(lib): /home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal
motmod: dlopen: /home/user/linuxcnc_trajectory_planner/rtlib/motmod.so: undefined symbol: vector_clear
/home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal:7: waitpid failed /home/user/linuxcnc_trajectory_planner/bin/rtapi_app motmod
/home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal:7: /home/user/linuxcnc_trajectory_planner/bin/rtapi_app exited without becoming ready
/home/user/linuxcnc_trajectory_planner/lib/hallib/core_sim.hal:7: insmod for motmod failed, returned -1
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
Note: Using POSIX non-realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/user/linuxcnc_debug.txt
and
    /home/user/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
  • phillc54
  • phillc54's Avatar
19 Oct 2024 10:45
Replied by phillc54 on topic Update failure

Update failure

Category: Plasmac

I think that I get this message as well but I also think that it still does work.

Try apt search linuxcnc after sudo apt update and see if the last built package from here is shown.
buildbot2.highlab.com/debian/dists/bookw...inary-amd64/?C=M;O=D

it is currently 2.10.0~pre0.3694.g620332fdf4
  • JuFu
  • JuFu
19 Oct 2024 10:44
Lathe Macro execution was created by JuFu

Lathe Macro execution

Category: Gmoccapy

Hello, I did CNC (retrofit) an old Magdeburg D30 lathe. 
Started wit AXIS, but changing to gmoccapy now.
Included Lathe Macro and it seems to work (so far).
here my question: when I parameterized a Lathe Macro, how do I get it executed (the lathe to move as wished)?
 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
19 Oct 2024 10:44
Replied by Cant do this anymore bye all on topic Please add a check for available disk space....

Please add a check for available disk space....

Category: Installing LinuxCNC

Unfortunately the linuxcnc iso depends on the Debian installer, any things like checking for enough free space would be something the Debian devs would have to implement. Probably not want you want to hear but that is the situation.
To be fair a complete install can be accomplished with a 16GB disk.
Did your friend have another OS on the disk ?
What was the situation that led to the install failing ?
Surely with your experience you should know to provide more information.
You should have known to ask for more information from your friend.
  • Aciera
  • Aciera's Avatar
19 Oct 2024 10:29 - 19 Oct 2024 10:32

Time to revisit coolant mapping of M-codes in Linuxcnc

Category: General LinuxCNC Questions

After a bit more effort it seems to work now with recursive calls as well. I modified 'configs/sim/axis/remap/extend-builtins/extend-builtins.ini ' in current master as an example for remapping the built in 'M7', 'M8' and 'M9' to be callable with an optional P word and recursively calling the built in Mcodes.

 

The patch looks like this:

diff --git a/configs/sim/axis/remap/extend-builtins/extend-builtins.ini b/configs/sim/axis/remap/extend-builtins/extend-builtins.ini
index 9f6cee2749..09d3c67ce8 100644
--- a/configs/sim/axis/remap/extend-builtins/extend-builtins.ini
+++ b/configs/sim/axis/remap/extend-builtins/extend-builtins.ini
@@ -68,6 +68,9 @@ REMAP= M0 modalgroup=4 ngc=extend_m0
 REMAP= M1 modalgroup=4 ngc=extend_m1
 REMAP= M60 modalgroup=4 ngc=extend_m60
 
+REMAP = M7  modalgroup=8 argspec=p ngc=extend_m7
+REMAP = M8  modalgroup=8 argspec=p ngc=extend_m8
+REMAP = M9  modalgroup=8 argspec=p ngc=extend_m9
 # this is important - read common_nc_subs/reset_state.ngc
 ON_ABORT_COMMAND= O <reset_state> call
 
diff --git a/src/emc/rs274ngc/interp_convert.cc b/src/emc/rs274ngc/interp_convert.cc
index 4864cc5407..fba0d66d6b 100644
--- a/src/emc/rs274ngc/interp_convert.cc
+++ b/src/emc/rs274ngc/interp_convert.cc
@@ -4068,7 +4068,9 @@ int Interp::convert_m(block_pointer block,       //!< pointer to a block of RS27
       CHP(restore_settings(&_setup, _setup.call_level));
   }
 
-  if (is_user_defined_m_code(block, settings, 8) && ONCE_M(8)) {
+  if (is_user_defined_m_code(block, settings, 8) &&
+      STEP_REMAPPED_IN_BLOCK(block, STEP_M_8) &&
+      ONCE_M(8))  {
      return convert_remapped_code(block, settings, STEP_M_8, 'm',
                    block->m_modes[8]);
   } else if ((block->m_modes[8] == 7) && ONCE_M(8)){
diff --git a/src/emc/rs274ngc/interp_remap.cc b/src/emc/rs274ngc/interp_remap.cc
index 947fac5cfc..3e4069e0e8 100644
--- a/src/emc/rs274ngc/interp_remap.cc
+++ b/src/emc/rs274ngc/interp_remap.cc
@@ -42,6 +42,8 @@ bool Interp::is_m_code_remappable(int m_code)
             m_code == 0 ||
             m_code == 1 ||
             m_code == 6 ||
+            m_code == 7 ||
+            m_code == 8 ||
             m_code == 9 ||
             m_code == 60 ||
             m_code == 61 ||
diff --git a/src/emc/rs274ngc/rs274ngc_pre.cc b/src/emc/rs274ngc/rs274ngc_pre.cc
index 492a72876b..87efe1f718 100644
--- a/src/emc/rs274ngc/rs274ngc_pre.cc
+++ b/src/emc/rs274ngc/rs274ngc_pre.cc
@@ -693,9 +693,18 @@ int Interp::find_remappings(block_pointer block, setup_pointer settings)
     block->remappings.insert(STEP_M_7);
 
     // User defined M-Codes in group 8
-    if (is_user_defined_m_code(block, settings, 8))
-    block->remappings.insert(STEP_M_8);
-
+    if (is_user_defined_m_code(block, settings, 8)) {
+        if (((block->m_modes[8] == 7) && remap_in_progress("M7")) ||
+        ((block->m_modes[8] == 8) && remap_in_progress("M8")) ||
+        ((block->m_modes[8] == 9) && remap_in_progress("M9"))){
+        // recursive behavior
+        CONTROLLING_BLOCK(*settings).builtin_used = true;
+        } else {
+        // non-recursive (ie the built in) behavior
+        block->remappings.insert(STEP_M_8);
+        }
+    }
+    
     // User defined M-Codes in group 9
     if (is_user_defined_m_code(block, settings, 9))
     block->remappings.insert(STEP_M_9);

This has been lightly tested. Maybe somebody finds this useful.
Displaying 19741 - 19755 out of 24139 results.
Time to create page: 0.428 seconds
Powered by Kunena Forum