Advanced Search

Search Results (Searched for: )

  • 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.
  • Giovanni
  • Giovanni
19 Oct 2024 10:27
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

@freemoore: if you want, we can try to install/configure together.
Maybe we would be lucky enough to get NativeCam full working on your pc.
  • RadioAD5GB
  • RadioAD5GB
19 Oct 2024 09:58

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

Category: Installing LinuxCNC

Greetings,

A friend of mine was trying to install and set-up LinuxCNC. He's new to the ways of *NIX. Installation failed because of insufficient disk space, yet said NOTHING about it until it failed.  He's using a small industrial PC with a 128GB HDD.  A simple test for available free space would have prevented what happened to him.  As a UNIX/Linux developer of 30 years+, I've incorporated a lot of these sorts of things into the software I've written.

GIGO! (garbage in, garbage out)  Keep the GARBAGE out of the input stream!

Regards
Displaying 22426 - 22440 out of 22868 results.
Time to create page: 1.696 seconds
Powered by Kunena Forum