Advanced Search

Search Results (Searched for: )

  • kmeld
  • kmeld
12 Nov 2025 16:15

Program stopped - do not understand the cause

Category: General LinuxCNC Questions

Hi,
I have a problem I am not able to figure out at all. So, I need some help.

I have simple 4 axis controller build on MESA 7i96S.
I have only stepper motors connected phisicaly. Forth controller is not connected.

I am running this machine fine for most of the time. 
But sometimes I am getting this (error message in the right bottom of the screen):

"hm2/hm2_7i9666666s.0:Watchdog has bit (set the /has-bit.pin to False to resume)"

below this is second error message:

"Unexpected realitime delay on task 0 with period 1000000
This Message will only appear once per session.
Run the Latency Test and  before continuing"


I find LinuxCNC in a state of e-stop and machine not running. But position where program is interrupted is not necsarely concistant with phisical position of the machine.

If I get controller from e-stop state jogginf works in the controller but machine does not move.

What can be the cause and nature of this problem?

Cris

 
  • tommylight
  • tommylight's Avatar
12 Nov 2025 16:04
  • MillingMarvin
  • MillingMarvin
12 Nov 2025 15:57 - 12 Nov 2025 16:00

Ethercat - assinged the same pdos to multiple Slave-Signals?

Category: EtherCAT

Hello Everyone,
i am just starting out with some Beckhoff Modules and ethercat communication.
To be speciffic:
EK1100
EL1014 and EL1014-0010
EL2004
EL5101
EL4038

I only addet :
HALFILE = ethercat.hal
the the axis.ini file.
The axis.sim config is otherwise untouched

I used the basic xml definition like so:
<slave idx="0" type="EK1100" name="EK1100_01"/>
<slave idx="1" type="EL1014" name="EL1014_01"/>

Full xml file is attached.

When i arrange them in this order:
K1100, EL1014, EL2004
I can start Linuxcnc and see/use them in the Halshow window. (set the output of the EL2004 Module and sense the Input on the EL1014 module)

But if i try to stack more EL1014, I get the error:
Failed to register PDO entry: No such file or directory

Debug file information:
[spoiler]
Note: Using POSIX realtime
Failed to register PDO entry: No such file or directory
LCEC: master 0 PDO entry registration failed
LCEC: failure, clearing config
LCEC: exiting
LCEC: returning -EINVAL
lcec: rtapi_app_main: Invalid argument (-22)
./ethercat.hal:4: waitpid failed /usr/bin/rtapi_app lcec
./ethercat.hal:4: /usr/bin/rtapi_app exited without becoming ready
./ethercat.hal:4: insmod for lcec failed, returned -1
9404
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
[/spoiler]

after some reserch on pdos, it is obvious that every pdo should only be used once per master-slave config.

[b]Why does my Ethercat master distribute the same pdo to different salves? Or even better, how can I fix this?
Any help is greadly appreciated.

Do you need more information on my setup or additional files?

my output after:[/b]
  • [b]ethercat pdos
    
    and[/b]
    • [b]ethercat slave
      
      [spoiler]
      
      [code]cnc@cnc:~$ ethercat pdos
      === Master 0, Slave 1 ===
      SM0: PhysAddr 0x1000, DefaultSize    1, ControlRegister 0x00, Enable 1
        TxPDO 0x1a00 "Channel 1"
          PDO entry 0x6000:01,  1 bit, "Input"
        TxPDO 0x1a01 "Channel 2"
          PDO entry 0x6010:01,  1 bit, "Input"
        TxPDO 0x1a02 "Channel 3"
          PDO entry 0x6020:01,  1 bit, "Input"
        TxPDO 0x1a03 "Channel 4"
          PDO entry 0x6030:01,  1 bit, "Input"
      === Master 0, Slave 2 ===
      SM0: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x00, Enable 0
        TxPDO 0x1a00 "Channel 1"
          PDO entry 0x3101:01,  1 bit, "Input"
        TxPDO 0x1a01 "Channel 2"
          PDO entry 0x3101:02,  1 bit, "Input"
        TxPDO 0x1a02 "Channel 3"
          PDO entry 0x3101:03,  1 bit, "Input"
        TxPDO 0x1a03 "Channel 4"
          PDO entry 0x3101:04,  1 bit, "Input"
      === Master 0, Slave 3 ===
      SM0: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x00, Enable 0
        TxPDO 0x1a00 "Channel 1"
          PDO entry 0x6000:01,  1 bit, "Input"
        TxPDO 0x1a01 "Channel 2"
          PDO entry 0x6010:01,  1 bit, "Input"
        TxPDO 0x1a02 "Channel 3"
          PDO entry 0x6020:01,  1 bit, "Input"
        TxPDO 0x1a03 "Channel 4"
          PDO entry 0x6030:01,  1 bit, "Input"
      === Master 0, Slave 4 ===
      SM0: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x00, Enable 0
        TxPDO 0x1a00 "Channel 1"
          PDO entry 0x3101:01,  1 bit, "Input"
        TxPDO 0x1a01 "Channel 2"
          PDO entry 0x3101:02,  1 bit, "Input"
        TxPDO 0x1a02 "Channel 3"
          PDO entry 0x3101:03,  1 bit, "Input"
        TxPDO 0x1a03 "Channel 4"
          PDO entry 0x3101:04,  1 bit, "Input"
      === Master 0, Slave 5 ===
      SM0: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x00, Enable 0
        TxPDO 0x1a00 "Channel 1"
          PDO entry 0x3101:01,  1 bit, "Input"
        TxPDO 0x1a01 "Channel 2"
          PDO entry 0x3101:02,  1 bit, "Input"
        TxPDO 0x1a02 "Channel 3"
          PDO entry 0x3101:03,  1 bit, "Input"
        TxPDO 0x1a03 "Channel 4"
          PDO entry 0x3101:04,  1 bit, "Input"
      === Master 0, Slave 6 ===
      SM0: PhysAddr 0x0f00, DefaultSize    0, ControlRegister 0x44, Enable 9
        RxPDO 0x1600 "Channel 1"
          PDO entry 0x7000:01,  1 bit, "Output"
        RxPDO 0x1601 "Channel 2"
          PDO entry 0x7010:01,  1 bit, "Output"
        RxPDO 0x1602 "Channel 3"
          PDO entry 0x7020:01,  1 bit, "Output"
        RxPDO 0x1603 "Channel 4"
          PDO entry 0x7030:01,  1 bit, "Output"
      cnc@cnc:~$ ethercat slave
      0  0:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
      1  0:1  PREOP  +  EL1014 4Ch. Dig. Input 24V, 10 s
      2  0:2  PREOP  +  EL1014 4K. Dig. Eingang 24V, 10 s
      3  0:3  PREOP  +  EL1014 4K. Dig. Eingang 24V, 10 s
      4  0:4  PREOP  +  EL1014-0010 4K. Dig. Eingang 24V, galv. getrennt, 10 s
      5  0:5  PREOP  +  EL1014-0010 4K. Dig. Eingang 24V, galv. getrennt, 10 s
      6  0:6  PREOP  +  EL2004 4Ch. Dig. Output 24V, 0.5A
      [/spoiler]
      
      It does matter which EL1014 Module is in which position, the sequence of the assigned pdos is not allways the same.
      
      Greatings from germany!
      [/b][/code]
[b][code]Sorry, wrong category, could someone move this to "ethercat"?
[/b][/code]
[b][code] 
[/b][/code]
  • langdons
  • langdons's Avatar
12 Nov 2025 15:46 - 12 Nov 2025 18:30
Replied by langdons on topic How to disable buttons in Probe Basic

How to disable buttons in Probe Basic

Category: QtPyVCP

Is your old install with the old version still intact?

Why do you want to upgrade?

What version is the "old version", what version is the "new version"?
  • tsaG
  • tsaG
12 Nov 2025 14:45
Replied by tsaG on topic Probebasic tool length calculation

Probebasic tool length calculation

Category: QtPyVCP

No, I did not modify it.

I think I saw something in the Offset tabs but I am unable to fully understand and get rid of it. I did some tests but I was not able to remove the offset.
I mean, the mill works so far as every tool has the same huge offset but I still would like to understand why and where it comes from. I did a video that could help, but, to be honest, I do not know what to do....

I attached my var file (renamed as ini as the forum apparently doesn't allow uploading var files) as well as the machine config.
I also created a video of clicking around in the menu. cloud.bihnairy.de/s/eDjYwNrbX8apHQF
 
  • Jensner
  • Jensner
12 Nov 2025 14:14 - 12 Nov 2025 15:29

Nach Neuinstallation upgrade auf Kernel-Release 6.3.0-rt11-linuxcnc

Category: Deutsch

Hello Andy 

"sudo apt-cache search linux-image-rt" gives me the following lines back:
linux-image-rt-amd64 - Linux für 64-Bit-PCs (Metapaket)
linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package)

There is no Version-Info.

.. doesn`t matter. I will install the LinuxCNC 2.9.4 Debian 12 Bookworm PREEMPT-RT ISO

Best regards
Jens
  • andypugh
  • andypugh's Avatar
12 Nov 2025 13:50
Replied by andypugh on topic 7i92 cnc motion controller from aliexpress?

7i92 cnc motion controller from aliexpress?

Category: Driver Boards

Do you have a link? I have no idea what that is (it isn't a 7i92) but I do see a little "LinuxCNC" logo so possibly it is a clone.
Except to be a clone there would need to be an FPGA chip in that big pad array in the middle.

The "real" 7i92 is here:
store.mesanet.com/index.php?route=produc...t_id=378&search=7i92
or here:
eusurplus.com/index.php?route=product/pr...t_id=168&search=7i92


Is it this one?
www.aliexpress.com/item/1005010164851154.html

I would probably pay the extra for Mesa support and warranty.
  • Jensner
  • Jensner
12 Nov 2025 13:33

Nach Neuinstallation upgrade auf Kernel-Release 6.3.0-rt11-linuxcnc

Category: Deutsch

Hi Andy,

many thanks for your support.
What do you think would be the best / cleanest way?
Update or new installation with the ISO?

By the way, for my DELL Optiplex 3060 this would be the "LinuxCNC 2.9.4 Debian 12 Bookworm PREEMPT-RT ISO" ?

Best regards
Jens
  • KlausB
  • KlausB
12 Nov 2025 13:33
Replied by KlausB on topic z_level_compensation again

z_level_compensation again

Category: General LinuxCNC Questions

Hello,
Thank You for reading my post.Yes - the installation was on a formatted/clean HDD and the ISO-Image was OK. The only software I additionally use on the Machine is FreeCAD (as an App-image) to generate the g-code for my projects.
I attached a zip-file with my complete configuration.
My cnc is simple, so I did the following adjustments:
- I use a script for dynamic tool measurement. So I can use FreeCAD's g-code with different tools in a single project.
- I use a delay after starting the spindle
- I use a debounce for the probe
You will find these changes in the ini-file and hal-files. These changes does not affect the described Issue.
I’m afraid my post is in the wrong category. I should have chosen “qcvcp.” Because problem belongs to the display category.
Is it possible/necessary to change the category?
Thank you for your help


 
  • andypugh
  • andypugh's Avatar
12 Nov 2025 13:20

Nach Neuinstallation upgrade auf Kernel-Release 6.3.0-rt11-linuxcnc

Category: Deutsch

Beide Latenzzeiten sind schrecklich.

The first image is running a realtime kernel, but the jitter is larger than is really useful. (0,4 ms in a 0,025ms thread will not work )

The second image shows a system that is not even running a realtime kernel, so the jitter is huge, 10ms or more.

You should try installing the latest realtime kernel and see if things improve after reboot.
sudo apt-cache search linux-image-rt
will give you a list of available realtime kernels. Find the newest listed and then
sudo apt-get install linux-image-rt{rest of the name}

Alternatively you could tre a fresh install from the LinuxCNC ISO image.

www.linuxcnc.org/downloads/
  • andypugh
  • andypugh's Avatar
12 Nov 2025 13:11
Replied by andypugh on topic carousel component integration

carousel component integration

Category: General LinuxCNC Questions

Can you describe how the setup is failing?

One thing that may be wrong is that the "width" seems very large. This is the number of encoder counts each side of the tool slot that is considered properly aligned. Normally it would be at most tens of counts.

The "scale" is meant to be the number of encoder counts between pockets. If your system has 1 servo motor revolution per pocket then your scale is probably correct, but if one servo motor revolution is one carousel revolution then you should divide the encoder full rev counts by the number of pockets.

I am aware that "carousel" has grown to the point that it ought to have a dedicated manual section. (Or maybe there should be a section on toolchangers in general. It's a big subject)
  • andypugh
  • andypugh's Avatar
12 Nov 2025 13:02
Replied by andypugh on topic HAL visualization with GraphViz

HAL visualization with GraphViz

Category: General LinuxCNC Questions

I couldn't attach the SVG files either. But I have attached bitmap reviews so that folk can understand what GraphViz is. 

  • andypugh
  • andypugh's Avatar
12 Nov 2025 12:42
Replied by andypugh on topic Emco retroffit + added subspindle + bar loader

Emco retroffit + added subspindle + bar loader

Category: Show Your Stuff

What's the GUI? It looks specialised.
  • KlausB
  • KlausB
12 Nov 2025 11:57
Replied by KlausB on topic Touch Plate

Touch Plate

Category: Qtvcp

Hello Chris,
sorry for the late reply,
After Problems with other Software I did a fresh installation a few weeks ago. With all updates the versions are: "QtDragon_hd Version 1.5 on Linuxcnc 2.9.7"
For creating g-codes I use FreeCAD as an APPImage on the same machine, so there is no other software installed on the Computer.
  • Reyes
  • Reyes
12 Nov 2025 11:22

7i92 cnc motion controller from aliexpress?

Category: Driver Boards

Any one using this card?
pleas help i bought one 
New in linux cnc 
Displaying 1621 - 1635 out of 21885 results.
Time to create page: 0.237 seconds
Powered by Kunena Forum