Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
20 Nov 2025 08:24

Beckhoff Problem with Communication (TwinCAT, LinuxCNC)

Category: EtherCAT

What's that? Never seen that before.
Anyway that won't work with lcec_conf, it requires a file in xml format.

Easiest way, I think, is to take the output of the command "lcec_configgen" and put that
in the ethercat-conf.xml file and use that as input to lcec-conf.

Example here to show the structure and syntax of things
github.com/dbraun1981/hal-cia402/tree/main/example
Reference to lcec and lcec_conf
github.com/linuxcnc-ethercat/linuxcnc-ethercat
 
  • Hakan
  • Hakan
20 Nov 2025 08:17

EtherCAT + CiA402 Servo: OP state reached, but axis won’t move (only Following E

Category: General LinuxCNC Questions

Okay, so one drive is for a spindle?
I made an adaptation to the cia402 component for the driver to work in PV (Profile velocity) mode
which is better suited to run as spindle.
Check out here github.com/MetalMusings/cia402pv
This person made it work after a while forum.linuxcnc.org/38-general-linuxcnc-q...tor-as-spindle-motor
 
  • T_D
  • T_D
20 Nov 2025 07:55
Maho 500 W4 Retrofit was created by T_D

Maho 500 W4 Retrofit

Category: General LinuxCNC Questions

Hallo zusammen , ich bin seid ca. 4 Wochen der stolze Besitzer einer Maho 500 W4 , es ist die selbe wie in dem User DoWerna jedoch haben sich bei dem Eintrag nicht alle meine fragen geklärt , zum einen wie ist das mit den Mesa karten gibt es unterschiede zwischen PCIe oder über Lan Kabel bzw. was ist besser oder besser erweiterbar oder eventuell günstiger und wie ist das mit dem Bedienpult welches ich selber bauen möchte ? ich habe mir die benötigten Taster zusammengeschrieben und möchte das auch in der Art machen mit Gmoccapy und dachte an die selbe Bedienart wie bei den Kunzmann 3/4 Maschinen dass dort also noch ein Handrad mit Achsauswahl hinzugefügt werden soll (Haidenhain Steuerung). ich bin kein Elektroniker sondern Industriemechaniker und muss mich dort in das Thema selber hineinarbeiten deswegen wäre die ein oder andere Hilfe gerade was die Mesa karten angeht nicht so schlecht  ich mache gerade einen Maschinenbautechniker und kenne mich dadurch schon ein wenig mit SPS aus aber manche Sachen kann man dort übertragen aber gerade das mit diesen Signalen bzw. von Haidenhain Glasmessstäben zu denen die die Mesa versteht ist für mich Neuland . gruß Tom
  • SPH
  • SPH's Avatar
20 Nov 2025 07:16

Sudden motor jump after machine enable. Delta ASDA e3 drives and EtherCAT

Category: EtherCAT

Looks like it's going to be the Home_absolute_encoder=2
I should have said that my motors don't have absolute encoders.
  • SPH
  • SPH's Avatar
20 Nov 2025 06:38

Sudden motor jump after machine enable. Delta ASDA e3 drives and EtherCAT

Category: EtherCAT

Ok so I've found what's happening but not why. Video below shows it in detail.
A few seconds after Lcnc loads the, I guess, current possition of the machine, the possition it starts up in lets say, is changing. I can see it jump from one position to the new one. Sometimes it's just the Z that jumps, sometimes it's the z and the y.
I hadn't noticed it before as I was so busy watching the motors. If I enable the machine before the current position in lcnc updates it tries to move to that new position. Again, easier to show it than describe it. It's pretty clear in the video, linked here

Could this be something to do with absolute encoders? The original machine that I'm using the files from had absolute encoders. Is there something saving the machine position on shutdown or something like that?


 
  • aDm1N
  • aDm1N's Avatar
20 Nov 2025 05:50

EtherCAT + CiA402 Servo: OP state reached, but axis won’t move (only Following E

Category: General LinuxCNC Questions

The reference to the forum post was helpful. I now have the basic framework up and running. The servo, which is supposed to act as a spindle, is working to the point that it can be controlled with M commands, and the stepper driver (one driver for two closed-loop steppers) is also working. I've attached the files. More to come.

de.aliexpress.com/item/1005008271228331....gatewayAdapt=glo2deu

de.aliexpress.com/item/1005010098887410....gatewayAdapt=glo2deu

 
  • Jensner
  • Jensner
20 Nov 2025 05:48 - 20 Nov 2025 05:48

Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern

Category: Deutsch

The link i posted, explicitly mentions making the machine work without encoder feedback to LinuxCNC first, so enable the stepgen feedback in the hal file and omit the encoder feedback, test the machine, set the scaling correctly, and only after getting this done activate the encoder feedback and omit the stepgen feedback.
Closed loop stepers when loop is closed on the drives are viewed as normal open loop steppers from LinuxCNC.
So yes, it should work with your drives, just make sure they work properly in open loop mode to LinuxCNC.

Thanks tommy,
so i will test it today.
hopefully this will work.
This was a lot of work adapting these linear-encoders and make all work, but it would be an extreme optimization of my machine to get it to the level of accuracy I always wanted. Not least to finally get a handle on the occasional step losses on the X-axis.

But with you all, i am sure. At the end this will work! ;o)
  • SPH
  • SPH's Avatar
20 Nov 2025 04:48

Sudden motor jump after machine enable. Delta ASDA e3 drives and EtherCAT

Category: EtherCAT

So I've got my machine to the point of wiring up and testing motors. Made adapter plates and fitted everything off temporarily.

I'm running into an issue when I hit machine enable in LCNC.
One or more motors will jump, move that is, violently for a split second.
Only for a split second and only once, a few seconds after I hit enable.
Sometimes it'll cause LCNC to error out (servo amp error?) and other times not.
The machine continues to work as if nothing's happened though, if it throws an error i just hit enable again and it's good to go.
No jump after the first startup. I can turn the machine enable button on and off as many times as I like and it's fine after the first time.
Sometimes it doesn't do it at all!
I've checked all the encoder cables and motor cables.
I've swapped all the cat5 cables connecting the drives.
I've auto tuned all the drives in ASDA soft. Any jogging or tuning functions from the drive or the drive software work flawlessly, no jump.

I'm at a bit of a loss. I assume LCNC is sending something to the drive and maybe it's position dependent? I've messed around with how I close out of LCNC looking for patterns but I can't really narrow it down.

I've uploaded a video of the Z axis jumping. It's pretty violent, like max speed and acceleration for 1/10 of a second.

Youtube Video

Hal, ini and ethercat xml are attached. I worked from someone else's files, hence the EL8 name.
  • Muftijaja
  • Muftijaja
20 Nov 2025 02:39 - 21 Nov 2025 21:24

problems with Y-Axis, elliptic deviations after several changes -Probe Basic V.5

Category: QtPyVCP

PCW, thanks again for your hints! 
Maybe you remember, that I have had that latency problem posted somewhere this year and had it solved. But, I will follow your advice and go through this process agein, tomorrow. I did never do that diagnosis with HALscope but I will do this, too. 
Yes, my thoughts up to yesterday was mechanical fault but the measurements today say no. These hundreds that I found are totally acceptable for me, but the tenths not. I really don't know where these deviations come from. Maybe I check the latency again, and take a  look at Halscope, and got to all screws that fix the Z axis.
BTW _ I made measurements at the milling spindle head with a spring scale: I got 1/10 in Y direction at 10 kg, 2/10th in X direction at 10kg, so this is way under my deviations at the milled part. 

I will report my findings, thanks for your hints again!
Hanno 
 
  • Muftijaja
  • Muftijaja
20 Nov 2025 02:25 - 20 Nov 2025 02:26

problems with Y-Axis, elliptic deviations after several changes -Probe Basic V.5

Category: QtPyVCP

Thanks for your reply, Lcvette!The alarm comes at the motor, Lcnc does not even react on this, because my alarm loop does not work actually. I have to find out why, in the next steps. Yes, indeed, i have ballscrews and especially on Y, a C5 with double Nut. Yes, I know that paired bearings would be better, but i cannot afford them. The bearings are from NSK,and the dealer says I have to set a spacer in between (0.5mm) to set the backlash to exactly zero. Otherwise I would have a small amount of play within. So, I hope this information was ok. I know other bearings that are paired without backlash, but they are way more expensive. I took measurements today and found just 1/100mm backlash, measured at the end of the ballscrew. I found some more hundreds, measuring at high feeds, driven by my handwheel that makes stepping the axis, not smooth running, there were some more 2-3 hundreds, measured at the side part that holds the Bearing and the motor, I think it's a resonance of the whole system at that side. Maybe additionally triggered by the belt drive. Its a HTD15 mm belt, 2:1 reduction, same as at X axis. Belt tension is strong enough, I can move it just 5-6mm from above in the middle of the belt. Well, I dont have a feedback loop back to LCNC, the motor is a JMC 3.3 Nm Nema 24 CL Stepper with its own closed loop.
So, what FF do you mean, FF1 that is set to 1.0? Because somebody else said a tiny amount of maybe 0,003 should help too.  
 
 
(photo from whole machine is not accepted althoug it is under 1 MB)

Thanks a lot for thinking about my problem! 
Ahh just seeing your next posting - what exactly does seem too big for you!
 
  • kn612
  • kn612
20 Nov 2025 01:46
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

I don't see an option anywhere in pnnconf to set pwmgens to offset mode. Is that something I would have to manually add to hal?

Also what are some tuning settings to use for the servos to get started?
  • DemonClaW
  • DemonClaW
19 Nov 2025 22:55 - 19 Nov 2025 22:56

Beckhoff Problem with Communication (TwinCAT, LinuxCNC)

Category: EtherCAT

Ive already tried it on 3 different ways now,

1. A youtube Video from Talla82 (looked awsome how easy it would be....)
2. with the Instructions from you (Forum) @rodw
3. ChatGPT whats kind of ... depressing and for sure wont work

I can hang you the current lcec.conf whitch is the setup for my EK1100 hopefully you can help me correct it
  • Hakan
  • Hakan
19 Nov 2025 22:31
  • kor
  • kor
19 Nov 2025 22:24

Ethercat installation from repositories - how to step by step

Category: EtherCAT

apt depends ethercat-dkms 
ethercat-dkms
  Hängt ab von: dkms (>= 2.1.0.0)
  Hängt ab von: <libtool>
  Hängt ab von: <autoconf>
  Hängt ab von: <autoconf-archive>
  Hängt ab von: <automake>
  Hängt ab von: pkg-config
    pkgconf
bf20@BF20:~$ apt policy libtool
libtool:
  Installiert:           (keine)
  Installationskandidat: (keine)
  Versionstabelle:
hängt ab von means depends on
keine means none

unfortunatly i did do the sudo apt update already that would be to easy :)
just tried again and tried the build essentials afterwards it tells me it is already the newest version 12.9


should I do a reinstall with the english language? It seems od to me that this would depend on the language.
  • tommylight
  • tommylight's Avatar
19 Nov 2025 22:06

Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern

Category: Deutsch

Added this to the link i posted here to better explain what can be used :
-This CAN be used for closed loop steppers with encoders wired to their drives and ADDED encoders or glass scales
Thank you for reminding me.
Danke schon.
Displaying 1336 - 1350 out of 21739 results.
Time to create page: 0.253 seconds
Powered by Kunena Forum