Advanced Search

Search Results (Searched for: )

  • onceloved
  • onceloved's Avatar
23 Nov 2025 16:11
Replied by onceloved on topic First Tests with ethercat

First Tests with ethercat

Category: EtherCAT

# EtherCat
loadusr -W lcec_conf /home/bf20/linuxcnc/configs/sim.axis/ethercat-conf.xml
loadrt lcec
add lcec.read-all servo-thread

add lcec.write-all servo-thread
net mon halui.machine.on lcec.0.EL1014.din-2
net mon halui.machine.off lcec.0.EL1014.din-3
  • NT4Boy
  • NT4Boy
23 Nov 2025 16:02
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

My thought of testing the system with an Orient command, I understand now was very naïve.
From others examples, introducing this ability requires pretty much a total tear up of the whole spindle control setup, and a need to get into the ladder world not just a reroute of the enable signal, and that's a move way too far way from any comfort zone for me.
Ducking this piece of implementation brings me much relief.

Thanks for your effort to help.
  • PCW
  • PCW's Avatar
23 Nov 2025 15:45
Replied by PCW on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

Changing the IRQ coalesce settings does improve the ping times noticeably on Intel hardware,
but your 4-5 ms  peak ping time indicates other issues, likely related to power management.

My system with Intel MAC and default IRQ coalesce settings:

PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.316 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.250 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.251 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.250 ms

Same system with IRQ coalecing off:

PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.116 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.106 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.107 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.106 ms



Have you disabled all power management in the system BIOS and grub?

Have you set isolcpus to the last CPU in the grub file?

Do you have idle=poll in the grub file as well?

(These are basic latency reducing steps for any LinuxCNC host)

linuxcnc.org/docs/html/install/latency-test.html
 
  • kor
  • kor
23 Nov 2025 15:36
First Tests with ethercat was created by kor

First Tests with ethercat

Category: EtherCAT

I finally insalled my ethercat master. and when running "ethercat slaves"
I see my beckhoff devices:
bf20@bf20:~$ ethercat slaves
0  0:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
1  0:1  PREOP  +  EL1014 4K. Dig. Eingang 24V, 10�s
2  0:2  PREOP  +  EL2004 4K. Dig. Ausgang 24V, 0.5A
3  0:3  PREOP  +  EL3102 2K. Ana. Eingang +/-10V, Diff.

So next I created a standard axis-sym conf
I modified the axis.ini by adding a new halfile:
HALFILE = ethercat.hal

This is my ethercat.hal:
# EtherCat
loadusr -W lcec_conf /home/bf20/linuxcnc/configs/sim.axis/ethercat-conf.xml
loadrt lcec add lcec.read-all servo-thread

add lcec.write-all servo-thread
net mon halui.machine.on lcec.0.EL1014.din-2
net mon halui.machine.off lcec.0.EL1014.din-3

and here is my xml file:
<masters>
    <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
    
        <slave idx=0" type="EK1100" name="EK1100"/>
        <slave idx=1" type="EL1014" name="EL1014"/>
        <slave idx=2" type="EL2004" name="EL2004"/>
        <slave idx=3" type="EL3102" name="EL3102"/>
    </master>
</masters>

when starting linuxcnc I get this error message:
Note: Using POSIX realtime
lcec_conf: ERROR: Parse error at line 4: not well-formed (invalid token)
./ethercat.hal:3: waitpid failed lcec_conf lcec_conf
./ethercat.hal:3: lcec_conf exited without becoming ready
6791
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
which does not really help me to figure out what is wrong. My guess is that I did something wrong in the xml, but I can not figure out what.

Thanks for your help.
  • langdons
  • langdons's Avatar
23 Nov 2025 15:34

Updating from LINUXCNC - 2.8.4-23, Mint 20.3 - gmoccapy lathe structure

Category: Gmoccapy

XFCE is not all bad.

It's actually a bit likeable in a weird sort of way.

Though it is highly unintuitive and has no search bar.

(Analoguous to the windows key menu or SpotLight Seach (command+spacebar) or Mac)
  • andrax
  • andrax
23 Nov 2025 14:32
Replied by andrax on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Hi,
I am also working with the A6 servos.
I purchased the Stepperonline 750W sto for testing purposes. I got everything up and running without any problems.
But I have a few questions:
How can I adjust the electronic gear?
Is there a function in the .ini file or do I have to set this in the servo driver?
My axis has a pitch of 50:1 and the gearbox in front of it is 6:1.

Which signals are used in the cia402_homecomp?
Are the home switch and the Z-index of the servo used here, or just the home switch

regards
  • Aciera
  • Aciera's Avatar
23 Nov 2025 14:14 - 23 Nov 2025 14:35
Replied by Aciera on topic stacking mdi commands in 2.9.7

stacking mdi commands in 2.9.7

Category: AXIS

Since this is a python file you could modify /bin/axis to fix this (you would need sudo rights to do this on a deb install)

I'll file an issue on github, thanks for reporting
github.com/LinuxCNC/linuxcnc/issues/3641
  • Aciera
  • Aciera's Avatar
23 Nov 2025 14:07
Replied by Aciera on topic stacking mdi commands in 2.9.7

stacking mdi commands in 2.9.7

Category: AXIS

I'm a bit puzzled a this was supposedly fixed by
github.com/LinuxCNC/linuxcnc/commit/7852...1a3b13ca333d4e6d874f

removing this line #982 from 'axis.py':
    if running(): return 0


yet the line seems to be back in current 2.9:
github.com/LinuxCNC/linuxcnc/commit/7852...1a3b13ca333d4e6d874f
  • Sekai
  • Sekai
23 Nov 2025 13:18
Replied by Sekai on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

you mean :
sudo ethtool -C enp0s25 rx-usecs 0
I did that, it does not change anything.
  • abs32
  • abs32
23 Nov 2025 12:53

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

In the implementation of the version of the respected comrade. AkkiSan from forum.linuxcnc.org/38-general-linuxcnc-q...bing?start=10#333578

there is a typo that emerged during compilation -
instead of -
e
sleep(0.010);

necessary -
u
sleep(0.010);
  • unknown
  • unknown
23 Nov 2025 12:52
Replied by unknown on topic stacking mdi commands in 2.9.7

stacking mdi commands in 2.9.7

Category: AXIS

I don't think it's a "bug", there does seem to have been some debate in the forum and GitHub as to the "correct" behaviour.
github.com/LinuxCNC/linuxcnc/issues/2956

github.com/LinuxCNC/linuxcnc/issues/3464
  • Mr. Mass
  • Mr. Mass's Avatar
23 Nov 2025 12:36
Replied by Mr. Mass on topic qtdragon mod

qtdragon mod

Category: Qtvcp

Thanks for the explanation, it really helped. I made indicators for e-stop, on/off, manual mode, and MDI. There was a slight issue with auto mode. I wanted to make indicators for auto mode, running programs, and pause. This is the only way I could do it:
STATUS.connect("interp-run",lambda w: self.set_auto_led()) 
STATUS.connect("interp-paused",lambda w: self.set_auto_led())
STATUS.connect("interp-idle",lambda w: self.set_auto_led())
STATUS.connect("interp-waiting",lambda w: self.set_auto_led())

def set_auto_led(self):
    c = ""
    if STATUS.is_auto_running() and STATUS.is_auto_mode() and not STATUS.is_auto_paused():
        c = "blue"
        self.set_led_color(c)
    elif STATUS.is_auto_paused() and STATUS.is_auto_mode():
        c = "aquamarine"
        self.set_led_color(c)
    elif STATUS.is_auto_mode():
        c = "green_dark"
        self.set_led_color(c)

def set_led_color(self, color):        
    print(color, self.LED_color[color])
    self.h["led-red"] = self.LED_color[color][0]
    self.h["led-green"] = self.LED_color[color][1]
    self.h["led-blue"] =  self.LED_color[color][2]

Is this ok, or is there a more elegant way?
  • rodw
  • rodw's Avatar
23 Nov 2025 12:32
Replied by rodw on topic PoKeys57CNC HAL component

PoKeys57CNC HAL component

Category: HAL

I don't think modern drives loose torque with microstepping. I ran 25x microstepping on my machines.....But yes I was considering how much microstepping I could use. Maybe 8x. Adding a belt reduction is often the wise choice.

Yes, I found the specs in the manual. Seems like you could increase velocities
  • rodw
  • rodw's Avatar
23 Nov 2025 12:25
Replied by rodw on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

i tried with the ethtool but no change
 
after reading some more i disable AMT setting from bios but the value remain the same

Please fix the coalscing setting and report back also energy efficient Ethernet could impact from time to time if enabled.. 
  • rodw
  • rodw's Avatar
23 Nov 2025 12:22
Replied by rodw on topic CNC AXIS IN PARKING MODE

CNC AXIS IN PARKING MODE

Category: Advanced Configuration

Sorry, I based he code on my experience but now I see your situation is different. You could modify the code to achieve what you desire. Just swap things around.
Displaying 466 - 480 out of 22282 results.
Time to create page: 4.607 seconds
Powered by Kunena Forum