Advanced Search

Search Results (Searched for: )

  • Roger S
  • Roger S
10 May 2025 12:58
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Sorry Hakan, I hadn't looked at all, because I was busy searching for and reporting errors
Master0
  Phase: Idle
  Active: no
  Slaves: 5
  Ethernet devices:
    Main: 80:ee:73:fd:0f:8b (attached)
      Link: UP
      Tx frames:   409178
      Tx bytes:    24554240
      Rx frames:   409177
      Rx bytes:    24554180
      Tx errors:   0
      Tx frame rate [1/s]:    123    123    125
      Tx rate [KByte/s]:      7.2    7.2    7.2
      Rx frame rate [1/s]:    123    123    125
      Rx rate [KByte/s]:      7.2    7.2    7.2
    Common:
      Tx frames:   409178
      Tx bytes:    24554240
      Rx frames:   409177
      Rx bytes:    24554180
      Lost frames: 0
      Tx frame rate [1/s]:    123    123    125
      Tx rate [KByte/s]:      7.2    7.2    7.2
      Rx frame rate [1/s]:    123    123    125
      Rx rate [KByte/s]:      7.2    7.2    7.2
      Loss rate [1/s]:          0      0      0
      Frame loss [%]:         0.0    0.0    0.0
  Distributed clocks:
    Reference clock:   Slave 0
    DC reference time: 0
    Application time:  0
                       2000-01-01 00:00:00.000000000
roger@roger:~$ ethercat slaves
0  0:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
1  0:1  PREOP  +  EL1008 8K. Dig. Eingang 24V, 3ms
2  0:2  PREOP  +  EL1008 8K. Dig. Eingang 24V, 3ms
3  0:3  PREOP  +  EL2008 8K. Dig. Ausgang 24V, 0.5A
4  0:4  PREOP  +  L8EC(COE)
roger@roger:~$

many many thanks! I really appreciate your efforts. so just thank you again

What was the cause and do I need to do anything else now?

 
  • Hakan
  • Hakan
10 May 2025 12:27
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

And now it works? What does "sudo dmesg" say?
  • Roger S
  • Roger S
10 May 2025 12:05
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

here is the result oflsmod | grep ec_generic
sudo modprobe ec_generic
lsmod | grep ec_generic
ec_generic             16384  0
ec_master             397312  1 ec_generic
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec         188416  6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          122880  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd                   126976  15 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
ec_generic             16384  0
ec_master             397312  1 ec_generic
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec         188416  6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          122880  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd                   126976  15 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
  • Hakan
  • Hakan
10 May 2025 10:51
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Intel I226 I see. I like those I226es. Then there is possibly the option to use the igc driver instead of the generic driver. You can always test that.

Let's continue with the ec_generic.
The output shows that it is back to the ec_generic module not loading.

Can you show the output of these three commands? It should manually load the ec_generic module.
lsmod | grep ec_generic
sudo modprobe ec_generic
lsmod | grep ec_generic
  • Roger S
  • Roger S
10 May 2025 09:23
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

File Attachment:

File Name: dmesg_2025...10-7.txt
File Size:70 KB
  • cmorley
  • cmorley
10 May 2025 09:14
Replied by cmorley on topic G-code file loading at G53 instead of G54

G-code file loading at G53 instead of G54

Category: Qtvcp

Ok ill see nothing error ing in qtdragon.
I do see some weird errors about tool stat. But let's put test aside for the moment.

What I see based on your screen shots.
- g54 has zero offset for x and y so will be the same as machine zero position.
- you have a small offset in g54 z and while hard to see i think that it is honoring that.
- the offset table shows the same but also shows you have a rotational offset. Yes those z offset numbers seem weird.

I would cancel the rotational offset.

If you wish to move the g54 offset move the machine where you want g54 0 to be and press ZERO on each axis you wish to zero.
After that is done switching between ABS and G54 should make the DRO change the amount of offset and the offset will be shown on the offset table.
  • Roger S
  • Roger S
10 May 2025 09:14 - 10 May 2025 09:23
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Hello Hakan
I hope I did everything correctly. Here's the result of lspci -k:
00:00.0 Host bridge: Intel Corporation Device 461c
    DeviceName: Onboard - Other
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Device 4164
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]
    DeviceName: Onboard - Video
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N [UHD Graphics]
    Kernel driver in use: i915
    Kernel modules: i915
00:14.0 USB controller: Intel Corporation Alder Lake-N PCH USB 3.2 xHCI Host Controller
    DeviceName: Onboard - Other
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCH USB 3.2 xHCI Host Controller
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Alder Lake-N PCH Shared SRAM
    DeviceName: Onboard - Other
00:16.0 Communication controller: Intel Corporation Alder Lake-N PCH HECI Controller
    DeviceName: Onboard - Other
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCH HECI Controller
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Alder Lake-N SATA AHCI Controller
    DeviceName: Onboard - SATA
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N SATA AHCI Controller
    Kernel driver in use: ahci
    Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Alder Lake-N PCI Express Root Port
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCI Express Root Port
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Alder Lake-N PCI Express Root Port
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCI Express Root Port
    Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Alder Lake-N PCI Express Root Port
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCI Express Root Port
    Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Alder Lake-N PCH eSPI Controller
    DeviceName: Onboard - Other
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCH eSPI Controller
00:1f.3 Audio device: Intel Corporation Alder Lake-N PCH High Definition Audio Controller
    DeviceName: Onboard - Sound
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N PCH High Definition Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Alder Lake-N SMBus
    DeviceName: Onboard - Other
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N SMBus
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-N SPI (flash) Controller
    DeviceName: Onboard - Other
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Alder Lake-N SPI (flash) Controller
01:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-LM (rev 04)
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Ethernet Controller I226-LM
    Kernel driver in use: igc
    Kernel modules: igc
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-LM (rev 04)
    Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Ethernet Controller I226-LM
    Kernel driver in use: igc
    Kernel modules: igc
03:00.0 Non-Volatile memory controller: Transcend Information, Inc. NVMe PCIe SSD 110S/112S/120S/MTE300S/MTE400S/MTE652T2 (DRAM-less) (rev 03)
    Subsystem: Transcend Information, Inc. NVMe PCIe SSD 110S/112S/120S/MTE300S/MTE400S/MTE652T2 (DRAM-less)
    Kernel driver in use: nvme
    Kernel modules: nvme
  • Hakan
  • Hakan
10 May 2025 07:57
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

This is interesting...
Looks the same. I changed my device to the same settings you have and it still works.
Is it a Realtek device? Which kernel module does it use? Find with the command "lspci -k" and find the network adapter.

I looked in the source code for when it rejects a device and this is what it says in the ecdev_offer() function in module.c:
* The master decides, if it wants to use the device for EtherCAT operation,
 * or not. It is important, that the offered net_device is not used by the
 * kernel IP stack. If the master, accepted the offer, the address of the
 * newly created EtherCAT device is returned, else \a NULL is returned.

There are some debug outputs that can be interesting. Unfortunately the debug attempt before failed
because the master is configured before the debug can be set in the way we tried before.
But here is a way.
First stop the ethercat server with the command "sudo /usr/sbin/ethercatctl stop".
Then copy the the file /usr/sbin/ethercatctl (it is a script) to a new name like ectl and change the line as shown
sudo cp /usr/sbin/ethercatctl ectl
# ... edit ectl and add debug_level=1 to this line a shown around line 126 in ectl

    # load master module
    if ! ${MODPROBE} ${MODPROBE_FLAGS} ec_master \
            main_devices="${DEVICES}" backup_devices="${BACKUPS}" debug_level=1; then
        exit 1
    fi

# Make executable
chmod +x ectl
# and start the ethercat master, then reset debug level to 0. It produces a lot of info
sudo ./ectl start
ethercat debug 0

sudo dmesg

Then have a look at the output, the lines around the configuration is important.
 
  • workshop54
  • workshop54
10 May 2025 07:44 - 10 May 2025 07:47
LinuxCNC compatible industrial PC was created by workshop54

LinuxCNC compatible industrial PC

Category: Computers and Hardware

Hi everyone,I’ve been looking for a suitable new industrial PC for LinuxCNC with Mesa (Ethernet-connected, 7i94), but the search is becoming frustrating.

There’s a lot of great information out there, but most recommendations point to older refurbished systems that are either no longer available here (Europe) or require a lot of BIOS tuning to get acceptable latency. I’d really prefer to avoid spending a lot of time testing different systems or diving deep into BIOS settings and latency tuning.

I’m already spending enough time figuring out the electrics, HAL setup, Python interface, and machine logic — so I’m really hoping to just buy one thing that works reliably and doesn’t add another rabbit hole to the project.

What I’m looking for is a currently available, new industrial PC that:
  • Works reliably with LinuxCNC (using the preempt-rt kernel)
  • Is known to perform well with Mesa over Ethernet (7i94)
  • Doesn’t require deep tweaking to get good performance
  • Is ideally fanless or low-noise and compact (DIN mountable is a plus, but not required)
Budget isn’t my biggest concern — I don’t mind spending a bit more if it helps me avoid hours of frustration and trial-and-error.

If anyone has experience with a specific model (e.g., something from OnLogic, Beckhoff, or Fitlet2-type devices) that works well without surprises, I’d really appreciate a recommendation.

Thanks!
  • Murphy
  • Murphy
10 May 2025 07:41

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

No it's still the same. The first clip is in CSS mode. The signal is gradually tapering up and down when moving in 10mm moves. You can hear the spindle nearly stopping as it's tapering up or down, only when it levels out again it goes to the required speed.

The second clip is out of CSS mode and manually pressing the Jog buttons. The signal has sharp edges as it's going straight to the required speed instead of tapering up or down .

I still can't figure out why this is happening. My VFD requires a 0-10v input. I'll hook up an oscilloscope to the speed input on the VFD and see what's happening.
  • Aciera
  • Aciera's Avatar
10 May 2025 07:28
Replied by Aciera on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

E-mail Adressen sollten mindestens etwas maskiert werden damit sie weniger von webcrawlern gefunden und für spam verwendet werden.
  • Aciera
  • Aciera's Avatar
10 May 2025 07:22
Replied by Aciera on topic Axis Position Logger

Axis Position Logger

Category: AXIS

You could import the 'hal' library and create hal pins like this (example here is a digital input pin 'log-trigger'):
 

after launching linuxcnc and the logger this should show up as a hal pin:

 

You can add the actions for these pin to the 'update' function (example triggers a log on pin 'log-trigger' changing from 0->1)
:
 



 
  • hans48
  • hans48
10 May 2025 07:22 - 10 May 2025 07:26
Replied by hans48 on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hallo Hermann
Danke für die Nachricht, ja das ist richtig. Das wäre schön wenn wir uns kennenlernen würden. Wie schon sooft geschrieben ich bin erst in LinuxCNC eingestiegen hatte keine Ahnung aber jetzt geht es schon besser. Das nächste ist jetzt die Werkzeuglängenmessung an der Reihe. Muß mich erst erkundigen wie man den Taster Baut, habe gesehen das schon was in der Visialisierung vorgesehen ist.
Vorher war ich mit Mach3 unterwegs.
Gruß Hans
PS: Meine E-Mail hat sich geändert  hans.lehr(at)gmx(punkt)at
  • Roger S
  • Roger S
10 May 2025 06:26
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

My Ethercat Interface:
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 80:ee:73:fd:0f:8b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::d771:e69b:b8c8:1f5e/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

 
  • jefsaro
  • jefsaro's Avatar
10 May 2025 05:39
temoin de broche ,outil was created by jefsaro

temoin de broche ,outil

Category: General LinuxCNC Questions

Bonjour ,
 apres quelque temps d 'arret , je continue sur la transformation de ma  fraiseuse fanuc o mate T.
 je voudrais avoir un temoin lumineux externe ,pour la mise en route et l 'arret de la broche , et aussi quand l 'outil doit etre changer.
je travaille avec linuxcnc 2.8.1.
 bonne journee
jf
Displaying 15061 - 15075 out of 17596 results.
Time to create page: 0.399 seconds
Powered by Kunena Forum