Advanced Search

Search Results (Searched for: )

  • 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).
 
Displaying 22516 - 22520 out of 22520 results.
Time to create page: 1.207 seconds
Powered by Kunena Forum