Advanced Search

Search Results (Searched for: )

  • D Jensen
  • D Jensen
11 Dec 2024 01:14
Replied by D Jensen on topic Retrofitting a 1986 Maho 400E

Retrofitting a 1986 Maho 400E

Category: Milling Machines

Hi Mark,
While I looking around for stuff on the previous entries I came across these 2 images, I can't recall where I got them from. They relate to stuff we discussed a way back. I mentioned that the resistors on the gear change were never invoked on my machine. I translated the images using Google, which I know you don't need, but I see at the bottom they mention the resistors are not needed for later Mahos. Mine is certainly fine without them. I'm thinking that the earlier Philips controller would have been much slower and maybe could monitor the cams fast enough. The diagrams are also the first I've seen that explain the actual reason for cams 4 and 5. So it may be that with the massive improvements in clock speeds since then the LinuxCNC conversions may not need them either? Mine still uses cam 5 as I recall to decide which way the ladder code hunts a cam lobe first. Presumably for the case where you've had a crash and it's not on a cam lobe.

Another thing I'm surprised at is that in the LinuxCNC conversions you keep a lot of the relay logic. Wouldn't it be better to shift the I/O for that into the computer and make it "fly by wire". As it stands there is a lot of relay logic outside LinuxCNC that it doesn't know about. You would still need relays for shifts in voltage like 5K1, but it wouldn't be for logic. On my machine it would involve a more than it can do I think. But in both our cases it seems we have a dinosaur brain sitting in parallel with a modern one.

Cheers,
David
  • ihavenofish
  • ihavenofish
11 Dec 2024 01:09
Replied by ihavenofish on topic Rotating coordinate space via probing

Rotating coordinate space via probing

Category: General LinuxCNC Questions

Cool. That's seems to be the same function I need. I just need it to be in a probe cycle.

That answers the "is it there" question for sure. Thanks.
  • 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 - 21938 out of 21938 results.
Time to create page: 0.417 seconds
Powered by Kunena Forum