Advanced Search

Search Results (Searched for: )

  • langdons
  • langdons's Avatar
16 Nov 2025 00:56
Replied by langdons on topic MesaCT 7i96s + 7i77

MesaCT 7i96s + 7i77

Category: Configuration Tools

Hmm...

Well, PNCConf+Manual edit is an option, though not a great option.

It might be appropriate to create an issue on MesaCT's GitHub page, as this is a problem that deserves to be fixed.
  • Hakan
  • Hakan
15 Nov 2025 23:41

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

Category: General LinuxCNC Questions

I see there wasn't an "actual-position" pdo. There absolutely must be an actual-position PDO when using csp.
I think lcec_configgen didn't do a good job this time and maybe selected wrong PDOs.

There is a long thread about Lichuan LC10E and problems to get that to work.
On page 7 forum.linuxcnc.org/ethercat/52341-proble...rive?start=60#304887
they come to a working setup, a working ethercat-conf.xml
And when I look at it, it's just a standard setup with configurable PDOs, often used.
Combine the ethercat-conf.xml with the hal file from cia402 component github.com/dbraun1981/hal-cia402/blob/main/example/cia402.hal
and I think it should move.
  • PCW
  • PCW's Avatar
15 Nov 2025 23:03
Replied by PCW on topic 7i96 with analog Spindle Servo

7i96 with analog Spindle Servo

Category: Driver Boards

Step/dir at 10000 steps/turn and 6000 RPM (1 MHz step rate) in not an issue for the 7I96S
but it would require a step pulse length < 0.5 usec. Not sure if the drive will work with that.
(the manual seems to lack timing specs) You can change the steps per turn scaling to make this
easier.


You could also use analog in unipolar mode (0 to +10V  plus a direction signal)
This would require an external 10V power supply (12V would be OK with the proper hal setup)
  • aDm1N
  • aDm1N's Avatar
15 Nov 2025 22:52 - 23 Nov 2025 21:34

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

Category: General LinuxCNC Questions

Hello everyone,I am currently trying to commission an EtherCAT servo drive (LC10E series) using LinuxCNC + LCEC + CiA402.
The slave enters OP-state correctly, torque is enabled, the shaft is held, but the servo never moves.
Any motion command (homing or G0/G1) results instantly in a following error.Below is a complete summary of everything that was tried so far.System Setup
  • LinuxCNC 2.10~pre0 (uspace), clean installation via
    .deb
    packages
  • EtherCAT master working
    • Slave recognized
    • ethercat slaves → PREOP / SAFEOP / OP
      all OK
  • Servo drive: LC10E series (Chinese EtherCAT servo)
  • EtherCAT mapping generated via
    lcec_configgen
  • CiA402 component compiled and installed from GitHub
  • Motor shaft is energized and held when LinuxCNC is activated
  • Mechanical disturbance triggers an error from the drive → feedback works
What has already been done1. XML generated correctly
  • Using:
    lcec_configgen > ethercat-conf.xml
  • lcec_conf ethercat-conf.xml
    loads without errors
  • halrun → show pin lcec
    lists all expected pins
2. CiA402 integration
  • CiA402 compiled successfully
  • Configuration created using:
    • cia402.ini
    • cia402.hal
    • ethercat-conf.xml
  • CSP mode enabled:
    • setp cia402.0.csp-mode 1
  • Controlword, Statusword, Velocity pins linked correctly
3. HAL issues fixed
  • Fixed type mismatch (drv-fault bit vs u32) by removing problematic nets
  • Removed unused / nonexistent pins
    • Example: the LC10E has no
      srv-actual-position
      PDO
4. halrun diagnostics
  • EtherCAT pins work
  • OP-state reached
  • srv-actual-velocity
    ,
    srv-cia-controlword
    etc. update correctly
  • BUT actual velocity always stays 0
5. LinuxCNC behavior
  • Servo enables and holds torque
  • But no movement at all
  • Homing → immediate following error
  • MDI
    G0 X50
    → following error
  • Trying as spindle (
    M3 S1000
    ) → same issue
6. OP-state OK but drive ignores setpointsThe drive enters OP without issues, but does not react to:
  • target position
  • target velocity
  • target torque (CST also tested)
Setpoints are written by LCEC, but the servo does not act on them.Current suspicionThe LC10E likely does not accept the setpoint PDOs generated by default, or requires:
  • additional manufacturer-specific objects
  • a different operation mode (CSV instead of CSP?)
  • special enable/transition sequence
  • custom PDO mapping not included in the ESI
The servo provides status feedback, but ignores motion commands.QuestionsHas anyone successfully used:
  • LC10E, LC-EH or similar Chinese EtherCAT servos with LinuxCNC?
  • CiA402 in CSP mode on these drives?
  • CSV or PP mode with these drives?
  • Custom PDO configuration?
Also helpful would be a minimal example of:
  • which PDOs are absolutely required for motion
  • how to correctly modify
    ethercat-conf.xml
    for this family of drives
Any input is greatly appreciated – I am stuck at this very last step.Thanks,
MatthiasDeutsche VersionHallo zusammen,ich versuche derzeit, einen EtherCAT-Servotreiber (LC10E-Serie) mit LinuxCNC + LCEC + CiA402 in Betrieb zu nehmen.
Der Servo geht korrekt in den OP-Zustand, das Haltemoment ist da, aber er bewegt sich nicht.
Jeder Bewegungsbefehl (Homen oder G0/G1) führt sofort zu einem Schleppfehler.Hier eine vollständige Übersicht über alle bisher getesteten Schritte.System
  • LinuxCNC 2.10~pre0, frisch installiert
  • EtherCAT läuft
  • Slave wird korrekt erkannt
  • Servotreiber: LC10E-Serie
  • XML erzeugt mit
    lcec_configgen
  • CiA402 kompiliert und installiert
  • Motorwelle wird gehalten
  • Manuelles Verdrehen erzeugt Fehler → Feedback vorhanden
Bereits getestete Schritte1. XML korrekt erzeugt
  • lcec_configgen > ethercat-conf.xml
  • lcec_conf
    lädt Datei ohne Fehler
  • halrun → show pin lcec
    listet alle Pins
2. CiA402 korrekt eingebunden
  • CSP-Modus aktiviert:
    setp cia402.0.csp-mode 1
  • Statusword, Controlword, Velocity verknüpft
  • Nicht vorhandene Pins (z. B. actual-position) entfernt
3. HAL-Fehler behoben
  • Typfehler bei
    drv-fault
    (bit vs u32) korrigiert
  • Fehlerhafte nets entfernt
4. Diagnose mit halrun
  • OP-State erreicht
  • EtherCAT-Pins aktiv
  • Tatsächliche Geschwindigkeit bleibt immer 0
5. Verhalten in LinuxCNC
  • Servo geht in Betrieb
  • Homen → sofort Schleppfehler
  • G0 X50 → sofort Schleppfehler
  • Test als Spindel (M3 S1000) → ebenfalls keine Bewegung
6. GrundverhaltenDer Treiber arbeitet grundsätzlich, aber er reagiert nicht auf:
  • Soll-Geschwindigkeit
  • Soll-Position
  • Soll-Drehmoment
VermutungDer LC10E benötigt vermutlich:
  • spezielle PDO-Konfiguration
  • CSV statt CSP
  • zusätzliche Hersteller-Objekte
  • besondere Freigabesequenz
Momentan liefert der Servo Statusmeldungen, führt aber keine Sollwerte aus.FragenHat jemand diesen oder ähnliche chinesische EtherCAT-Servotreiber erfolgreich mit LinuxCNC betrieben?Speziell:
  • LC10E / LC-EH / vergleichbare Modelle
  • CiA402 im CSP-Modus
  • CSV / PP als Alternativen
  • angepasstes PDO-Mapping
Und:
  • Welche minimalen PDOs sind zwingend notwendig, damit Bewegung möglich ist?
Jede Hilfe ist willkommen – ich bin jetzt sehr tief in der Konfiguration drin, aber komme hier nicht weiter.Danke,
Matthias
  • gravedigger
  • gravedigger
15 Nov 2025 22:49
Replied by gravedigger on topic 7i96 with analog Spindle Servo

7i96 with analog Spindle Servo

Category: Driver Boards

Or should I switch to unipolar with CW and CCW?
What is the simplest and safest option?
  • gravedigger
  • gravedigger
15 Nov 2025 22:43
Replied by gravedigger on topic 7i96 with analog Spindle Servo

7i96 with analog Spindle Servo

Category: Driver Boards

 

File Attachment:

File Name: A3T-V2.0-.pdf.zip
File Size:1,101 KB

 
  • gravedigger
  • gravedigger
15 Nov 2025 22:40
Replied by gravedigger on topic 7i96 with analog Spindle Servo

7i96 with analog Spindle Servo

Category: Driver Boards

I think `step/dir` is causing problems.

The incremental encoder has 2500 lines and therefore 10000 pulses. The motor needs 10000 pulses per revolution at 6000 RPM.

That's probably too many.

I need to somehow change the pulses via the parameters. But I'm stuck for ideas.
  • mooser
  • mooser
15 Nov 2025 22:23

New Build 7i96s - Can't move Axis DM556T Control

Category: Driver Boards

OK so set the scales to 1000 for now and what do you know.... they all move

Pendant is working on the TB2 encoder with the axis select and feed rate multiplier switches and the MPG doing what it supposed to do.
E-stop triggers an output that isn't connected to anything yet but it works at least
Need to connect the LED to something, probably look for a signal that shows when AXIS is in Manual Control rather than MDI

From what I understand it doesn't look like the Axis indicator "lamps" on the Axis screen will follow the pendant selections, too bad as that would actually be handy.

Next step I think is to get the spindle output working.
I'm hoping to just use a meter to watch the output since the actual spindle is a 220v VFD which I don't have here on the bench

Then I'll have to get the 7i84u hooked up and start looking at limit and home switched

Thanks again guys, more questions will be coming I'm sure
M
 
  • mooser
  • mooser
15 Nov 2025 22:11

New Build 7i96s - Can't move Axis DM556T Control

Category: Driver Boards

STEP_SCALE = 1.0 across the board.............. BANG HEAD!!!!
Just setting everything up on the desk so I just hit 1 on every axis in PNCconf without thinking of the effects
There's a couple of hours I'll never get back... 

Thanks guys
 
  • PCW
  • PCW's Avatar
15 Nov 2025 22:01

New Build 7i96s - Can't move Axis DM556T Control

Category: Driver Boards

If it's moving very slowly, (and in the proper direction) that'a a scaling issue
not a wiring/hardware issue.

For step/dir drives with optocoupler inputs (like the DM556)
I would normally suggest single ended wiring:

7I96S   DRIVE
STEP+  STEP+
GND    STEP-
DIR+    DIR+
GND   DIR-
STEP-   NC
DIR-     NC
 
  • rodw
  • rodw's Avatar
15 Nov 2025 21:59

New Build 7i96s - Can't move Axis DM556T Control

Category: Driver Boards

Be happy! you have movement!
you just need to work on your steps per mm/inch and velocities. Note that jogging uses DEFAULT_VELOCICTY so if it is low, motion will be slow. Also try a G0 in the MDI window
  • unknown
  • unknown
15 Nov 2025 21:57
Replied by unknown on topic Experimental raspios Linuxcnc Trixie images.

Experimental raspios Linuxcnc Trixie images.

Category: Installing LinuxCNC

Would it be possible for you to give any information regarding the missing module and the installation process ?
  • mooser
  • mooser
15 Nov 2025 21:26 - 15 Nov 2025 21:47

New Build 7i96s - Can't move Axis DM556T Control

Category: Driver Boards

Starting a new build for a XYZ router and I went with a 7i96s card because of availability. (Also got a 7i84u but that will create later problems)
Hooked the card up and I thought I had everything set correct for a few simple tests on the bench but obviously missing something.

Hooked the DM556T control to TB1 pins 1,2,3,4  for step -/+ and dir -/+ of the controller
Left the enabled +/- disconnected as per the StepperOnline Manual

in the PNCconf I set the first step/gen for main axis X
net x-enable=> hm2_7i96s.0.stepgen.00.enable type settings show in the machine.HAL

I can jog with the arrow keys and the DRO thinks the axis is moving but the stepper doesn't move. moves incredibly slow it turns out. G0 X100" is turning about 1/4 of a rotation on the motor and takes 15 seconds...... I must have my steps/rev way off somewhere.. back to the drawing board

(The shaft is locked when under power, turns with the power is removed which is what I would expect)

As far as I can figure from the MESA docs this should be the default wiring setup but do I need to configure different for it in the HAL or is it possible the enabled needs to be pulled down on the controller?

Tried various different things most of the afternoon now and I'm just going in circles 

Any suggestions or ways to troubleshoot would be appreciated

Thanks in advance
M
  • Lpkkk
  • Lpkkk
15 Nov 2025 20:14
Replied by Lpkkk on topic Huanyang FC01 modbus

Huanyang FC01 modbus

Category: Advanced Configuration

You mean like writing my own hal component?
Where can I find some more info?
  • COFHAL
  • COFHAL
15 Nov 2025 19:27

Experimental raspios Linuxcnc Trixie images.

Category: Installing LinuxCNC

I fixed the missing module with your instructions, and another one appeared related to QT5. I checked the error on the web, and it was also due to a missing module. I installed it, and PROBEBASIC worked. I also reinstalled the image with your instructions, and now everything works fine. Thank you for your support.
Displaying 1081 - 1095 out of 22223 results.
Time to create page: 0.369 seconds
Powered by Kunena Forum