Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
29 Mar 2026 21:34

Carousel component with CIA402 controlled Ethercat closed loop stepper

Category: Advanced Configuration

Use PP (profile position) mode, not csp or csv. Unfortunately, the cia402 component doesn't support
that but it's not very hard to add. 
  • Hakan
  • Hakan
29 Mar 2026 20:57
Replied by Hakan on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

No problem to have both EtherCAT and Mesa. Two network adapters.
You possibly have some IO on the servo drives if you look.
See if you can run the vfd on Modbus, saves alot of IO and get a lot of functionality.
  • rodw
  • rodw's Avatar
29 Mar 2026 20:47
Replied by rodw on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

Mesa for my i/o, as i dont have any ethercat 24v i/o. As there might be glass scales in the future, not sure yet. But for general i/o as a jogwheel, pneumatics, Buttons etc. And for spindle vfd. Run, dir, pwm... Mesa cheaper than endless Beckhoff units.

Many people look for used  beckhoff modules on eBay.

I just got this working for testing yesterday
www.aliexpress.com/item/1005005340849270.html
It is documented (including manuals)  on the forum here.
It seems to include all I/O you need. It even has 0-10 volt input for plasma torch voltage and 0-10 volt output for spindle. It would be interesting to get the RS485 modbus working to control the spindle VFD but that might be asking too much....
  • endian
  • endian's Avatar
29 Mar 2026 20:45
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Gemini tells me too...

The Problem: The 7-Phase WallWhen we move from traditional Trapezoidal (T-curve) to S-curve (Jerk-limited) motion, we hit a massive computational wall during High-Speed Machining (HSM). In a "cloud of points" (dense G-code with 0.01mm segments), a 3rd-order planner like the Yang Yang method has to solve a 7-phase analytical equation for every junction.At a 1ms servo thread, this is heavy. At 250µs, it’s nearly impossible for the CPU to stay in real-time. The result? "Unexpected Realtime Delays" or the planner "giving up" and slowing the feedrate (F) to a crawl to stay within Jerk limits.

The Best Available Solution: The "Double FIR" ApproachIf you are struggling with latency in your new S-curve trajectory planner, the most efficient implementation for dense point clouds isn't more complex math—it’s Digital Filtering.Instead of solving the 7-phase cubic equations at every point, the "Gold Standard" for high-frequency (250µs+) loops is the Double FIR (Finite Impulse Response) Filter:Trapezoidal Base: Use a simple, ultra-fast Trapezoidal planner to generate "raw" velocity.Filter 1: Pass the raw velocity through a moving average filter. This creates 2nd-order motion (Linear Acceleration).Filter 2: Pass that result through a second moving average filter. This creates 3rd-order motion (S-Curve / Jerk-limited).Why this wins for Point Clouds:O(1) Complexity: The math is just addition/subtraction. It doesn't care if the segment is 10mm or 0.001mm.Low Jitter: It’s perfectly suited for the 250µs window.Natural Blending: The filters act as a low-pass filter, naturally "smoothing" the noise inherent in point clouds without the overhead of junction-blending logic.

In professional controllers (Fanuc/Siemens), this is solved by having a dedicated DSP (Digital Signal Processor) or an FPGA that does nothing but the motion math, leaving the main CPU to handle the G-code.
  • TAKUYA
  • TAKUYA
29 Mar 2026 19:53
Replied by TAKUYA on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

re-did the pc. even used one with a 10th gen i5 now instead of the old 5th gen. Jitter is at around 10-20k. should be fine.

DRO is still not always filled on start, still takes a few moments for it to do that.
Will test further
  • Spezidrohne
  • Spezidrohne
29 Mar 2026 19:37 - 29 Mar 2026 19:42
Replied by Spezidrohne on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

Mesa for my i/o, as i dont have any ethercat 24v i/o. As there might be glass scales in the future, not sure yet. But for general i/o as a jogwheel, pneumatics, Buttons etc. And for spindle vfd. Run, dir, pwm... Mesa cheaper than endless Beckhoff units.
  • spumco
  • spumco
29 Mar 2026 19:15

Carousel component with CIA402 controlled Ethercat closed loop stepper

Category: Advanced Configuration

Awesome Thank you.
ill try it with a simple limit2. Didnt know this component existed but it seems to do exactly what i need.
 


Following this as I've got a stepper-driven ATC using 'index' encoding under carousel.comp.  I'm thinking about switching everything over to ethercat, but the ATC was a really fuzzy area for me.
  • spumco
  • spumco
29 Mar 2026 19:12
Replied by spumco on topic CSS/G96 for other than X-axis?

CSS/G96 for other than X-axis?

Category: Advanced Configuration

That's fantastic.

I've no idea what that pos->trans stuff means or does, but if you think it's the right plan I'm hopeful.

I've obviously got some reading to do.
  • TAKUYA
  • TAKUYA
29 Mar 2026 18:30

Carousel component with CIA402 controlled Ethercat closed loop stepper

Category: Advanced Configuration

Awesome Thank you.
ill try it with a simple limit2. Didnt know this component existed but it seems to do exactly what i need.
  • hmnijp
  • hmnijp
29 Mar 2026 18:29 - 29 Mar 2026 18:31

Carousel component with CIA402 controlled Ethercat closed loop stepper

Category: Advanced Configuration

The speed is controlled by the trajectory planner. You can also use the limit3 or simple_tp components.

In your case - for the tool changer - you could use PP mode. Then the speed would be controlled by the drive itself, and you would only need to specify the new position. This mode is not available in the widely used cia402 component, but there have been examples of modifications on the forum, or a simple startup setting via SDO 0x6060=1   + a small amount of HAL logic
  • TAKUYA
  • TAKUYA
29 Mar 2026 17:52

Carousel component with CIA402 controlled Ethercat closed loop stepper

Category: Advanced Configuration

Hi everyone,
im currently trying to set up an 18 pocket carousel with a cia402 controlled ethercat stepper motor. 
While I got it working in CSV (velocity mode), CSP so Positioning would be much nicer, faster and more accurate. 

My issue with this however, is that I have no way (or at least none that i know) to regulate the speed when setting the target position over the counts-target pin. Am I missing something or is this just not possible?

How is the typical CIA402 driven drive speed regulated?
  • Hakan
  • Hakan
29 Mar 2026 17:30 - 29 Mar 2026 17:36
Replied by Hakan on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

When you have come this far with EtherCAT you can just keep on going.
No point in switching to Mesa now. Unless you want a Mesa system of course.
  • Spezidrohne
  • Spezidrohne
29 Mar 2026 15:59
Replied by Spezidrohne on topic Ethercat Setup help needed for beginner

Ethercat Setup help needed for beginner

Category: EtherCAT

That sounds promising... @andrax
To the folllwing error: fault on my side. The servo was set too soft, and when decelerating there was too much play. Set it a bit harder and now it works. 
Mesa card arrives tomorow. Gonna try my best.
  • RotarySMP
  • RotarySMP's Avatar
29 Mar 2026 15:43
Replied by RotarySMP on topic Display slightly too big

Display slightly too big

Category: Gmoccapy

I did a clean install with the 2.9.8 / trixie ISO file, and have the same behavior on a 1980x1080 HDMI monitor, but inconsistantly. Sometimes full screen is correct, and then I get a switch to Gmoccapy not fitting the screen, but I am not yet sure under which conditions that happens.
Scaling 1.1 doesn't help, it just uses 90% of the screen with the gmoccapy still not fitting.
Cheers,
Mark
  • COFHAL
  • COFHAL
Displaying 61 - 75 out of 17562 results.
Time to create page: 0.478 seconds
Powered by Kunena Forum