Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
07 Apr 2026 07:49
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I’ve been following this thread with interest all along. What surprises me, though, is that I haven’t experienced the jitter issues described so far. I’d be interested to know what hardware you’re using. Perhaps there’s a correlations 

Its never been an issue for me  either. I did wonder the other day if newer hardware was  not a concern.
  • meister
  • meister
07 Apr 2026 07:39

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

soooooo, dev is merged to main, no way back :)

there are some big changes:

### Warning
* breaking changes, please open your config in rio-flow to fix/convert some stuff

### Gui
* new graphical config-gui: rio-flow
* removing old rio-setup

### Genaral
* move all stuff into plugins (boards/modules/breakouts)
* replacing modbus -> mbus/mbus_device/mbus_hy
* replacing i2cbus -> i2c/i2c_device
* better simulation
* test-tool is now based on the hal-component c-code
  • opw
  • opw
07 Apr 2026 07:11

Simple G7x Profile editor for Linuxcnc/Axis

Category: AXIS

Thanks for reporting this. I am a little pressed for time these days, so I don't know when I get around to checking and fixing it. 

 
  • meister
  • meister
07 Apr 2026 06:38
Replied by meister on topic Raspberry with LinuxCNC direct interface

Raspberry with LinuxCNC direct interface

Category: Computers and Hardware

Untested

 

 

File Attachment:

File Name: rpi4-stepper.zip
File Size:598 KB
  • Tserakhau
  • Tserakhau
07 Apr 2026 06:36
Replied by Tserakhau on topic Retrofitting a 1986 Maho MH400E

Retrofitting a 1986 Maho MH400E

Category: Milling Machines

  Good afternoon.My name is Victor, and I'm restoring a MAHO 600E milling machine and converting it to Linux (the original Philips operating system).Thank you so much for this thread; many questions were resolved using the forum.I received the machine without a spindle motor, coolant system, and most relays.I've already done almost everything; the machine moves and finds its home position.I installed and tested the speed control box; all speeds shift perfectly! (The box is completely identical to yours, although the motors are installed slightly differently.)I've also already configured the lubrication system, hydraulic clamp, and MPG control panel.My question is: what needs to be done next after setting up the simulator? How do I implement this into the .ini or .hal files?I apologize for any inaccuracies in the text of this message; I'm using Google Translate because my English is poor.
  • masawee
  • masawee
07 Apr 2026 06:15 - 07 Apr 2026 06:17
Replied by masawee on topic Raspberry with LinuxCNC direct interface

Raspberry with LinuxCNC direct interface

Category: Computers and Hardware

i think NOT need this HAT, i think can build own "hat" mean connect to gpio pins shift level converter tx108 chip module, input is 3,3V and this module convert output to 5V and this 5V signal can wired to stepper driver board DM556 etc, step pin and dir pin and enable pin. but problem have how i setting rpi4 linuxcnc all gpio pins ? rpi4 and has installed linuxcnc but if looking have only config wisard and this can only setting paraller port pins, and pnconfig tool has only how setting mesa card pins, i not understand how can setting rpi4 gpio pins all step, dir, enable and all input pins home, e-stop, limits, probe, etc pendant encoder, rotary SW, axis select, scale select. i have installled linuxcnc to rpi4 and software/image working ok, but how setting gpio pins ?
  • grandixximo
  • grandixximo's Avatar
07 Apr 2026 03:23 - 07 Apr 2026 07:46
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

 
I was wrong, on closer inspection the planner can stay within the jerk limit without falling back to a full stop.

It was a bug in the jerk budget split during Bezier blends. Tangential jerk (Ruckig along the path) and centripetal jerk (curvature change through the blend) were budgeted independently, 50% and 100% of the per-joint limit respectively, assuming they're orthogonal. They are in Cartesian space, but not per joint axis, where they add as scalars. For @ruediger123's octagon: 25k + 50k = 75k on a 50k limit, matching the ~47% overshoot in the HALscope trace.

Fix: subtract the tangential share before allocating centripetal. 25k + 25k = 50k, exactly at the limit, no overshoot, no wasted headroom. Corner velocity drops ~20% vs the buggy code, but it's the true physical maximum.

@PCW was right, the TP should always obey constraints. Fix is in the 9d branch.

Edit:

github.com/LinuxCNC/linuxcnc/actions/runs/24068143520?pr=3807

the artifacts at the end of the page.
I'm also looking at what Automata had reported, I think I can improve merging of small segments, I'll put some effort into that
  • spumco
  • spumco
07 Apr 2026 01:32
Replied by spumco on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

Here you go.

Again, it's complicated.  Feel free to ask questions if something is unclear.

A few thoughts:
  • Still a work in progress, but the part(s) you want works.
  • HAL files are broken up by major components of the config.
  • Lots of comments - you should get a sense of the uncountable number of times I've tried or tweaked something.
  • Signal names are all upper case because LCNC's halshow sorts by case first, then alphabetically.  Drives me nuts searching for signals if they're all jumbled due to upper/lower case.
  • Sub-spindle is not connected to an axis.  LCNC doesn't have duplicate rotary axes like UVW for XYZ.  I found (so far) M19 works fine for the sub.
  • Main spindle motor is a SZGH 'servo spindle' - an induction motor with a pretty smart drive.
    • The drive has position, velocity, and torque modes, just like a brushless PM servo
    • I believe @Aciera switches his drive between velocity and position when he switches LCNC between spindle and C-axis.
    • I found that position mode had a bit of dither at stand-still, possibly due to the induction motor characteristics.  So my drive/motor is always in velocity mode, unlike @Aciera's example.  This may help you with your Schaublin's spindle drive.
  • --Matt--
  • --Matt--
06 Apr 2026 22:58 - 06 Apr 2026 23:01
Replied by --Matt-- on topic Does auto-leveling for Probe Basic exist?

Does auto-leveling for Probe Basic exist?

Category: QtPyVCP

You may find that the user tab for Z-compensation is suitable for PCB machining (that is what I intend to use it for)...

forum.linuxcnc.org/qtpyvcp/56808-surface...asic?start=13#339938

This lets you probe the surface with a grid and then when compensation is enabled it applies an interpolated Z offset so that it tracks the surface. This way you don't actually have to modify the g-code. (Should make engraving depth more consistent if the bed isn't perfectly level).
  • --Matt--
  • --Matt--
06 Apr 2026 22:42
Replied by --Matt-- on topic Surfacemap Z compensation with Probe Basic

Surfacemap Z compensation with Probe Basic

Category: QtPyVCP

I'd given up on this for a while and only just noticed the replies here, thanks!

After updating linuxcnc and probe basic I was then able to get the user tab working very quickly. I should be able to have a go at some PCBs now. 

Thanks all for your help.
  • PCW
  • PCW's Avatar
06 Apr 2026 21:55 - 06 Apr 2026 22:05

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 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.

 
  • slowpoke
  • slowpoke
06 Apr 2026 21:38 - 06 Apr 2026 21:40

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

Category: HAL

I made a new configuration using pncconf and compared the spindle & encoder 0 section.

I don't see anything that's different, other than naming conventions (see attached)

I have a quadrature spindle encoder connected encoder (0) input. A & B

I now also have a 1PPR signal, connected to the encoder.0. index pin.

In Halshow
- spindle.0.revs counts up as expected when the spindle is rotated forward
- spindle.0.speed-in appears correct
- spindle.0.index-enable shows disabled

In my SM-10.hal file I have:
net spindle-index-enable <=> spindle.0.index-enable

IF I comment out this line, I can then enable spindle.0.index-enable manually in Halshow, that makes no difference when trying to open the file below (same error)

Regardless when I try to open the following 2 line G76 program I get the following error: "Chosen spindle(0) not turning in G76"

Program:
G0 X0.45
G76 P0.0625 Z-0.5 I -0.005 J 0.008 K 0.0503

What does the error message actually mean and/or what is Linux missing that it needs?

It has the quadrature encoder signals and it has the index pulse, that I can see toggle as the magnet passes the sensor once per rev,

The revs counter is counting up 1 per rev.
  • jetbadger
  • jetbadger
06 Apr 2026 19:30
Replied by jetbadger on topic Lathe C axis homing

Lathe C axis homing

Category: General LinuxCNC Questions

Oh whichever is easiest for you, I don't have a parting slide and C axis at this moment is all I'm trying to do. I'm immensely grateful anyway :)
  • COFHAL
  • COFHAL
06 Apr 2026 19:15
Replied by COFHAL on topic Help with Lichuan drives

Help with Lichuan drives

Category: EtherCAT

You can try these examples that I have working with some of those ETHERCAT servos

File Attachment:

File Name: EC-Axis-C.rar
File Size:45 KB

File Attachment:

File Name: EC-position.rar
File Size:20 KB

File Attachment:

File Name: EC-position-vel.rar
File Size:21 KB

File Attachment:

File Name: EC-Spindle.rar
File Size:44 KB
  • ewlsey
  • ewlsey
06 Apr 2026 17:51
Replied by ewlsey on topic Cubic Interpolator

Cubic Interpolator

Category: General LinuxCNC Questions

OK. I'm having a really hard time understanding the code base. The files don't seem to have any comments explaining what they actually do, what leads to them, or where they lead to.

If the cubic.c is only for non-trivial kinematics, how does the interpolation work for normal cartesian machines?

I was assuming that every servo period it pulls a target position and velocity from the trajectory planner creating 1ms stair steps of constant velocity, but I really can't tell.
Displaying 121 - 135 out of 17359 results.
Time to create page: 0.282 seconds
Powered by Kunena Forum