Advanced Search

Search Results (Searched for: )

  • Roger S
  • Roger S
Today 09:14 - Today 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
Today 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
Today 07:44 - Today 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
Today 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
Today 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
Today 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
Today 07:22 - Today 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
Today 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
Today 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
  • zz912
  • zz912's Avatar
Today 05:35
Leaving from TOOL page was created by zz912

Leaving from TOOL page

Category: Gmoccapy

If I press any of these buttons, their commands are executed, but Gmoccapy switches to MANUAL_PAGE instead of staying on the TOOL_PAGE.
 

MANUAL_PAGE:
 

I think I could fix it. But I don't know if that was intentional.
  • zz912
  • zz912's Avatar
Today 05:04

Change Tool Offsets after editing the Tool Table

Category: Gmoccapy

It's a good idea to set this permanently in Geany:
stackoverflow.com/questions/5287849/how-...e-in-geany-on-ubuntu

I tested the code yesterday and found that it's a good idea to go back to MANUAL_MODE:
        if "G43" in self.active_gcodes:
            self.command.wait_complete()
            self.command.mode(linuxcnc.MODE_MDI)
            self.command.wait_complete()
            self.command.mdi("G43")
            self.command.wait_complete()
            self.command.mode(linuxcnc.MODE_MANUAL)
            self.command.wait_complete()
  • zz912
  • zz912's Avatar
Today 04:48

Change Tool Offsets after editing the Tool Table

Category: Gmoccapy

You probably have tabs on that line instead of spaces.
  • CORBETT
  • CORBETT's Avatar
Today 04:15 - Today 04:26

EL2502 and EL2535 PWM Ethercat BECKHOFF Modules

Category: EtherCAT

@rbobey1989
"EDIT"  My bad, I jumped the gun and didn't pay attention that it was PWM... I saw the EL25"" models and responded too quiickly, yeah I am supprised there isn't any either...

Yes, there are pulse train terminals in the code already and have been for years.  Look for EL2521 models.  I have these and they work.

If you bought some other terminal, then here is the code to the 2521 so you can have something to work from.
scott laird link
linuxcnc-ethercat/src/devices/lcec_el2521.c at master · linuxcnc-ethercat/linuxcnc-ethercat · GitHub
sittner link

linuxcnc-ethercat/src/lcec_el2521.c at master · sittner/linuxcnc-ethercat · GitHub
Beckhoff link

EL2521 | EtherCAT Terminal, 1-channel pulse train output, incr. enc. simulation, RS422, 50 mA | Beckhoff USA


Also, those EL4032's are 12bit, the 4132's are 16 for when you are looking in the future.  The 4134 is also in the code for the last few years if you need to maximize terminal space... 
 
  • CORBETT
  • CORBETT's Avatar
Yesterday 03:48

Help to configure external start button and external emergency button, EK1100

Category: EtherCAT

@Leuo_

Follow either of these two links and in the first post go down to PART 6 - LET’S SEE ETHERCAT WORK IN THE REAL WORLD .  There are detailed instructions on how to do the external Stop button and you should see how to do a start button also. 

Ethercat build from source - full instructions - LinuxCNC

Ethercat build from source instructions - Updated for 2024 - LinuxCNC

Hope it helps,
Robert
  • hermann1976
  • hermann1976's Avatar
Yesterday 03:23
Replied by hermann1976 on topic Change Tool Offsets after editing the Tool Table

Change Tool Offsets after editing the Tool Table

Category: Gmoccapy

Thanks for your answer.
But Linuxcnc will coming up with an error:

 
 
Displaying 46 - 60 out of 26489 results.
Time to create page: 0.382 seconds
Powered by Kunena Forum