Advanced Search

Search Results (Searched for: )

  • meister
  • meister
24 Oct 2024 09:35
Replied by meister on topic Linux equivalent to NCPlot

Linux equivalent to NCPlot

Category: CAD CAM

first try :)
 
  • btvpimill
  • btvpimill
24 Oct 2024 08:47

Machine moves when you stop program in the middle

Category: General LinuxCNC Questions

I do not see the issue with small programs. And TBH it sometimes does not happen unless I am a few moves into the program.. Once it does happen it will happen every time from any point - even as it makes its first move. Then if I change to a small program it seems to work fine. Change back to large program (been using the one posted here for testing) and the problem is back.

I will try to get the config zipped and posted here.

I will try and test 1 line at a time to see if I can narrow it down.
  • BaxEDM
  • BaxEDM's Avatar
24 Oct 2024 08:37 - 24 Oct 2024 08:38

Performance issues after switching from LCNC 2.8.4 Buster to 2.9.3 Bookworm

Category: EtherCAT

Ok, I got a setup running with 2 EtherCAT drives without problems. I've now added a third EtherCAT drive and the problem has returned, occurring about once every hour or so. I check the tmax write plus the tmax read for the lcec which combined to max 23.5% of my servo loop time.
I would really like to turn off the r8168.aspm=0 or r8168.eee_enable=0 functions to see if that helps as rodw suggested, but I do not know how. The grub customizer does not allow me to save those, throwing a "not found" error.
  • Jensner
  • Jensner
24 Oct 2024 08:18

Unexpected realtime delay on task 0 with period 1000000

Category: QtPyVCP

You might check the network latency with

sudo chrt 99 ping -i .001 -q [7i96s_ip_address]

where [7i96s_ip_address] is either 10.10.10.10 or 192.168.1.121

Let the command run for a couple of minutes and the hit control C
to stop the command and print the statistics.
 

Hi,

here is the result:

--- 10.10.10.10 ping statistics ---
216217 packets transmitted, 216217 received, 0% packet loss, time 216389ms
rtt min/avg/max/mdev = 0.044/0.061/9.253/0.062 ms

Seems there are no packet losses..
  • meister
  • meister
24 Oct 2024 08:09
Replied by meister on topic Linux equivalent to NCPlot

Linux equivalent to NCPlot

Category: CAD CAM

$ python riocore/files/ngc2svg.py ../viaconstructor/tests/data/all.ngc  > /tmp/test.svg
# convert /tmp/test.svg /tmp/test.jpg
$ display /tmp/test.jpg 


 
  • meister
  • meister
24 Oct 2024 08:05 - 24 Oct 2024 08:06
Replied by meister on topic Linux equivalent to NCPlot

Linux equivalent to NCPlot

Category: CAD CAM

how many people want something like this?
i could build a small pyqt-gui that generates a small gcode preview using the 'rs274' tool.
but i already have a console tool that converts gcode to svg.

github.com/multigcs/riocore/blob/main/riocore/files/ngc2svg.py
  • yuyu
  • yuyu
24 Oct 2024 07:56

Compiling linuxcnc with source code on Debian12 resulted in an error

Category: Installing LinuxCNC

This is the central system I configured when installing LinuxCNC on the image before. I'm not sure if it can be used
  • Macwolf
  • Macwolf
24 Oct 2024 07:55 - 24 Oct 2024 10:34
Replied by Macwolf on topic Beckhoff components crasht Linuxcnc

Beckhoff components crasht Linuxcnc

Category: EtherCAT

 HelloI haven't made any progress with EtherCat. The Beckhoff components are just not up and running yet. The LCNC GUI also doesn't seem to communicate with the underlying layer (CIA402). Why is that? a link helped me shed some light on it.
 it looks like everything is-fine.

 

but then something like this

 


Failed to register PDO entry


 
  • yuyu
  • yuyu
24 Oct 2024 07:55

Compiling linuxcnc with source code on Debian12 resulted in an error

Category: Installing LinuxCNC

Installation of Linuxcnc Central Station
Install through the following steps:
git clone  gitlab.com/etherlab.org/ethercat.git
%Download EtherCAT Master source code
If git is not found, then:
This error indicates that it is not installed in your system. You can install it by following these steps: git
Installation: Git
Update package list: First, update the package list of your package manager:
sudo apt-get update
Install git: Use the following command to install: git
sudo apt-get install git
Verify installation: After installation is complete, verify if git is installed successfully:
git --version
If the installation is successful, you will see the version number

cd ethercat
%Enter the main directory of clone source code
./bootstrap 
%If the downloaded tar.bz package contains an m4 subdirectories, this step is not required; Git clone is necessary

In progress/ When bootstrap, the following error may be reported, as shown in Figure 1
  
At this point, you need to use the following command to install pkg config.
sudo apt-get install pkg-config
Continue with the installation.
./configure --prefix=/opt/etherlab --enable-8139too=no --enable-generic=yes
When executing again, if the result prompts an error, as shown in the figure below, you need to flip over to see where the 'no' appears, as shown in the figure below
    
 
To resolve the error, it is necessary to install gawk and make, using the following code.
sudo apt-get install gawk make
Continue installation.
make -j 4
%4 thread acceleration
sudo make modules
sudo make install
sudo make modules_install
sudo depmod
After installation, a configuration file is required. The method is as follows

cd /opt/etherlab
 
ip addr show
%Find the Link/Other option for the local network card and copy the MAC address of the network card
 
%Then edit the configuration file
sudo vim etc/sysconfig/ethercat
%Copy the MAC address to
MASTER0_DEVICE=“”
%Change VNet="" to
DEVICE_MODULES="generic"
 
sudo mkdir /etc/sysconfig
sudo cp etc/sysconfig/ethercat /etc/sysconfig/
sudo ln -s /opt/etherlab/etc/init.d/ethercat /etc/init.d/
sudo ln -s /opt/etherlab/include/*.h /usr/include/linuxcnc/
sudo ln -s /opt/etherlab/lib/lib* /usr/lib/

At this point, the configuration is basically complete. You can enter the following code to try starting the main station

sudo /etc/init.d/ethercat start
At this time, it will return

Starting EtherCAT master 1.6.0-rc1 done

Enter the following code to view the main station information

sudo ethercat master
If the prompt bash: ethercat: command not found, use the following method.
First, check if you are currently using bash or dash.

ls -l /bin/sh
If dash is displayed, use the following command to modify it to bash.

sudo dpkg-reconfigure dash

Then use the following code to modify the bashrc file.

sudo vim ~/.bashrc
Add the following code to it

alias sudo='sudo env PATH=$PATH'
PATH=$PATH:/opt/etherlab/bin
Execute source~/. bashrc
At this point, you can use the EtherCAT command-line tool.
  
Above, EtherCAT Master installation is complete (restart the computer for use).
 
  • bkt
  • bkt's Avatar
24 Oct 2024 05:34
Replied by bkt on topic c++ compiling error

c++ compiling error

Category: Advanced Configuration

.... 4 hour try to understand these .... my project linked on github ..... now It have these cmakelist (see attach) ... compile well ... and works .... tthe same cmakelist on original poject ... give me 147 of these error (like libtool was not linked)

:-1: error: /home/gc81/linuxcnc-source-dir/lib/librs274.so: undefined reference to `DISABLE_FEED_HOLD()'

some suggestion why one side it build  and works and other side not at all? ....

 

File Attachment:

File Name: CMakeLists.txt
File Size:10 KB
  • Tech3
  • Tech3
24 Oct 2024 05:34
Replied by Tech3 on topic Beckhoff components crasht Linuxcnc

Beckhoff components crasht Linuxcnc

Category: EtherCAT

Hi Macwolf,
I appreciate your work and insights! I’m currently trying to connect EtherCAT with LinuxCNC using EtherCAT-master. I followed the steps outlined in the link below, but I’m running into an issue when attempting to load the lcec_conf file in LinuxCNC.

I receive the following error message:
./custom.hal:4 /home/cnc/linuxcnc-ethercat/src/lcec_conf exited without becoming ready

 As a beginner in troubleshooting these types of issues, I would greatly appreciate any guidance you can provide. If possible, could you also share the steps you followed?
Thank you!
forum.linuxcnc.org/ethercat/49771-etherc...ce-full-instructions     
  • cmorley
  • cmorley
24 Oct 2024 05:27
Replied by cmorley on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

I have not forgotten you, but have been too busy to test on my machine.

line 231 returns the tool to the start position, but with the new tool length.

52 #<local_start_z> = #<_z>
<snip>
probe
set tool table offset
return to Z location:
231 G0 Z[#<local_start_z>]

If the new tool is longer then the original, and the machine cannot go up anymore to get to that position, you would get that error.

you could add this just above line 231 so we can see where it is trying to go:
(DEBUG, moving to Z: %f#<local_start_z>)
  • tcbmetalworks
  • tcbmetalworks
24 Oct 2024 05:23
Building new plasma table was created by tcbmetalworks

Building new plasma table

Category: Computers and Hardware

Hello, I built a mach 3 based plasma table using junk china parts. I am sick of dealing with problem after problem. Latest one is the board crashing and losing all usb including the mouse and keyboard. I figure it's time to upgrade and the thc integration really captivated me towards Linux cnc aswell as the freedom modify. I have never ran linux before but I am no beginner to computers and building stuff. I was looking into the mesa boards. Does anybody have any recommendations for a super reliable computer to purchase to run linux cnc in a industrial setting and any recommendations for the breakout board and thc to run a plasma table? Thanks. 
  • Aswin
  • Aswin
24 Oct 2024 05:21
Replied by Aswin on topic Beckhoff components crasht Linuxcnc

Beckhoff components crasht Linuxcnc

Category: EtherCAT

how did you solve those errors?
  • Micro2000
  • Micro2000
24 Oct 2024 05:16
Base Thread Over 100k was created by Micro2000

Base Thread Over 100k

Category: General LinuxCNC Questions

My base thread is getting over 100k when I run my Hal test and I keep getting a error when I start linuxcnc and it won't let me run my machine. It was working before but now it's not.
Displaying 22351 - 22365 out of 22571 results.
Time to create page: 0.885 seconds
Powered by Kunena Forum