Advanced Search

Search Results (Searched for: )

  • Drustar
  • Drustar
07 Apr 2026 23:02
Replied by Drustar on topic Help with Lichuan drives

Help with Lichuan drives

Category: EtherCAT

You guys are great, thanks. I will try your suggestions and will then put together all the files you asked for etc.
Thanks very much.
  • bentiggin
  • bentiggin
07 Apr 2026 22:54
Estimate program run time was created by bentiggin

Estimate program run time

Category: Plasmac

Is there an easy way to estimate a programs run time? I tried searching and couldn't find anything.
I know there is a stickied post on creating a sim, but that doesn't seem useful for quoting.
  • jetbadger
  • jetbadger
07 Apr 2026 21:40
Replied by jetbadger on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

Thank you!

The comments and overall formatting you did I greatly appreciate, makes it much easier to follow for someone like me and I think I'm starting to get an idea of how most of it works, well atleast to some extent.

For now the spindle drive is always in position mode, it's just a servo drive/motor. It seems to work okay, but then again it's a bit early to tell.

I will test things on the actual machine in the upcoming days as it's a bit of a drive, but I have high hopes this time :)
  • Philip Lydin
  • Philip Lydin
07 Apr 2026 20:27
Replied by Philip Lydin on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I’m trying to tune my servos but I’m getting around 0.02mm ferror instantly regardless the speed which then quickly drops to a couple microns steady. Can you recommend a way to fix it or is it ok as is?
  • my1987toyota
  • my1987toyota's Avatar
  • andrax
  • andrax's Avatar
07 Apr 2026 19:34

400V Servo (51 Nm) mit EtherCAT / CiA402 in LinuxCNC – bezahlbarer Drive gesucht

Category: Deutsch

Oha SEW?
Wenn für dich die 512inc Encoder kein Problem sind und die Analog Ansteuern möchtest.
Kann ich dir meine Anbieten.
MDX61b mit Profibus Karte (dfb21b) komplett mit Kabeln und Motoren.
Könnten auch auf ethercat Hochgerüstet werden
 
  • DemonClaW
  • DemonClaW
07 Apr 2026 19:30
Replied by DemonClaW on topic Umbau der Steuerung auf LinuxCNC + EtherCAT

Umbau der Steuerung auf LinuxCNC + EtherCAT

Category: Deutsch

Hey Leute,

hat jemand die Idee mit dem ThinkCentre und EtherCAT weiterverfolgt?

Ich habe mein System auf dem Raspi5 konfiguriert bin aber leider Hardwaretechnisch mit 2 Bildschirmen dort an sein ende gestoßen und wollte auf ein ThinkCentre M900 upgraden. Dieses Verfügt über den I219-LM Netzwerk Chip der EtherCAT fähig ist. Als ich jedoch das System oben hatte konnte ich den CAT nicht wie gewöhnlich also so wie ich es beim Raspi getan habe Online bringen. Gibt es Besonderheiten auf die zu achten sind?
  • Adam Maszynotwór
  • Adam Maszynotwór's Avatar
07 Apr 2026 19:19

ATC lathe - Clasic Ladder, Stream Deck, Remap M6 My setup

Category: Advanced Configuration

Hi, I'm working on an ATC tool changer for a CNC lathe. The videos are in Polish, but you can turn on the dubbing on YouTube [EN]. This may not be a professional tutorial (it may not be in line with the art of writing software). However, I think it's a useful resource because it includes an example written from A to Z. An added bonus is the Stream Deck for tool changing, using talla83 as an example.

The entire series about the tool changer + dubbing [EN]

Part 1 (Mechanics):

Part 2 (Servo and Torque):

Part 3 (Stream Deck)

Part 3 FULL


Maybe my materials will be helpful to someone :)

Config www.dropbox.com/scl/fo/n8dhp3xcx0qecqnoo...t7y&st=s8xvag3p&dl=0
  • slowpoke
  • slowpoke
07 Apr 2026 18:42 - 08 Apr 2026 10:50

Spindle encoder configuration (with G76 threading command and Mesa 7i96s)

Category: HAL

is spindle.0.at-speed  true?Also does the index work?Test by (either in halshow or with halcmd -kf)sets spindle-index-enable truewatch  spindle-index-enable in halshowit should go high with the sets command and then low when you rotatethe spindle past the index position.

 


Some progress, but still not quite there.

The error I was receiving ("Chosen spindle(0) not turning in G76")  when I tried opening my gcode file was occurring because I did not have a M03 (start spindle command), because I start my spindle manually. So now the program opens and runs, just not correctly.

I scoped with an actual scope the index signal as well as the other spindle quadrature signals and they are as expected (not sure on the polarity of the index pulse. It is low for most of a spindle rotation, with a brief blip high once per revolution.The program now runs, however it cuts and retracts in the wrong direction (X wise). It seems that the G76 command thinks more negative X is towards the center of the spindle center line and more positive is out and away from the spindle centreline.Even the graphic, shows -X towards the centerline ie. a deeper cut is more negative X), please see attached. Interestingly the animated graphic, shows the correct motion with a slow cut to the left then retracting out for the non-cutting return  Z movement in the real world -X direction (labeled as positive X in the graphic), and then cutting progressively deeper (real world X, graphic more negative X) on each pass..ngc file is as follows:

(huge 1.25 x 7 coarse external thread)
S100 M3
G90
G0 x-0.002 Z0.1G76 P0.1429 Z-1.0 I-0.0876 J0.005 K 0.0876G0 X -0.05 Z 0.1
M5
M30


Answers to your questions:

1) is spindle.0.at-speed  true?  Yes because it's hard set in HAL  (sets spindle-at-speed true)

2) Also does the index work? Yes, it is low for most of the revolution, and blips high momentarily as the magnet passes,See scope capture.
Test by (either in halshow or with halcmd -kf)

3) set spindle-index-enable true watch  spindle-index-enable in halshow it should go high with the sets command and then low when you rotate the spindle past the index position.  It does exactly that.

I think at this point I just need to resolve the backwards X movement.

I also noticed that when I use the cursor keys to jog the X-axis, they are backwards for the X-axis. Up arrow moved the cross slide down and visa versa.

If I flip the polarity of the X scale value in the ini file, the cursor keys are correct, but the actual cross slide move backwards.
Same thing if I flip the direction of rotation in the servo software, I can get the cursor keys correct, but the actual direction is backwards.

As expected flipping both gets me back to where I started.

I'm not sure if the backwards cursor keys have any correlation with the G76 working backwards for X but seems like there might be a link?

If I change the sign of the "I" term from negative to positive (which should change from external to internal thread mode), the program correctly cuts the thread, The graphic representation in axis shows an internal thread being cut, but the actual action is external resulting in a perfect thread.
 
  • Muecke
  • Muecke's Avatar
07 Apr 2026 18:03

400V Servo (51 Nm) mit EtherCAT / CiA402 in LinuxCNC – bezahlbarer Drive gesucht

Category: Deutsch

Sorry für die späte Rückmeldung, ich bin leider nicht früher dazu gekommen, mir alles in Ruhe anzuschauen.

@ andrax :
Ich kann aktuell noch keine Bilder einstellen, da ich mich noch in der Auswahlphase befinde und den Motor sowie das Getriebe noch nicht habe.

Zu diesem Motor benötige ich außerdem noch weitere Motoren im Bereich 1,2 Nm, 4 Nm und 5 Nm. Deshalb überlege ich gerade, ob ich alles von SEW nehme, damit die Treiberwelt einheitlich bleibt. Allerdings ist SEW preislich schon noch einmal eine andere Hausnummer als Moons:
www.moonsindustries.com/c/servo-drives-a0104

Aktuell bin ich da noch hin- und hergerissen.

Based on the manual (download.sew-eurodrive.com/download/pdf/29194652.pdf), your motor appears to be an 8-pole motor.


Auf Seite 105 (3.7 CM3C100 / 3.7.1 Technische Daten) steht tatsächlich:
Polzahl = 8

Was bedeutet das für mich bzw. für die Auswahl des Treibers konkret?
Heißt das, der Treiber muss speziell zu einem 8-poligen Motor passen?
Oder hat das mit der Anzahl der Motorleitungen nichts direkt zu tun?

For an 8-pole motor to operate at 4500 RPM, it requires a frequency supply of approximately 300 Hz, which is supported by most modern drives.


Ok, das heißt also:
Der Treiber müsste ausgangsseitig ungefähr 300 Hz sauber liefern können, wenn ich die 4500 rpm überhaupt ausfahren will?

Please note that the 400 V value refers to the inverter-rated voltage, not the motor's rated voltage. You can find additional details in the following document (see page 44):
download.sew-eurodrive.com/download/pdf/29133866.pdf


Was bedeutet „inverter-rated voltage“ auf Deutsch genau?
Ist damit die Umrichter-Nennspannung gemeint?
Und ist der Umrichter in diesem Fall einfach der eigentliche Servodrive / Treiber, oder ist das noch einmal etwas Separates?

I found a similar motor with name plate details in this ebay listing:
www.ebay.de/itm/168190225800


Ja, der sieht vom Aufbau her tatsächlich sehr ähnlich aus wie die STEP-Datei, die ich bekommen habe.

Estimate the torque required


Aktuell schätze ich, dass ich abtriebsseitig im Normalbetrieb etwa 4.500 bis 5.500 Nm benötigen werde.
Alles darüber ist im Moment eher Sicherheitsreserve – und ein Stück weit auch Respekt vor der realen Anwendung. ;)

Viele Grüße
Mücke
  • andrax
  • andrax's Avatar
07 Apr 2026 17:53
Replied by andrax on topic Beckhoff BK1120 + KL modules on Linuxcnc

Beckhoff BK1120 + KL modules on Linuxcnc

Category: EtherCAT

Wenn ich mich Recht entsinne, funktieren die BK klemmen nicht.
Die sind das ältere Modell und verwenden ein anderes Protokoll 
  • Atsu
  • Atsu
07 Apr 2026 17:49
Replied by Atsu on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Just wanted to report back that since installing grandixximo's fork three weeks ago, I’ve had zero issues. So at least for me and my hardware, that’s the real solution here.
  • Todd Zuercher
  • Todd Zuercher's Avatar
07 Apr 2026 17:41 - 07 Apr 2026 17:43
Replied by Todd Zuercher on topic Homing To Index Following Error

Homing To Index Following Error

Category: Advanced Configuration

I re-examined the flow of the commands through the components I'm using for temporarily slaving the W to the Z axis.  Then I reshuffled the addf order a little more appropriately and now it seems to be working.  

Thanks.

Here is the hal file that is working better.

 

File Attachment:

File Name: TwinCNC_20...4-07.hal
File Size:22 KB
  • Nkbhvid
  • Nkbhvid
07 Apr 2026 17:25

Beckhoff BK1120 + KL modules on Linuxcnc

Category: EtherCAT

Hi everyone,I am trying to get a Beckhoff BK1120 (EtherCAT to K-bus coupler) working with LinuxCNC using EtherLab (ethercat-master) and the linuxcnc-ethercat (lcec) driver.I am running into some limitations and hope someone has experience with this.Setup:
  • LinuxCNC on Debian Bookworm
  • EtherLab master (from openSUSE repo)
  • linuxcnc-ethercat (lcec)
  • NIC: Intel I210 (working fine)
  • Hardware:
    • BK1120
    • KL1104 (digital inputs)
    • KL9010 end terminal
What works:
  • EtherCAT master is running and stable (Active: yes, Phase: Operation)
  • BK1120 is detected correctly
  • Communication is stable (no frame loss, link up)
The problem:
The BK1120 does not expose standard CoE PDOs like typical EtherCAT slaves (for example EL terminals).
Instead it provides a fixed process image for the attached KL modules.Because of this:
  • Standard PDO mapping via lcec XML does not work (0x6000 etc.)
  • Terminal-based configs (EK1100 + ELxxxx) do not apply to KL modules
  • lcec does not seem to support raw domain access for mapping the BK1120 process image directly to HAL pins
What I have tried:
  • Generic slave configs with and without PDO entries
  • Attempted raw mappings (not accepted by lcec parser)
  • Minimal configs to bring the master up (works, but no usable I/O)
  • Checking data with ethercat CLI (limited without proper domain mapping)
Current conclusion:
  • BK1120 with KL modules does not fit well with lcec, which expects PDO-based slaves
  • The data exists, but is not easily exposed to HAL
Questions:
  • Has anyone used BK1120 with KL modules in LinuxCNC?
  • Has anyone managed to access the process image and map it to HAL pins?
  • Has anyone written a custom lcec extension or used another approach?
Alternatives I am considering:
  • Writing a custom HAL component to read from EtherCAT master directly
  • Userspace polling (not suitable for realtime CNC)
Before I give up on the BK1120, I would like to know if there is a workable solution.Any input, configs or experience would be appreciated.Thanks
  • eraserhd
  • eraserhd
07 Apr 2026 17:25
Replied by eraserhd on topic Remora for RP2040

Remora for RP2040

Category: Computers and Hardware

I didn't make a fix for the spinlock var because restructuring the code to try and implement PIO eliminated it. I'm still working on the PIO code, but "semaphore" needs a "volatile" keyword in front of it:

github.com/scottalford75/Remora-RP2040-W...read/pruThread.h#L31

I don't remember if "execute" also needs it. "semaphore" is intentionally used to synchronize the two CPU cores, so you need to tell the compiler the value can change any time you look at it.
Displaying 91 - 105 out of 17357 results.
Time to create page: 0.288 seconds
Powered by Kunena Forum