Search Results (Searched for: )
- unknown
16 Nov 2025 02:30 - 16 Nov 2025 02:33
Replied by unknown on topic I think StepConf does not work for my installation?
Stepconf is only for PC parallel ports.
Byte2Bot Parallel Port Raspberry Pi Hat is not an actual Parallel Port, yes it is confusing and probably somewhat misleading the way the Vendor names it. It does not provide any of the logical functions of a PC Parallel Port only presents the pins in a DB25 format and provides some level shifting.
The below is a thread that is more or less an index for the Main RPi4/5 thread.
forum.linuxcnc.org/38-general-linuxcnc-q...l-images-only#325007
Has a section regarding GPIO and there is a working config if you follow the links.
They are there you just have to look.
Just about everything regarding the Rpi4/5 is in this thread
forum.linuxcnc.org/9-installing-linuxcnc...official-images-only
The reason for these 2 threads was to provide users with a "self service and all in one stop".
Byte2Bot Parallel Port Raspberry Pi Hat is not an actual Parallel Port, yes it is confusing and probably somewhat misleading the way the Vendor names it. It does not provide any of the logical functions of a PC Parallel Port only presents the pins in a DB25 format and provides some level shifting.
The below is a thread that is more or less an index for the Main RPi4/5 thread.
forum.linuxcnc.org/38-general-linuxcnc-q...l-images-only#325007
Has a section regarding GPIO and there is a working config if you follow the links.
They are there you just have to look.
Just about everything regarding the Rpi4/5 is in this thread
forum.linuxcnc.org/9-installing-linuxcnc...official-images-only
The reason for these 2 threads was to provide users with a "self service and all in one stop".
- unknown
16 Nov 2025 02:20
Replied by unknown on topic Experimental raspios Linuxcnc Trixie images.
Don't bother no longer needed.
- unknown
16 Nov 2025 02:19
Replied by unknown on topic 2.9.4 7i96s - pendant doesn't go active until after a MDI move is made
hal & ini files ?
- COFHAL
16 Nov 2025 02:09
Replied by COFHAL on topic Experimental raspios Linuxcnc Trixie images.
I'll send you the information tomorrow because I don't have it here at my house.
- mooser
16 Nov 2025 02:05 - 16 Nov 2025 03:25
2.9.4 7i96s - pendant doesn't go active until after a MDI move is made was created by mooser
How to get the AXIS into manual mode at start up?
I have the typical cheap pendant (XYZA select, X1, X10, X100 and 100count MPG) wired into the encoder of a new 7i96s and I've got everything working on the test bench (after some help with an axis scale = 1 issue...)
At first the MPG worked fine until I made any MDI move (home all axis or a G0 x1) and then the MPG would stop responding.
I eventually thought the problem was similiar to one posted here concerning joints vs axis so I went in a swapped a bunch of lines from joint and changed them to be given in axis format and that worked... sort of
The pendant now doesn't respond until I make some form of MDI move (home all or a G0 x1 type thing)
Looking through what I can see, the program is starting in MDI and I really want it to start in Manual
Tried a handful of things relating to force halui.teleop.enabled in the custom.hal and then in the custom_postgui.hal thinking that it was getting overwritten before the program actually got going but with not luck
Tried
setp halui.mode.manual 1
and then
setp halui.mode.teleop 1
in either the custom.hal or post_customgui.hal with no change
I've got forced homing off in the ini and would like to keep it that way
I know the logic behind having the machine not in MPG mode until it's homed but since I can do any MDI command (g0 x1) and it works after than the way is should so it's not a safety thing
As always, any help would be appreciated
M
I have the typical cheap pendant (XYZA select, X1, X10, X100 and 100count MPG) wired into the encoder of a new 7i96s and I've got everything working on the test bench (after some help with an axis scale = 1 issue...)
At first the MPG worked fine until I made any MDI move (home all axis or a G0 x1) and then the MPG would stop responding.
I eventually thought the problem was similiar to one posted here concerning joints vs axis so I went in a swapped a bunch of lines from joint and changed them to be given in axis format and that worked... sort of
The pendant now doesn't respond until I make some form of MDI move (home all or a G0 x1 type thing)
Looking through what I can see, the program is starting in MDI and I really want it to start in Manual
Tried a handful of things relating to force halui.teleop.enabled in the custom.hal and then in the custom_postgui.hal thinking that it was getting overwritten before the program actually got going but with not luck
Tried
setp halui.mode.manual 1
and then
setp halui.mode.teleop 1
in either the custom.hal or post_customgui.hal with no change
I've got forced homing off in the ini and would like to keep it that way
I know the logic behind having the machine not in MPG mode until it's homed but since I can do any MDI command (g0 x1) and it works after than the way is should so it's not a safety thing
As always, any help would be appreciated
M
- EdWorks
16 Nov 2025 01:29 - 16 Nov 2025 01:33
I think StepConf does not work for my installation? was created by EdWorks
Hello. I am a new user. I've been at this for days and no joy. I just came to the realization that StepConf Wizard does not work on my setup. Here is my logic.
I have a Raspberry Pi 5 with a :
Byte2Bot Parallel Port Raspberry Pi Hat byte2bot.com/products/parallel-port-raspberry-pi-hat
5 Axis CNC Interface Adapter Parallel Breakout Board For Stepper Motor Drivers byte2bot.com/products/5-axis-cnc-interfa...tepper-motor-drivers .
I am running Linux Bookworm with an installation of LinuxCNC.
When I run StepConf Wizard and get to the X-Axis page I attempt ot see if I can move that axis - no joy.
My theory is that it doesn't work. I feel that when I complete the process for a machine which I will call Machine, I end up with a Machine.hal program that has lines containing "hal_gpio.PIN21-out" or "hal_gpio.PIN12-out".
Using the Byte2Bot parallel port, you are NOT allowed to refer to the output on the DB25 connector as PIN1, PIN2, PIN3 etc. Using a Byte2Bot hat with a Raspberry Pi 5, you must refer to the GPIO pin that is connected to PIN2 or PIN3 as it's corresponding GPIO pin on the Raspberry Pi. As an example, PIN2 is actually GPIO9, so the line would have to be "hal_gpio.GPIO9-out" to activate PIN2.
Seeing how StepConf Wizard is asking me what feature I want to assign to PIN2, I assume it is passing on the command ""hal_gpio.PIN2-out" which doesn't work, rather than "hal_gpio.GPIO9-out" which is required.
I have noticed that you can pick different interfaces prior to getting to the Axis X page, and the assignments change, BUT there is no corresponding change for the Byte2Bot setup.
I might also point out that I have found examples that PIN2 etc. that reportedly works on the Pi 4
Having made my case I suspect that I will hear "We can't set it up for every possibility" but I think I am missing something.
EdWorks
I have a Raspberry Pi 5 with a :
Byte2Bot Parallel Port Raspberry Pi Hat byte2bot.com/products/parallel-port-raspberry-pi-hat
5 Axis CNC Interface Adapter Parallel Breakout Board For Stepper Motor Drivers byte2bot.com/products/5-axis-cnc-interfa...tepper-motor-drivers .
I am running Linux Bookworm with an installation of LinuxCNC.
When I run StepConf Wizard and get to the X-Axis page I attempt ot see if I can move that axis - no joy.
My theory is that it doesn't work. I feel that when I complete the process for a machine which I will call Machine, I end up with a Machine.hal program that has lines containing "hal_gpio.PIN21-out" or "hal_gpio.PIN12-out".
Using the Byte2Bot parallel port, you are NOT allowed to refer to the output on the DB25 connector as PIN1, PIN2, PIN3 etc. Using a Byte2Bot hat with a Raspberry Pi 5, you must refer to the GPIO pin that is connected to PIN2 or PIN3 as it's corresponding GPIO pin on the Raspberry Pi. As an example, PIN2 is actually GPIO9, so the line would have to be "hal_gpio.GPIO9-out" to activate PIN2.
Seeing how StepConf Wizard is asking me what feature I want to assign to PIN2, I assume it is passing on the command ""hal_gpio.PIN2-out" which doesn't work, rather than "hal_gpio.GPIO9-out" which is required.
I have noticed that you can pick different interfaces prior to getting to the Axis X page, and the assignments change, BUT there is no corresponding change for the Byte2Bot setup.
I might also point out that I have found examples that PIN2 etc. that reportedly works on the Pi 4
Having made my case I suspect that I will hear "We can't set it up for every possibility" but I think I am missing something.
EdWorks
- Hakan
15 Nov 2025 23:41
Replied by Hakan on topic EtherCAT + CiA402 Servo: OP state reached, but axis won’t move (only Following E
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.
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
15 Nov 2025 23:03
Replied by PCW on topic 7i96 with analog Spindle Servo
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)
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
15 Nov 2025 22:52 - 23 Nov 2025 21:34
EtherCAT + CiA402 Servo: OP state reached, but axis won’t move (only Following E was created by aDm1N
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
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
Matthias
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
packagesCode:.deb
- EtherCAT master working
- Slave recognized
-
all OKCode:ethercat slaves → PREOP / SAFEOP / OP
- Servo drive: LC10E series (Chinese EtherCAT servo)
- EtherCAT mapping generated via
Code: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
- Using:
Code:lcec_configgen > ethercat-conf.xml
-
loads without errorsCode:lcec_conf ethercat-conf.xml
-
lists all expected pinsCode:halrun → show pin lcec
- CiA402 compiled successfully
- Configuration created using:
-
Code:cia402.ini
-
Code:cia402.hal
-
Code:ethercat-conf.xml
-
- CSP mode enabled:
-
Code:setp cia402.0.csp-mode 1
-
- Controlword, Statusword, Velocity pins linked correctly
- Fixed type mismatch (drv-fault bit vs u32) by removing problematic nets
- Removed unused / nonexistent pins
- Example: the LC10E has no
PDOCode:srv-actual-position
- Example: the LC10E has no
- EtherCAT pins work
- OP-state reached
-
,Code:srv-actual-velocityetc. update correctlyCode:srv-cia-controlword
- BUT actual velocity always stays 0
- Servo enables and holds torque
- But no movement at all
- Homing → immediate following error
- MDI
→ following errorCode:G0 X50
- Trying as spindle (
) → same issueCode:M3 S1000
- target position
- target velocity
- target torque (CST also tested)
- additional manufacturer-specific objects
- a different operation mode (CSV instead of CSP?)
- special enable/transition sequence
- custom PDO mapping not included in the ESI
- 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?
- which PDOs are absolutely required for motion
- how to correctly modify
for this family of drivesCode:ethercat-conf.xml
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
Code:lcec_configgen
- CiA402 kompiliert und installiert
- Motorwelle wird gehalten
- Manuelles Verdrehen erzeugt Fehler → Feedback vorhanden
-
Code:lcec_configgen > ethercat-conf.xml
-
lädt Datei ohne FehlerCode:lcec_conf
-
listet alle PinsCode:halrun → show pin lcec
- CSP-Modus aktiviert:
Code:setp cia402.0.csp-mode 1
- Statusword, Controlword, Velocity verknüpft
- Nicht vorhandene Pins (z. B. actual-position) entfernt
- Typfehler bei
(bit vs u32) korrigiertCode:drv-fault
- Fehlerhafte nets entfernt
- OP-State erreicht
- EtherCAT-Pins aktiv
- Tatsächliche Geschwindigkeit bleibt immer 0
- Servo geht in Betrieb
- Homen → sofort Schleppfehler
- G0 X50 → sofort Schleppfehler
- Test als Spindel (M3 S1000) → ebenfalls keine Bewegung
- Soll-Geschwindigkeit
- Soll-Position
- Soll-Drehmoment
- spezielle PDO-Konfiguration
- CSV statt CSP
- zusätzliche Hersteller-Objekte
- besondere Freigabesequenz
- LC10E / LC-EH / vergleichbare Modelle
- CiA402 im CSP-Modus
- CSV / PP als Alternativen
- angepasstes PDO-Mapping
- Welche minimalen PDOs sind zwingend notwendig, damit Bewegung möglich ist?
Matthias
- gravedigger
15 Nov 2025 22:49
Replied by gravedigger on topic 7i96 with analog Spindle Servo
Or should I switch to unipolar with CW and CCW?
What is the simplest and safest option?
What is the simplest and safest option?
- gravedigger
15 Nov 2025 22:43
Replied by gravedigger on topic 7i96 with analog Spindle Servo
- gravedigger
15 Nov 2025 22:40
Replied by gravedigger on topic 7i96 with analog Spindle Servo
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.
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
15 Nov 2025 22:23
Replied by mooser on topic New Build 7i96s - Can't move Axis DM556T Control
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
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
15 Nov 2025 22:11
Replied by mooser on topic New Build 7i96s - Can't move Axis DM556T Control
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
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
15 Nov 2025 22:01
Replied by PCW on topic New Build 7i96s - Can't move Axis DM556T Control
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
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
Time to create page: 0.504 seconds