Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
  • ihavenofish
  • ihavenofish
11 Dec 2024 00:52
Rotating coordinate space via probing was created by ihavenofish

Rotating coordinate space via probing

Category: General LinuxCNC Questions

Working on my larger machine and based on the work I'm gonna use it for, being able to probe a part or work piece and then have the machine not just offset but also rotate the coords would be nice. For clarity, I want to stick stock down and if that stock happens to be 12 degrees out of square the probe will measure and then rotate the program to match the stock. (12 degrees is extreme of course, but it gets the point across).I understand linuxcnc *can* rotate coords, but beyond that I know nothing on the topic. Has anyone made use of this? How does it work? 

 
 
 
  • tommylight
  • tommylight's Avatar
11 Dec 2024 00:51

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

Gave it a try, still reboots when enabling LinuxCNC.
Have to try another module just in case.
  • CORBETT
  • CORBETT's Avatar
11 Dec 2024 00:34 - 11 Dec 2024 01:18

Ethercat build from source instructions - Updated for 2024

Category: EtherCAT

For the impatient, here are all the commands after installing the OS with a GUI

"The forum always changes the hyperlinks, so when you do the "git" clone commands, type out the full hyperlink"


sudo apt update
sudo apt dist-upgrade
sudo apt install linux-image-rt-amd64
sudo apt install linux-headers-rt-amd64
sudo reboot
uname -a
dpkg --list | grep linux-image
sudo apt remove --purge linux-image-(THE REST OF THE KERNEL NAME FROM GREP)
sudo apt install git build-essential
git clone github.com/LinuxCNC/linuxcnc.git   linuxcnc-dev
cd linuxcnc-dev
git checkout master
cd debian
./configure uspace no-docs  
cd ..
dpkg-checkbuilddeps  
sudo apt install  "LIST OF DEPS COPIED FROM DPKG-CHECKBUILDDEPS"
dpkg-checkbuilddeps  
cd src
./autogen.sh
./configure --with-realtime=uspace --disable-build-documentation-translation
make
sudo make setuid
. ../scripts/rip-environment
linuxcnc   (this will fail and you run the script below to get LCNC working)
~/linuxcnc-dev/lib/python/qtvcp/designer/install_script
(YOU CAN CHOOSE 1 OR 2 DEPENDING ON IF YOU WANT TO EDIT OR NOT)
cd ~
git clone gitlab.com/etherlab.org/ethercat.git ethercat-master
cd ethercat-master
git checkout stable-1.6
./bootstrap
sudo lspci -v
./configure --sysconfdir=/etc/ --disable-8139too --enable-userlib --enable-generic
make all modules
sudo su
make modules_install install
depmod
exit
ip a
sudo pico /etc/ethercat.conf
   (FIX YOUR MAC ADDRESS AND DEVICE NAME, THEN SAVE AND EXIT)
sudo systemctl enable ethercat.service
sudo systemctl start ethercat.service
sudo systemctl status ethercat.service
sudo chmod 666 /dev/EtherCAT0
ethercat master
sudo pico /etc/udev/rules.d/99-ethercat.rules
   (ADD THIS TO THE ABOVE FILE)
KERNEL=="EtherCAT[0-9]", MODE="0777"
   (THEN SAVE AND EXIT PICO)
sudo udevadm control --reload-rules
cd ..
git clone github.com/linuxcnc-ethercat/linuxcnc-ethercat.git linuxcnc-ethercat
cd linuxcnc-ethercat/src/
sudo pico Makefile
   (Now comment out part of lines.  Just add the “#” where shown below:)
   (At line 83 of the code, comment out “lcec configgen”)

user: lcec_conf lcec_devices #lcec_configgen
   (At line 92 of the code, comment out the whole line)
# cp lcec_configgen $(DESTDIR)/usr/bin/
   (At lines 113 - 121 of the code, comment out the whole line)
#lcec_configgen: configgen/*.go configgen/*/*.go
# (cd configgen ; go build lcec_configgen.go)
# cp configgen/lcec_configgen .
#configgen/devicelist: configgen/devicelist.go
# (cd configgen ; go build devicelist.go)
#configgen/drivers/drivers.go: configgen/devicelist lcec_devices
# (cd configgen ; go generate)
   (THEN SAVE AND EXIT)
cd ..
make clean
make
make install
sudo pico /etc/ld.so.conf
   (ADD THIS TO THE ABOVE “ld.so.conf” FILE)
/usr/local/lib
   (THEN SAVE AND EXIT PICO)
sudo su
ldconfig -v
exit

Then you setup your XML and LCNC config and that's it...
  • CORBETT
  • CORBETT's Avatar
11 Dec 2024 00:28

Ethercat build from source instructions - Updated for 2024

Category: EtherCAT

I did this a little different because of the forum changing the format

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF

  • Zayoo
  • Zayoo
10 Dec 2024 23:54

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I'm trying to get the gowin toolchain up and running on rpi5. It gives me an error when execute making all.
cnc@raspberrypi:~/riocore/Output/TangNano9K_spi_rpi5/Gateware$ make clean
rm -rf rio.fs rio.json rio_pnr.json rio.tcl abc.history impl
cnc@raspberrypi:~/riocore/Output/TangNano9K_spi_rpi5/Gateware$ make all
gw_sh rio.tcl
/opt/gowin/IDE/bin/gw_sh: 2: Syntax error: Unterminated quoted string
make: *** [Makefile:34: impl/pnr/project.fs] Error 2
cnc@raspberrypi:~/riocore/Output/TangNano9K_spi_rpi5/Gateware$ 
I see you've already mentioned this error. I downloaded and cloned the dev version and it still doesn't work. Any tips...

I see there is another option 'generic_spi'. I will test that on rpi5 too just to get that toolchain working. I don't want to take the TN9 out of the device and program on windows anymore.

 
Displaying 21931 - 21936 out of 21936 results.
Time to create page: 0.481 seconds
Powered by Kunena Forum