Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
18 May 2025 08:18

Why does it seem like everyone here is Australian?

Category: Off Topic and Test Posts

I am not in Australia.
I do like Australia, with all the creatures that can kill people easily, mostly because of people.

Nothing to worry about, we don't have any man eating lions, tigers bears, wolves and similar carnivores. The only potential maneater is our snapping handbags, the salt water crocodiles. But they typically live in less populated regions to the north. The freshwater Crocs are not maneaters and their teeth are designed to catch fish...

So that leaves a few of the most deadly snakes in the world that fortunately have a very poor venom delivery mechanism (grooved fangs instead of hollow) and are typically timid unless cornered, two spiders (funnel-web and redback) and the blue ringed octopus mentioned... Nothing to worry about!
  • unknown
  • unknown
18 May 2025 07:30

Important Info Regarding Rpi4/5 Images.

Category: Computers and Hardware

Following on form this thread.
forum.linuxcnc.org/9-installing-linuxcnc...build-boot-initrd-gz

Please do not run dist-upgrade or attempt to upgrade the kernel, unless you know exactly you are doing and are using the RPi kernel sources from the github page, and be aware some branches do not build or install the device tree files. The kernel was chosen carefully when the image was being built.

The kernel sources are specific to the RPi platform, from memory a Debian Arm kernel didn't allow for device tree overlays, which becomes an issue for enabling I2C and SPI to begin with.

If you find yourself in this position, back up you configs and reburn the image to the SD card, and copy across your configs. If you find a way to fix it by any other means great, but this is not a subject I wish to get involved in nor support.
  • unknown
  • unknown
18 May 2025 07:16
Replied by unknown on topic Raspberry with LinuxCNC direct interface

Raspberry with LinuxCNC direct interface

Category: Computers and Hardware

Yep and they can be found via using google, probably too many to list. I wouldn't expect a "plug & play" solution going this route.

Before you go this route beware that the software stepping isn't optimal and it may be worth spending some extra dollars on an Mesa card or other such external step\direction control card.
  • unknown
  • unknown
18 May 2025 07:12

Linuxcnc 2.9.4 .iso on Rpi5: apt update does not build /boot/initrd.gz

Category: Installing LinuxCNC

Why did you a dist-upgrade ?

The kernel is a custom kernel (this has been explained in the first thread of the Rpi image thread) and does not come from the debian repos (the kernel sources are from the RPi github repo and contain patches specific to the RPi platform), from memory the debian kernel packages don't have the RPi patches nor support for dymanic device, eg spi, I2C and such.

Save your configs, reinstall and don't do a dist upgrade, there is no need to upgrade the kernel, if you do have stability related issues related to the kernel please make a report in the forum.

Not being to turn off the Rpi could be related to a device tree issue, eg the GPIO that is used is not setup correctly.
  • Aciera
  • Aciera's Avatar
18 May 2025 07:04 - 18 May 2025 07:05
Replied by Aciera on topic Resetting A-axis

Resetting A-axis

Category: G&M Codes

Try removing the LIMIT entries from the JOINT_n sections. That should set the value to +/- 1e99 which no machine will ever reach.


 
linuxcnc.org/docs/2.8/html/config/ini-co...t__lt_num_gt_section

 
  • dannym
  • dannym
18 May 2025 06:28
Replied by dannym on topic Resetting A-axis

Resetting A-axis

Category: G&M Codes

I tried G10 L20 P0 A0

This doesn't work. It's resetting the work coords to 0 so the G-code works at first, but continues incrementing A0 indefinitely in machine coords. After about 10 runs, the G-code faulted mid-run, says the next command would move joint 3 past machine limits.

At that point, A has reached 9800 or so, ini limited A to 10,000. I can put in a larger number. but we're just kicking this can down the road.

Can I reset the machine coord value, or is there a way to say the A axis has no limits on how many times it can turn?
  • RotarySMP
  • RotarySMP's Avatar
18 May 2025 06:01
Replied by RotarySMP on topic Index homing Heidenhain ls 403/exe602

Index homing Heidenhain ls 403/exe602

Category: Basic Configuration

My Maho homes off the Heindenhain LS-403 scale index marks. Works the same as homing to a a separate homing switch.
  • oddwick
  • oddwick's Avatar
18 May 2025 03:37 - 31 May 2025 02:41

[SOLVED] MesaCT problems with 7i96 pwm spindle

Category: Configuration Tools

Having ome slight problems here and was looking to see if someone could give me a hand.  I am finishing up a build and the last piece of the puzzle is the spindle and some of the outputs.

I am using a 7i96 that was reused from another machine and was set up for 4 step 1 pwm.  not sure the version of the firmware, but it should not need to be changed.  The computer is a clean install of 2.9 and the original configs from the previous machine doesn't work.  It was made using jt's 7i96 tool and then heavily modified.  so as of right now, I have most everything set up using mesaCT with some generic general values just to make sure that i can move and home each axis. so far so good.  

The spindle is 2.2kw 220v using a huanyang ec01 vfd which takes a 10v pwm signal so i have it ran through a small analog converter from the mesa board.  Now when i try and add the spindle to the config in mesaCT, all of the spindle controls are greyed out even though in options i have it set as 4 step 1 spindle and in axis, there is no spindle option right now. 

also, for some reason i can not get axis to turn on my relays either using mesaCT.  I have them set as mist/flood right now for testing, but i get nothing.  are these some bugs with mesaCT or am i just missing something obvious?  Thanks!
  • aikiaviator
  • aikiaviator
18 May 2025 02:49
Replied by aikiaviator on topic spindle control of PM-728vt using linuxcnc

spindle control of PM-728vt using linuxcnc

Category: Milling Machines

Hi I have the same unit and on the high speed gearing, (up to 4000, I cant get to run below 500RPM. Are you finding that also?
  • rdtsc
  • rdtsc's Avatar
18 May 2025 02:19 - 18 May 2025 02:35

Linuxcnc 2.9.4 .iso on Rpi5: apt update does not build /boot/initrd.gz

Category: Installing LinuxCNC

Hi, have been using LinuxCNC since 2.9.0~pre1 on a Rpi4.  Now have 2.9.4 or an Rpi5 and things were working great, until I did a sudo apt dist-upgrade earlier today.  After, I cannot shut the Rpi5 off, because apt removed the /boot/initrd.gz file:
...
Setting up libmagickcore-6.q16-6-extra:arm64 (8:6.9.11.60+dfsg-1.6+deb12u3) ...
Setting up libpython3.11-stdlib:arm64 (3.11.2-6+deb12u6) ...
Setting up linux-headers-6.1.0-35-arm64 (6.1.137-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-35-arm64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
kernelver=6.1.0-35-arm64 ./dkms-make.sh.........................................
Signing module /var/lib/dkms/rtl8821cu/5.12.0.4/build/8821cu.ko
Cleaning build area...

8821cu.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.1.0-35-arm64/updates/dkms/
depmod...
dkms: autoinstall for kernel: 6.1.0-35-arm64.
Setting up python3.11 (3.11.2-6+deb12u6) ...
Setting up linux-headers-arm64 (6.1.137-1) ...
Setting up libpython3.11:arm64 (3.11.2-6+deb12u6) ...
Processing triggers for systemd (252.36-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for cracklib-runtime (2.9.6-5+b1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.12.12+bpo-rt-arm64
update-initramfs: Generating /boot/initrd.gz
cp: target '/boot/initrd.gz': No such file or directory
cp: target '/boot/broadcom/initrd.gz': No such file or directory
linuxcnc@linuxcncpi:~$ what the...

See the rpi-1 attachment for the complete text:

File Attachment:

File Name: rpi-1_fail...mand.txt
File Size:17 KB


Note, the (highly finnicky) rtl8821cu wifi dongle driver was installed about a month ago.  Apt did attempt to rebuild this driver for kernel 6.1.0-35, but that was an old kernel and (now at least) no longer exists in /boot.  Now in there, are only 6.12.11 and 6.12.12+bpo-rt-arm64.  Note the latter is much larger than the previous:
linuxcnc@linuxcncpi:/boot$ ls -ag
total 170932
drwxr-xr-x 3 root 4096 May 17 16:16 .
drwxr-xr-x 18 root 4096 Mar 10 18:49 ..
drwxr-xr-x 3 root 16384 Dec 31 1969 broadcom
-rw-r--r-- 1 root 245283 Jan 26 07:36 config-6.12.11
-rw-r--r-- 1 root 332811 Feb 23 13:00 config-6.12.12+bpo-rt-arm64
lrwxrwxrwx 1 root 14 May 17 16:16 firmware -> /boot/broadcom
-rw-r--r-- 1 root 26624512 Jan 26 07:36 Image
-rw-r--r-- 1 root 22391722 May 17 16:16 initrd.img-6.12.11
-rw-r--r-- 1 root 71401400 May 17 16:15 initrd.img-6.12.12+bpo-rt-arm64
-rw-r--r-- 1 root 4085277 Jan 26 07:36 System.map-6.12.11
-rw-r--r-- 1 root 83 Feb 23 13:00 System.map-6.12.12+bpo-rt-arm64
-rw-r--r-- 1 root 9535537 Jan 26 07:36 vmlinuz-6.12.11
-rw-r--r-- 1 root 40374208 Feb 23 13:00 vmlinuz-6.12.12+bpo-rt-arm64
linuxcnc@linuxcncpi:/boot$

I can't get update-initramfs -c -k all -v to build the /boot/initrd.gz; it always complains with: cp: target '/boot/initrd.gz': No such file or directory

File Attachment:

File Name: rpi-2_upda...bose.txt
File Size:37 KB


I've updated the rtl8821cu driver, rebuilt and reinstalled it, but this did not help.  Then I removed it completely; same.  Thoughts?  Thanks much for taking a look.

P.S. A really, really good idea would be to, right now, sudo nano /etc/initramfs-tools/update-initramfs.conf and change backup_initramfs=yes
  • Thayloreing
  • Thayloreing
18 May 2025 02:09
Replied by Thayloreing on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Please, I've been trying for months without success. Everything seems to be fine, but I can't compile it onto the board. I'm using v5 of the cloud. I have no idea what it could be. I see that everyone follows the steps and it works. However, I even had a lot of trouble installing pyocd, but with a lot of effort I finally managed to do it. Please, can someone tell me what I'm doing wrong?
  • Doc_emmet
  • Doc_emmet
17 May 2025 23:15 - 17 May 2025 23:26
Activate B-axis in Porbe Basic was created by Doc_emmet

Activate B-axis in Porbe Basic

Category: QtPyVCP

Hello, I have a machine with X, Y, Z, B, C. How do I change Probe Basic from A-axis to B-axis?

[DISPLAY]
GEOMETRY = xyzab
...

[KINS]
JOINTS = 5
KINEMATICS = trivkins coordinates=XYZAC
...

[TRAJ]
COORDINATES = XYZAC
...

If I change three "A"s to three "B," only the X, Y, and Z axes are displayed in Probe Basic. I also adjusted the range [AXIS_X] to [AXIS_C].
Can someone help me?
  • CORBETT
  • CORBETT's Avatar
17 May 2025 22:54 - 17 May 2025 23:12
Replied by CORBETT on topic el5151 reseting counts

el5151 reseting counts

Category: EtherCAT

@ Philip Lydin

You may have already done this, but you need to setup the EL5151 itself.  If you bought the terminal used, then I would do a factory reset to clear whatever someone did before you and then set it up.  Like Dominik Braun (DB1981) said years ago, you never know what someone has done before you.

If you don’t have Twincat, then you can do it from the command line (CoE).  Make sure to put the correct terminal number for the -p.  I have -p1 below as that would put it right behind the EK1100.  After the command, wait a few seconds, then power cycle the Beckhoff hardware.  (there are 2 hyphens before type)

sudo ethercat download -p1 0x1011 0x01 0x64616F6C --type uint32

The above will put it in quadrature.  If you want “counter mode”, then do the following command.  Don’t forget to wait and power cycle again after the new command.

sudo ethercat download -p1 0x8000 0x03 --type bool 1

If it’s already in counter mode with C reset, then you should be able to find out before doing the above commands with
sudo ethercat upload -p1 0x8000 0x01 - -type bool
If it’s in counter mode with C reset, then you should get something like  
0x01 1

Just don’t forget to put the correct terminal location for the -p as you don’t want to “brick” one of your other terminals.  Twincat is totally safe to do anything with the terminals, but you can permanently brick one doing CoE.  Even though Twincat is free, I still do CoE most of the time.


Like Hakan stated, Beckhoff’s manuals have everything, just a matter of finding the answer.


Hope it helps,
Robert
  • Giovanni
  • Giovanni
17 May 2025 21:48 - 17 May 2025 21:51
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3

NativeCam on LinuxCNC 2.9.3

Category: NativeCAM

The file attached is a dirty patch to test only with qt_dragon interface.
The DISPLAY test function is disabled to allow NativeCAM to run.


If you would try NativeCAM with qt_dragon, follow the installation procedure (search in previous messages)
Replace the ncam.py file with the attached and add the line in green in the .ini file:

# required NativeCAM item:
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_LOCATION = tabWidget_utilities
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

It will run in a strange way:
LinuxCNC will start with the NativeCAM error. Click OK
NativeCAM will start (not embedded)
LinuxCNC screen shows up.

The NativeCAM tab is empty and useless, but to use NativeCAM use ALT-TAB keys to bring its window up.
After sending the program to LinuxCNC, use ALT-TAB keys to bring  LinuxCNC up.

It's a terrible way to use it, but for now it at least  works.

Regards
Giovanni





 
  • Hakan
  • Hakan
17 May 2025 21:30

Effect of lengthening the servo thread period?

Category: Basic Configuration

Another way is to take a feedrate say 200 mm/min and divide that by 60 for seconds and 1000 for servo thread speed and you get 3.3 micrometers between position updates. 500 Hz servo thread gives 6.6 micrometers between position updates. No buffering, all real time.
I guess there are situations where this can make a difference, but normally not I would say.
Displaying 2836 - 2850 out of 25414 results.
Time to create page: 0.632 seconds
Powered by Kunena Forum