Advanced Search

Search Results (Searched for: )

  • Sekai
  • Sekai
03 Aug 2025 04:05

SolidCam error in output gcode for thread milling.

Category: Post Processors

If i leave G91 and g90
It gives me an error:
Bug: Reached convert_stop() from M99 as subprogram return

Btw I'm on Debian 10 with linuxcnc 2.8.4
  • oneKone
  • oneKone
03 Aug 2025 00:41 - 03 Aug 2025 00:46
Replied by oneKone on topic Ethercat CATIO-A setup

Ethercat CATIO-A setup

Category: EtherCAT

After some back and forward i have an analog output. the scale gain is suited for 18k rpm. The rpm limiting needed to be added otherwise an incorrect value, say M3S30000 could be input with 0v output on the pin. Unfortunately this doesn't limit the gui rpm.

# Load required components
loadrt limit2 count=1
loadrt scale count=1
loadrt conv_float_u32 count=1

# Add functions to servo-thread
addf limit2.0 servo-thread
addf scale.0 servo-thread
addf conv-float-u32.0 servo-thread

# Configure RPM limit range
setp limit2.0.min 0
setp limit2.0.max 18000

# Connect motion RPM output to limit2 input
net gui-rpm spindle.0.speed-out => limit2.0.in

# Output from limiter feeds scale
net clamped-rpm limit2.0.out => scale.0.in

# Scale: gain = 1 / 18000 = 0.22
setp scale.0.gain 0.22
setp scale.0.offset 0

# Connect to float→U32 converter
net scaled-float scale.0.out => conv-float-u32.0.in
net final-u32 conv-float-u32.0.out => lcec.0.0.Analog-Output-0
  • PCW
  • PCW's Avatar
03 Aug 2025 00:27
Replied by PCW on topic Spindle speed?

Spindle speed?

Category: Basic Configuration

Its a bit tricky to setup a PID speed control with a unipolar analog control
and FWD/REV signals.

I would first try eliminating the feedback by running the spindle open loop
you can do this by setting all PID terms to 0 except FF0 which should be  set to 1.0

If you need feedback (this is rare unless the spindle speed control is very poor)
The structure needs to be like this:

PID command = signed commanded spindle speed in RPM
PID feedback = encoder RPM
PID output --> ABS --> analog out
ABS sign (of PID output) determines the FWD/REV pins
  • TheTinkeringMechanic1
  • TheTinkeringMechanic1
03 Aug 2025 00:11
Replied by TheTinkeringMechanic1 on topic Spindle speed?

Spindle speed?

Category: Basic Configuration

Sorry, I guess the images didn't upload. "hm2_5i24.0.7i83.0.2.analogout0 <= spindle-speed-DAC" reads in forward and reverse. In reverse it shows a reading of 8.25 and stays there, doesn't move when trying to adjust the speed.. In forward it stays around 2.69 with some variation in the next 5 digits. It moves up and down with speed adjustment.
  • Cysign
  • Cysign
02 Aug 2025 22:37
Replied by Cysign on topic Interfaces & linear scale for LinuxCNC

Interfaces & linear scale for LinuxCNC

Category: General LinuxCNC Questions

7I95T looks good. But I couldn't find a cheap German oder european source. There's a German shop that has none in stock. Just contacted them to see when it'll be re-stocked :)

Will this be a good choice for a hobby machine?
de.aliexpress.com/item/1005005087476488.html
Displaying 14266 - 14272 out of 14272 results.
Time to create page: 0.352 seconds
Powered by Kunena Forum