Advanced Search

Search Results (Searched for: )

  • Muecke
  • Muecke's Avatar
Today 15:18 - Today 15:27

Nach Umzug der LinuxCNC-Konfiguration auf neuen Rechner sporadische Positionsfeh

Category: Deutsch

Servus,

Antwort: Eingerichtet habe ich das über die ISO ;-) von der LinuxCNC.org-Seite, also Debian 13 inkl. LinuxCNC.

Ich habe die LinuxCNC-Konfiguration „demo2023“ vom Debian-12-Rechner kopiert und 1:1 auf den Debian-13-Rechner übertragen.

> Dein Debian 12 lief auf
> enp1s0: 90:1b:0e:c4:87:3a
> enp2s0: 08:be:ac:22:81:a7

Richtig, Debian 12 hatte zwei Netzwerkkarten: eine für Internet und eine für die Mesa-Karte.
Der neue Debian-13-Rechner hat drei Netzwerkkarten, da jetzt noch die EtherCAT-Sachen dazugekommen sind.

> Jetzt auf enp3s0 und enp4s0 (zugehörige MAC-Adressen??)

Das muss ich noch nachschauen. Ich denke, ich schaffe das heute gegen ca. 18 Uhr.

> Auf alle Fälle fliegt Deine Mesa-Karte raus.

Ok, was bedeutet das genau?
LinuxCNC findet die Mesa-Karte grundsätzlich, verliert diese aber im laufenden Betrieb?

> Gehe noch mal die Installationsschritte von Mesa durch und prüfe die Zuordnungen der MAC-Adressen.

Das war damals über das mitgelieferte Tool, wenn ich mich richtig erinnere. Oder musste ich das damals separat herunterladen? Das muss ich noch einmal nachschauen.

Ganz dunkel kommt mir da noch etwas in Erinnerung, dass bei der Einrichtung der Mesa-Karte etwas wegen der Zuordnung bzw. Netzwerkkonfiguration gemacht werden musste.

[EDIT]Das ist schon etwas peinlich für mich. Die Einrichtung der Netzwerkkarte habe ich sogar schriftlich festgehalten.
forum.linuxcnc.org/42-deutsch/49291-zwei...sa-internet?start=10
  • karlhe
  • karlhe
Today 15:01
Maschine faehrt Endschlter nicht an was created by karlhe

Maschine faehrt Endschlter nicht an

Category: General LinuxCNC Questions

Hallo ich brauche mal wieder Hilfe....


Meine Maschie startet, lässt sich in allen Achsen verfahren.

Die Refernzschalter werden nicht erkannt. Bei der Kontrolle in der Hal sind die   Endschalter nicht ansprechbar.

Fehlermeldung im Foto
 
  • Aciera
  • Aciera's Avatar
Today 13:42 - Today 14:44
Replied by Aciera on topic XYZA Simulation Install Problems

XYZA Simulation Install Problems

Category: Basic Configuration

For a preview with A axis work side rotation have a look at the '!' feature that can be used in the [DISPLAY] GEOMETRY setting in the ini file:

 
GEOMETRY = !AXYZ


Note that the above option cannot handle offsets.
See this thread for more:
forum.linuxcnc.org/10-advanced-configura...axis-display?start=0



If you want a vismach model to run the code and  have the tool path rotating  with the part have a look at:
configs/sim/axis/vismach/5axis/table-dual-rotary

This is an XYZAB kinematic with A being a work side rotation (for your purpose you can simply ignore the B axis and the 'TCP' mode):

 
  • rodw
  • rodw's Avatar
Today 11:58
Replied by rodw on topic Measurement Only Axes

Measurement Only Axes

Category: Basic Configuration

I think you should use this
linuxcnc.org/docs/html/gui/mdro.html#_ini_file_options

Otherwise LinuxCNC needs to command your motion which you are not doing. 

I'd love to see a config where you simply enter a bend list and it does the maths to determine the commanded position 
  • gmr
  • gmr
Today 10:12
Measurement Only Axes was created by gmr

Measurement Only Axes

Category: Basic Configuration

Hi All,

I am trying to add a measurement only axis to my press brake. The machine is hydraulic (a Promecam) and the bottom bed moves up when the pedal is pushed. I have put a linear scale on the bottom bed so I can measure how much it travels up. I want to measure how far it travels exactly, so I can relate this to the bent angle of the metal.

Anyway, I have added a W axis to the INI and introduced a new joint (joint 1) for it. I can see this in the Axis GUI and it all works nicely, when the encoder moves, the W axis value updates. But when I type "g92 w0" to set a zero point, it doesn't set it to zero. I think this is because the dummy joint I have added for it isn't getting its command position updated. Please see config snippet below:

HAL file excerpt
#
# Setup bed axis (W)
# (this is a DRO only, and just measures the bending depth we actually reach)

# position and velocity feedback
net w-pos-fb <= hm2_7c81.0.encoder.01.position
net w-pos-fb => joint.1.motor-pos-fb

# linear axis encoder, w axis
setp hm2_7c81.0.encoder.01.scale  -200        # this many pulses per mm
setp hm2_7c81.0.encoder.01.filter 0           # no filtering
setp hm2_7c81.0.encoder.01.index-enable true  # encoder has an index

INI file excerpt
#********************
# Axis W - this is the linear scale on the bed
# it needs a dummy joint
#********************
[AXIS_W]
MIN_LIMIT = -200.0
MAX_LIMIT = 200.0
MAX_VELOCITY = 10.0
MAX_ACCELERATION = 50.0
LOCK_VELOCITY = 0.0
LOCK_ACCELERATION = 0.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 100.0
MAX_ACCELERATION = 500.0

# axis will appear homed immediately
HOME_SEARCH_VEL = 0.0
HOME_LATCH_VEL  = 0.0
HOME_USE_INDEX  = NO
HOME_SEQUENCE   = 0

FERROR = 99999.0
MIN_FERROR = 99999.0



Any thoughts?

Thanks,
Greg
  • grandixximo
  • grandixximo's Avatar
Today 08:44
Replied by grandixximo on topic XYZA Simulation Install Problems

XYZA Simulation Install Problems

Category: Basic Configuration

axis has 3 axis or 9, I mean 9 will work for testing 4...
  • rodw
  • rodw's Avatar
Today 07:06
Replied by rodw on topic Working with VLAN

Working with VLAN

Category: Basic Configuration

It would be much easier to ditch the vlans, flick the switch on the Mesa card so it is set to 10.10.10.10
And set the PC's NIC on that segment to be 10.10.10.1
Please read man hm2_eth on how to set this up.
  • andrax
  • andrax's Avatar
Today 04:58

Nach Umzug der LinuxCNC-Konfiguration auf neuen Rechner sporadische Positionsfeh

Category: Deutsch

Moin,

Frage: wie hast du den neuen Rechner Debian 13 eingerichtet?
Hast du nur die Konfiguration Kopiert?
Ich sehe folgendes:
[dmesg]
[Mo Jun  8 20:25:22 2026] r8169 0000:03:00.0 MesaCard: renamed from enp3s0
[Mo Jun  8 20:25:22 2026] r8169 0000:04:00.0 EtherCAT: renamed from enp4s0
EtherCAT: Accepting 58:04:4F:81:9A:7D as main device for master 0.
Mesa: r8169 0000:03:00.0 MesaCard: Link is Down enp3s0

Dein Debian 12 lief auf
enp1s0: 90:1b:0e:c4:87:3a
enp2s0: 08:be:ac:22:81:a7

Jetzt auf enp3s0 und enp4s0 (zugehörige Mac Adressen??)
Auf alle fälle fliegt deine Mesa Karte raus.
Gehe noch mal die installationsschritte von mesa durch und prüfe die Zuordnungen der MAC Adressen.

PS: Auch wenn du in Linuxcnc kein Ethercat lädst, werden dennoch die Kernel Module geladen und Ethercat gestartet.
 
  • tommylight
  • tommylight's Avatar
Yesterday 02:35
Replied by tommylight on topic Installing LinuxCNC RTAI

Installing LinuxCNC RTAI

Category: Installing LinuxCNC

I do not think you're doing something wrong, but i am sure it is the dreadful "raspi" issue that's been plaguing the official ISO for several years, bloody hell...
Sorry, i have extremely good reasons to be p.o.
forum.linuxcnc.org/9-installing-linuxcnc...e-official-amd64-iso
Fix that, then try again to install RTAI.
  • Uthayne
  • Uthayne
Yesterday 02:32

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

Are you still looking for testers? I am at a position where I have some capacity to perform testing on this device with you.

I have a 1000w fiber laser running LinuxCNC that I use ~15 hours a week for the last 2 years. I am actively pushing the limits of my height control using the BCL-amp - mainly limited by detection range and sampling rate. Looking at your specs I think it would blow the BCL amp out of the water and lead to more capabilities.

I have a Raytools head BM110
  • ClimbingMike
  • ClimbingMike's Avatar
Yesterday 01:37
Installing LinuxCNC RTAI was created by ClimbingMike

Installing LinuxCNC RTAI

Category: Installing LinuxCNC

Hello community:

   I have been struggling to install LinuxCNC with the RTAI patch.
   My current computer is Dell Optiplex 980. I was following the previous instructions from this thread

[Solved] Trying to install RTAI, got errors - LinuxCNC


The first error I see if after I tried apt update the

W: Skipping acquire of configured file '2.9-rt/source/Sources' as repository 'www.linuxcnc.org bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)

Then after I enter apt upgrade

raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-49-rt-amd64 (--configure):
installed linux-image-6.1.0-49-rt-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
linux-image-rt-amd64 depends on linux-image-6.1.0-49-rt-amd64 (= 6.1.174-1); however:
Package linux-image-6.1.0-49-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rtai-modules-5.4.258:
rtai-modules-5.4.258 depends on linux-image-5.4.258-rtai-amd64; however:
Package linux-image-5.4.258-rtai-amd64 is not configured yet.

dpkg: error processing package rtai-modules-5.4.258 (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-49-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.4.258-rtai-amd64
linux-image-6.1.0-49-rt-amd64
linux-image-rt-amd64
rtai-modules-5.4.258
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I get installation error on all the RTAI packages

After I purge the
sudo apt-get purge linuxcnc-uspace
sudo apt-get purge linuxcnc-doc*

and install the dpkg
sudo dpkg -i ./linux-image-5.4.258-rtai-amd64_5.4.258-rtai-amd64-2_amd64.deb

I get this error after while instaling
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-49-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-49-rt-amd64
Found linux image: /boot/vmlinuz-6.1.0-30-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-30-rt-amd64
Found linux image: /boot/vmlinuz-5.4.258-rtai-amd64
Found initrd image: /boot/initrd.img-5.4.258-rtai-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Linux Mint 22.3 Zena (22.3) on /dev/sda6
Found Ubuntu 18.04.6 LTS (18.04) on /dev/sda7
done
dpkg: error processing package linux-image-5.4.258-rtai-amd64 (--install):
installed linux-image-5.4.258-rtai-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.4.258-rtai-amd64

then I restart the PC
I do see the RTAI kernel under grub and is able to log in to the machine but when I try to run
Latency-histogram
I get the error pop-up
Stop linuxcnc and hal first(try$halrun -U)

the $halrun -u report
Error: Can't remove RTAI modules kill the following processe(s) first
USER PID ACCESS COMMAND
/dev/rtai_shm: root 1191 ...m halcmd

Can someone point me a hint where i did wrong?
 
  • tommylight
  • tommylight's Avatar
Yesterday 01:19
Replied by tommylight on topic XYZA Simulation Install Problems

XYZA Simulation Install Problems

Category: Basic Configuration

There should be many included 4 axis sims with LinuxCNC, so what am i missing?
  • tommylight
  • tommylight's Avatar
Yesterday 01:17
Replied by tommylight on topic Working with VLAN

Working with VLAN

Category: Basic Configuration

1. everything related to networking is Debian
2. pretty sure LinuxCNC does not use IPV6 at all
Remove this line
post-up sysctl -w net.ipv6.conf.eno1/20.disable_ipv6=1
  • fromi5
  • fromi5
Yesterday 22:43
Replied by fromi5 on topic Working with VLAN

Working with VLAN

Category: Basic Configuration

If LinuxCNC fails to verify that IPv6 is disabled and looks for the script/path in the wrong place, that is rather a software bug, not an OS issue.
  • currinh
  • currinh's Avatar
Yesterday 21:52
Replied by currinh on topic XYZA Simulation Install Problems

XYZA Simulation Install Problems

Category: Basic Configuration

I found the "locking up" mentioned above was due to a loop counting in the wrong direction. I'm back to the stock XYZ sim.axis version. Other than the "real time delay" at start up this seems to work.

For hand coding, which is what I wanted the simulator for, I'm only doing fourth axis positioning. If I just comment out the A axis moves I can go a long ways towards de-bugging code. Then uncomment and carefully check the A moves before going to the real machine. Should work OK.

But if anyone has a XYZA simulator that works like a mill with rotary table I'd sure like to get a copy. Thank you.
Displaying 1 - 15 out of 286513 results.
Time to create page: 1.950 seconds
Powered by Kunena Forum