Advanced Search

Search Results (Searched for: )

  • MatthiasCNC
  • MatthiasCNC
04 Oct 2025 19:04 - 04 Oct 2025 19:05
Replied by MatthiasCNC on topic CiA 402 in 1.15.0

CiA 402 in 1.15.0

Category: EtherCAT

Hello,
I am new to LinuxCNC. I am trying to get a Festo CMMT-AS-C2-3A-EC-S1 to work via Ethercat with the CiA402. Unfortunately, I keep getting error messages when I start it up and have no idea what the problem could be.

Error message when starting up.

Debug file information:
Note: Using POSIX realtime
Failed to execute SDO upload: Input/output error
LCEC: slave 0.yaxis: Failed to execute SDO upload (0x6060:0x00, error -5, abort_code 00000000)
Failed to execute SDO download: Input/output error
LCEC: slave 0.zaxis: Failed to execute SDO download (0x607c:0x00, size 4, byte0=1, error -5, abort_code 00000000)
LinuxCNC Ethercat crashed with signal 11
-- STACK TRACE START
0    /usr/lib/linuxcnc/modules/lcec.so(+0xfc8c) [0x7ff70e4ddc8c]
1    /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7ff70f2f7050]
2    /lib/x86_64-linux-gnu/libc.so.6(+0xa9d76) [0x7ff70f364d76]
3    /usr/lib/linuxcnc/modules/motmod.so(+0xd9b8) [0x7ff70e6309b8]
4    /usr/lib/linuxcnc/modules/motmod.so(+0xd5ad) [0x7ff70e6305ad]
5    /usr/lib/linuxcnc/modules/motmod.so(+0xd2c3) [0x7ff70e6302c3]
6    /usr/lib/linuxcnc/modules/motmod.so(+0x4a46) [0x7ff70e627a46]
7    /usr/bin/rtapi_app(rtapi_print_msg+0xbf) [0x558ee0026f2f]
8    /usr/lib/linuxcnc/modules/lcec.so(+0x11e94) [0x7ff70e4dfe94]
9    /usr/lib/linuxcnc/modules/lcec.so(+0x1316d) [0x7ff70e4e116d]
10    /usr/lib/linuxcnc/modules/lcec.so(rtapi_app_main+0x348) [0x7ff70e4dee76]
11    /usr/bin/rtapi_app(+0xbd67) [0x558ee0029d67]
12    /usr/bin/rtapi_app(+0xc6be) [0x558ee002a6be]
13    /usr/bin/rtapi_app(+0xccbc) [0x558ee002acbc]
14    /usr/bin/rtapi_app(+0x7a04) [0x558ee0025a04]
15    /usr/bin/rtapi_app(main+0x70f) [0x558ee002548f]
16    /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7ff70f2e224a]
17    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7ff70f2e2305]
18    /usr/bin/rtapi_app(_start+0x21) [0x558ee00258f1]
-- STACK TRACE END
./cia402.hal:16: waitpid failed /usr/bin/rtapi_app lcec
./cia402.hal:16: /usr/bin/rtapi_app exited without becoming ready
./cia402.hal:16: insmod for lcec failed, returned -1
HAL: ERROR: pin 'lcec.0.3.out-01' not found
shutdown.hal:2: unlink failed
2648
Stopping realtime threads
Unloading hal components
Waited 3 seconds for master.  giving up.
Note: Using POSIX realtime
lcec: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
homemod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
tpmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX realtime

I have attached my hal, ini, and xml files below. Does anyone have any idea what I have configured incorrectly?

Thank you.
  • chrischan
  • chrischan
04 Oct 2025 18:45
Replied by chrischan on topic Probe screen v2 - malfunction?

Probe screen v2 - malfunction?

Category: Advanced Configuration

Hey guys
I have similar problem.
When hitting page up or page down button, the z axis starts moving until the end stops. And only stops moving if probe sensor is touched or esc button. 
Why does the probe screen behaves that way? 
is it possible to remove this function? 

I started to read the different py files, but didn't find a clue to this problem.
  • Aciera
  • Aciera's Avatar
04 Oct 2025 17:50

Axis configuration not fully working on 2.9.6

Category: AXIS

So I don't have to worry about the pins not being created?


No. Hal connections are created on startup when the hal files are read. If a hal pin used in any of your hal files was missing the config would not start at all. So your problem is not because of 'signals not being connected correctly'.
One thing to do is start your config from the terminal and check the output in the terminal. Another is to check the XHC WHB04B hal component using the halshow tool to confirm button press events are actually reaching your hal connections.
  • Fabse
  • Fabse
04 Oct 2025 17:32

Axis configuration not fully working on 2.9.6

Category: AXIS

Thank you for your quick response! I didn't think about it that way... So I don't have to worry about the pins not being created?
What could be the reason for some of the signals not being connected correctly? I mean, it was working on 2.9.4 after all. I managed to solve a lot of problems while setting up my machine, most of them thanks to posts on this forum. This issue i can not wrap my head around.
But I will do what you suggest and check the signals.
  • Digger011
  • Digger011
04 Oct 2025 17:26
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H

Installing LAN driver for RealTek 8111H

Category: Installing LinuxCNC

I did some research and it looks like something is wrong with installation. I have no problem of reinstalling it from scratch, if it makes sense.
  • Aciera
  • Aciera's Avatar
04 Oct 2025 17:22

Axis configuration not fully working on 2.9.6

Category: AXIS

If your config would need any of those pins it would not start up at all but fail with an error about a missing hal pin. The first place to troubleshoot your issue is to open the halshow tool and check the signals coming from the pendant.
  • Fabse
  • Fabse
04 Oct 2025 16:49

Axis configuration not fully working on 2.9.6

Category: AXIS

Hey guys,
my config works as i want it on linuxcnc 2.9.4. After updating to 2.9.5 (or 2.9.6) it does not anymore. It mainly is the pendant that is not working as before. I use a china pendant (XHC WHB04B). Most buttons don't work anymore. For example when staring my machine, I hit the "reset" button. With version 2.9.4 I can home my machine after that. With 2.9.6 nothing happens. Control via GUI seems to work just fine.
I think the problem must be related to one of these, or maybe both points in the changelog:
  • halui: on startup, set the first configured axis as ‘is-selected’ instead of X
  • halui: Don’t create ‘halui.axis.’- pins for unconfigured axes
I looked at all created HAL pins under 2.9.4 and 2.9.6. I compared the output and found some missing pins under 2.9.6. I don't see why i would need these pins, but I figured it maybe where my error is? See the atteched pic for the missing pins.
I hope someone of the pros on this forum can help me. I don't know how to solve this on my own.
 
  • Digger011
  • Digger011
04 Oct 2025 16:43
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H

Installing LAN driver for RealTek 8111H

Category: Installing LinuxCNC

I've got this replay and I don't understand what is going on.

milos@debian:~$ sudo apt-get install r8168-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
r8168-dkms is already the newest version (8.048.03-3).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142+deb12u1) ...
update-initramfs: deferring update (trigger activated)
Setting up r8168-dkms (8.048.03-3) ...
Removing old r8168-8.048.03 DKMS files...
Deleting module r8168-8.048.03 completely from the DKMS tree.
Loading new r8168-8.048.03 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/r8168-8.048.03/dkms.conf)
Building for 6.1.0-30-rt-amd64
Building initial module for 6.1.0-30-rt-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/r8168/8.048.03/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.1.0-30-rt-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.048.03/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-30-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:
r8168-dkms
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
  • Digger011
  • Digger011
04 Oct 2025 16:41
Replied by Digger011 on topic Installing LAN driver for RealTek 8111H

Installing LAN driver for RealTek 8111H

Category: Installing LinuxCNC

Hi Tommy,
I did it, and there was no Lan card reported. Even, if I tried to add new connection, didn't work. :(
  • tlightus
  • tlightus
04 Oct 2025 15:29 - 04 Oct 2025 15:31
Replied by tlightus on topic Potential All-in-One Single Board Computers

Potential All-in-One Single Board Computers

Category: Computers and Hardware

  With the RPI4 being a viable contender albeit marginal for linuxcnc I thought I'd share some results i got from a stock RPI5 with a SD and with the addition of a nvme hat. I think they have knocked it out of the park with this one.The first one is with a nvme ssd hat added and the second one is with the standard SD card.  
  • wusel0464
  • wusel0464
04 Oct 2025 15:01
Replied by wusel0464 on topic Change camera resolution Qtdragon?

Change camera resolution Qtdragon?

Category: Qtvcp

Hello,

Sometimes try to tinker something that roughly corresponds to functionality, which I am looking for for Qtdragon.
I have little idea what I copied together. But it only runs in studio code how to explain the Linuxcnc, so I am light years away to understand it.
Here is the code snippet:

import cv2

cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1600)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 1200)

while True:
ret_val, img = cap.read()
down_width = 800
down_height = 600
down_points = (down_width, down_height)
img = cv2.resize(img, down_points, interpolation= cv2.INTER_AREA)
cv2.imshow('my webcam', img)

if cv2.waitKey(1) == 27:
break # esc to quit
cap.release()
cv2.destroyAllWindows()

Best regards and have a nice weekend, Frank.
Translation errors come from Google.
  • ShemJ
  • ShemJ's Avatar
04 Oct 2025 14:56

EL8 - Rehoming axis goes max speed ignores machine and driver limits

Category: EtherCAT

Maybe it is in the homing file? Perhaps I can change the homing file to rehome rather than return to home if that it is indeed the case that it is not actually rehoming?
  • DerKlotz
  • DerKlotz
04 Oct 2025 14:01
Replied by DerKlotz on topic Mesa 7i76e external 5V

Mesa 7i76e external 5V

Category: Computers and Hardware

Ok, thanks
  • PCW
  • PCW's Avatar
04 Oct 2025 13:54
Replied by PCW on topic Mesa 7i76e external 5V

Mesa 7i76e external 5V

Category: Computers and Hardware

No jumpers need to be changed, and you and run the logic side of the 7I76E on 5V, but
since the field I/O side needs 12/24V, there usually is not much point.
Displaying 2671 - 2685 out of 22397 results.
Time to create page: 0.325 seconds
Powered by Kunena Forum