Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
09 Jun 2026 17:48
Replied by Aciera on topic Maschine faehrt Endschlter nicht an

Maschine faehrt Endschlter nicht an

Category: General LinuxCNC Questions

Was heisst sind nicht 'ansprechbar'? Die Pins scheinen angezeigt zu werden.

Kommt der Fehler gleich nach dem öffnen von 'Halshow', wenn du etwas anklickst oder wenn du einen HAL-Befehl auführst?
  • Muecke
  • Muecke's Avatar
09 Jun 2026 17:31 - 09 Jun 2026 18:07

Nach Umzug der LinuxCNC-Konfiguration auf neuen Rechner sporadische Positionsfeh

Category: Deutsch

Diese Daten stammen alle vom Debian 13 - Rechner !

Mac: Adressen.

cnc@debian13:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: MesaCard: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 58:04:4f:81:90:04 brd ff:ff:ff:ff:ff:ff
altname enx58044f819004
3: EtherCAT: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 58:04:4f:81:9a:7d brd ff:ff:ff:ff:ff:ff
altname enx58044f819a7d
4: Internet: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 38:d5:47:df:4c:2f brd ff:ff:ff:ff:ff:ff
altname enx38d547df4c2f
cnc@debian13:~$


> Auf alle fälle fliegt deine Mesa Karte raus.
cnc@debian13:~$ ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.
64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.015 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=64 time=0.024 ms
64 bytes from 192.168.1.10: icmp_seq=4 ttl=64 time=0.020 ms
64 bytes from 192.168.1.10: icmp_seq=5 ttl=64 time=0.021 ms
64 bytes from 192.168.1.10: icmp_seq=6 ttl=64 time=0.018 ms
64 bytes from 192.168.1.10: icmp_seq=7 ttl=64 time=0.016 ms
^C
--- 192.168.1.10 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6135ms
rtt min/avg/max/mdev = 0.015/0.019/0.024/0.003 ms
cnc@debian13:~$

Ich bin mir nicht sicher was du meinst.
in der INI steht
[HM2]
DRIVER = hm2_eth
ADDRESS = 192.168.1.121
IPADDRESS = 192.168.1.121

cnc@debian13:~$ ping 192.168.1.121
PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data.
64 bytes from 192.168.1.121: icmp_seq=1 ttl=64 time=0.170 ms
64 bytes from 192.168.1.121: icmp_seq=2 ttl=64 time=0.113 ms
64 bytes from 192.168.1.121: icmp_seq=3 ttl=64 time=0.086 ms
64 bytes from 192.168.1.121: icmp_seq=4 ttl=64 time=0.109 ms
64 bytes from 192.168.1.121: icmp_seq=5 ttl=64 time=0.057 ms
64 bytes from 192.168.1.121: icmp_seq=6 ttl=64 time=0.059 ms
64 bytes from 192.168.1.121: icmp_seq=7 ttl=64 time=0.086 ms
64 bytes from 192.168.1.121: icmp_seq=8 ttl=64 time=0.098 ms
64 bytes from 192.168.1.121: icmp_seq=9 ttl=64 time=0.069 ms
^C
--- 192.168.1.121 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8198ms
rtt min/avg/max/mdev = 0.057/0.094/0.170/0.032 ms
cnc@debian13:~$


Habe die IP in der INI geändert auf:
[HM2]
DRIVER = hm2_eth
ADDRESS = 192.168.1.121
IPADDRESS = 192.168.1.121

Maschine Demo2023 lässt sich nicht starten, Bericht im Anhang, da die Adresse nicht stimmt.
Adresse habe ich wieder zurück geändert.

Ich weis gerade nicht was ich bei der Installation der Mesakarte noch überprüfen soll / kann.


[EDIT]
habe gerade die Fehlermeldung, erhalten nach dem Start unten Rechts im AXIS
hm/hm_7i95.0: error finishing read! item=9
  • Muecke
  • Muecke's Avatar
09 Jun 2026 15:18 - 09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 13:42 - 09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
09 Jun 2026 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
Displaying 46 - 60 out of 15162 results.
Time to create page: 0.271 seconds
Powered by Kunena Forum