Advanced Search

Search Results (Searched for: )

  • kor
  • kor
23 Nov 2025 17:30
Replied by kor on topic First Tests with ethercat

First Tests with ethercat

Category: EtherCAT

the linebreak was a copy paste error. still same error message

 file information:
Note: Using POSIX realtime
lcec_conf: ERROR: Parse error at line 4: not well-formed (invalid token)
./ethercat.hal:2: waitpid failed lcec_conf lcec_conf
./ethercat.hal:2: lcec_conf exited without becoming ready
9917
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

 
  • Aciera
  • Aciera's Avatar
23 Nov 2025 17:27 - 23 Nov 2025 17:28

calling subroutine from G54, G55, G56, but it acts weird

Category: O Codes (subroutines) and NGCGUI

If I touch off X0 Y0 Z0 in G54, and then instead do, as the below program shows, G10 L20 P2 X-30 Y0 Z3, it runs perfectly.


touching off in G54 will actually run 'g10 l20 p1 z0' which will set the z-offset value in G54 such that the axis position is equal to zero. This is the value you would need in the other offset systems as well. Which I guess is 3.
  • jakap
  • jakap
23 Nov 2025 17:19 - 23 Nov 2025 17:41
MESA to AD5362 was created by jakap

MESA to AD5362

Category: Driver Boards

Dear all, 

I would like to interface custom hardware with AD5362 (8ch DAC), via SPI interface. Would that be possible and what would be the easiest to hook this up?
I see BSPI and SSI interface is available in HM2, but do not understand whether they support custom SPI protocols. 
How is this done in 7i77 and can one adapt it for custom hardware? 

Thank you! 
jakap
  • langdons
  • langdons's Avatar
23 Nov 2025 16:28

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

Category: Gmoccapy

On the lower panel one of the icons is search, although it maybe just be an application search, either way it's quite easy to customise, right clicking on a panel allows you to add, delete or modify icons.

Meh.

I still think a Windows-key(or Ctrl+Spacebar)-activated search prompt would be nice.

XFCE is not beginner friendly, and whoever made it has terrible taste in screensavers.

Though Thunar is pretty good, and it does have a dock by default (unlike MATE as far as I can see), not that that is particularly impressive.
  • unknown
  • unknown
23 Nov 2025 16:22

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

Category: Gmoccapy

On the lower panel one of the icons is search, although it maybe just be an application search, either way it's quite easy to customise, right clicking on a panel allows you to add, delete or modify icons.
  • 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.
Displaying 436 - 450 out of 22283 results.
Time to create page: 0.238 seconds
Powered by Kunena Forum