Advanced Search

Search Results (Searched for: )

  • scottlaird
  • scottlaird's Avatar
03 Sep 2024 13:07
Replied by scottlaird on topic Etherrcat Master does not start automatically

Etherrcat Master does not start automatically

Category: EtherCAT

Try `sudo systemctl enable ethercat.service`. That should tell it to start automatically on boot. I'm not sure why that wasn't set up on install, but it sounds like it'll fix the problem.
  • andypugh
  • andypugh's Avatar
03 Sep 2024 13:04

Question to operatingspeed glassscales with Beckhoff/EtherCAT under Linux CNC

Category: General LinuxCNC Questions

If the glass scale data can be linked into the LinuxCNC HAL layer, then LinuxCNC can use it.
I would expect glass scale date to be a relatively slowly-changing correction to the basic axis position, so I doubt that you would have to worry too much about speed.
  • cmorley
  • cmorley
03 Sep 2024 13:04
Replied by cmorley on topic found an error! audio_ative

found an error! audio_ative

Category: Gmoccapy

What version of linuxcnc and what was your fix?
  • andypugh
  • andypugh's Avatar
03 Sep 2024 13:00
Replied by andypugh on topic Raspberry pi 5 password

Raspberry pi 5 password

Category: General LinuxCNC Questions

Are you using the supplied LinuxCNC RPi image? If so it sounds like we might need to fix something in the setup. A CNC machine shouldn't screen-blank.

There is a whole thread about screen blanking here: forums.raspberrypi.com/viewtopic.php?p=433728#p433728

(Basically there are several things that can blank the screen)

If it locks the system, requiring a password, then it won't be the always-tricksy "dpms"
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:52

Multiple external step generators like ESP32 (Individual ESP32 for every axis)

Category: General LinuxCNC Questions

Whilst this can probably be done, it does feel like a lot of work to address a solved problem?

Might it not be better (if you really want to invent your own system and write your own drivers) to use some of the "smart" stepper drivers that accept pulse-rate requests over SPI?

Or, if your priority is a working CNC system, rather than a fun project: store.mesanet.com/index.php?route=produc...rt=p.price&order=ASC
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:47
Replied by andypugh on topic The machine is choppy when using MPG

The machine is choppy when using MPG

Category: General LinuxCNC Questions

I think it is probably worth investigating _why_ jog-accel-fraction isn't working on the second machine.

One drawback of ilowpass is likely to be that it prevents the joint.N.jog-vel-mode setting from working properly (as the rest of the system dosn't see the jogwheel stop)
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:38
Replied by andypugh on topic E-Stop latch question

E-Stop latch question

Category: HAL

Why do you desire a hardwired e-stop reset?

I have always set up my machines to reset the e-stop using the on-screen button.
I would never consider using the on-screen button to _set_ the e-stop, but it seems to me that pressing the GUI button is in many ways more deliberate than pressing a hrdware button, so is at least as good from a safety perspective.
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:34
Replied by andypugh on topic Raspberry Pi CNC hat circuit board

Raspberry Pi CNC hat circuit board

Category: Computers and Hardware

What sort of step rates are you getting through the GPIO? (And which driver are you using?)
  • andypugh
  • andypugh's Avatar
03 Sep 2024 12:31
Replied by andypugh on topic Rexroth Indradrive CS and KEB G6

Rexroth Indradrive CS and KEB G6

Category: EtherCAT

VFDs generally support numerous control modes, so even if you can't directly control it by EtherCAT you may be able to use Modbus, or even analogue voltage from an EtherCAT module.
  • mighty_mick
  • mighty_mick's Avatar
03 Sep 2024 11:57 - 03 Sep 2024 11:58
What does CMM machines use in software was created by mighty_mick

What does CMM machines use in software

Category: General LinuxCNC Questions

Hello folks.
I am wondering about CMM machine softwares. Are they using LinuxCNC? If they are not using LinuxCNC, would it be appropriate solution for these kind of machines? Do you know any open source CMM machine, CMM software etc.?

Thank you for your time.
  • bertoldo
  • bertoldo
03 Sep 2024 11:34

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

Good morning and thank you for your reply.

As you may have noticed, I am the name here. I have tried to download the image that my colleagues have posted, I have tried the Linux CNC standard and I am not able to move forward. My driver is a Lichuan LC10E. Is there any basic step-by-step guide to help me achieve my goal? Thank you very much in advance!
  • Evgeny
  • Evgeny
03 Sep 2024 11:26
Replied by Evgeny on topic Marco Reps video on youtube about EtherCAT

Marco Reps video on youtube about EtherCAT

Category: EtherCAT

I have already paid for them and am waiting for them to arrive from China.

I pulled myself together and added a spindle frequency drive control panel via RS485 modbus
I did it through vfdmod and it works great
 
 

File Attachment:

File Name: linuxcnc_l...9-03.zip
File Size:25 KB

 

File Attachment:

File Name: vfdmod-0.3...md64.zip
File Size:33 KB

  • kzali
  • kzali
03 Sep 2024 09:47

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Hi Russell,
good idea, thank you very much,
I would prefer riocore
it is no longer worth doing new things with the old version
Cheers.
Olli

So where is the thread?
 

  • Bouni
  • Bouni
03 Sep 2024 08:32

Etherrcat Master does not start automatically

Category: EtherCAT

Hi,

a bit more than a year ago I got linuxcnc + ethercat running on a Beckhoff CX2040, back then version 2.8.4 and everything built from source (details in my blog post )

For various reasons I sat the project aside. Last Friday I finally started to work at it agiain. I was astonished to see that its now possible to simply install everything via apt without the need to build it from source.

So I grabed a new CF card and installed the latest iso. a year a go I had to build the ccat driver from source as well but now its bunled with the ethercat master. I simply had to enable it in /etc/ethercat.conf

After a bit of trial and error eveything works as expected excpet for one last thing: If I start the CX2040 there is no /dev/EtherCAT

I can't find anything suspicious:
sudo systemctl status ethercat.service

● ethercat.service - EtherCAT Master Kernel Modules
     Loaded: loaded (/lib/systemd/system/ethercat.service; enabled; preset: enabled)
     Active: active (exited) since Tue 2024-09-03 04:00:40 EDT; 24min ago
    Process: 528 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)
   Main PID: 528 (code=exited, status=0/SUCCESS)
        CPU: 21ms

Sep 03 04:00:40 cx2040-lcec systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
Sep 03 04:00:40 cx2040-lcec systemd[1]: Finished ethercat.service - EtherCAT Master Kernel Modules.
sudo dmesg | grep -E 'ec_|eth0|EtherCAT'

[    1.848464] e1000e 0000:02:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:01:05:25:a9:c2
[    1.848468] e1000e 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection
[    1.848625] e1000e 0000:02:00.0 eth0: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
[    2.330142] e1000e 0000:02:00.0 enp2s0: renamed from eth0
[    3.633351] ec_master: loading out-of-tree module taints kernel.
[    3.633620] ec_master: module verification failed: signature and/or required key missing - tainting kernel
[    3.652282] EtherCAT: Master driver 1.6.1 1.6.1
[    3.652304] EtherCAT: 0 masters waiting for devices.
[    3.660096] ec_ccat: DMA0 mem initialized
[    3.660111] ec_ccat: DMA1 mem initialized
[    3.660484] ec_ccat: registered eth0 as network device.
[    3.660600] ec_ccat: registered ccat_update0.
[    3.660657] ec_ccat: ccat_sram_probe: 0x0016 rev: 0x0000
[    3.660738] ec_ccat: registered ccat_sram0.
[    5.430826] eth0: NIC Link is Up
[    5.430996] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

If I however do a sudo systemctl restart ethercat.service the master starts and works as expected.

The output of sudo systemctl status ethercat.service stays exactly the same.

dmesg gives a bit more:
sudo dmesg | grep -E 'ec_|eth0|EtherCAT'

[    1.848464] e1000e 0000:02:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:01:05:25:a9:c2
[    1.848468] e1000e 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection
[    1.848625] e1000e 0000:02:00.0 eth0: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
[    2.330142] e1000e 0000:02:00.0 enp2s0: renamed from eth0
[    3.633351] ec_master: loading out-of-tree module taints kernel.
[    3.633620] ec_master: module verification failed: signature and/or required key missing - tainting kernel
[    3.652282] EtherCAT: Master driver 1.6.1 1.6.1
[    3.652304] EtherCAT: 0 masters waiting for devices.
[    3.660096] ec_ccat: DMA0 mem initialized
[    3.660111] ec_ccat: DMA1 mem initialized
[    3.660484] ec_ccat: registered eth0 as network device.
[    3.660600] ec_ccat: registered ccat_update0.
[    3.660657] ec_ccat: ccat_sram_probe: 0x0016 rev: 0x0000
[    3.660738] ec_ccat: registered ccat_sram0.
[    5.430826] eth0: NIC Link is Up
[    5.430996] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1825.385150] EtherCAT: Master module cleaned up.
[ 1826.509197] EtherCAT: Master driver 1.6.1 1.6.1
[ 1826.509424] EtherCAT: 1 master waiting for devices.
[ 1826.518490] ec_ccat: DMA0 mem initialized
[ 1826.518506] ec_ccat: DMA1 mem initialized
[ 1826.518519] EtherCAT: Accepting 00:01:05:1E:6B:8E as main device for master 0.
[ 1826.518522] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 1826.518761] EtherCAT 0: Link state of ecm0 changed to UP.
[ 1826.518925] ec_ccat: registered ccat_update0.
[ 1826.518964] ec_ccat: ccat_sram_probe: 0x0016 rev: 0x0000
[ 1826.519688] ec_ccat: registered ccat_sram0.
[ 1826.526190] EtherCAT WARNING 0: 1 datagram UNMATCHED!
[ 1826.526232] EtherCAT 0: 9 slave(s) responding on main device.
[ 1826.526234] EtherCAT 0: Slave states on main device: PREOP.
[ 1826.526284] EtherCAT 0: Scanning bus.
[ 1827.763458] EtherCAT 0: Bus scanning completed in 1236 ms.
[ 1827.763462] EtherCAT 0: Using slave 0 as DC reference clock.

Does anybody know what stops the master from starting automatically?
Displaying 21961 - 21975 out of 24889 results.
Time to create page: 0.769 seconds
Powered by Kunena Forum