Advanced Search

Search Results (Searched for: )

  • Beovoxo
  • Beovoxo
11 Mar 2025 19:24

Dahlander spindel motor starter with direction

Category: General LinuxCNC Questions

Hi all
I have made this diagram, but is there a smarter way to control this motor ?
I have all the parts on the shelf, but i think its a lot of relays just for a small 5kW spindel.  
The motor is a 2 speed Dahlander motor. Running 400V 3 phase 50 Hz.
I have not drawed fuses and thermal relays on the diagram yet but know where to place them. 
  • ErwinCNC
  • ErwinCNC
11 Mar 2025 19:23
Replied by ErwinCNC on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

Guten Abend Peter,

leider konnte ich keinen weiteren Fehler provozieren. Die Maschine lief für drei Stunden ohne Fehler?
Trotzdem habe ich jetzt die neue Festplatte eingebaut und eine komplette Neuinstallation von Linux CNC durchgeführt.

Gibt es eine Anleitung zur Einrichtung die du empfehlen kannst? Es gibt "leider" sehr viele Informationen zur Einrichtung und jede ist ein bisschen anders. Irgendwo habe ich auch gelesen es kann Probleme geben wenn man grafische Oberflächen und textbasierte Einrichtung mischt. Ist das richtig

Orientiert habe ich mich an dieser Anleitung
docs.google.com/document/d/1jeV_4VKzVmOI...ading=h.macj649sy0yq

Darin wird auf diesen Eintrag verwiesen
forum.linuxcnc.org/38-general-linuxcnc-q...-irq-affinity#292969

Der wiederum etwas anders vorgeht.
Vielleicht habe ich bei meiner ersten Installation/ Einrichtung zu viele Parameter bearbeitet und es gab deshalb die Probleme...


Grüße und einen schönen Abend
  • Lindley
  • Lindley
  • Aciera
  • Aciera's Avatar
11 Mar 2025 18:11

Incorporating HAL script recommendation (2.7.14 to 2.9.4 conversion of XZC

Category: General LinuxCNC Questions

The recommendation is not related to your problem, which is here:
HAL: ERROR: function 'pid.s.do-pid-calcs' not found
./Editlindowxzc3-11-25rev2.hal:21: addf failed

So please attach your hal and ini files.
  • Lindley
  • Lindley
11 Mar 2025 18:01

Incorporating HAL script recommendation (2.7.14 to 2.9.4 conversion of XZC

Category: General LinuxCNC Questions

Where do I add the suggested script fix in my configuration?  The converted file from my XZC coordinate system does not work.

Report is attached.  Can provide HAL and INI if needed.

Thanks
  • smc.collins
  • smc.collins
11 Mar 2025 17:45

Implementing Spindle Homing for DELTA C2000 Plus (In)correctly?

Category: EtherCAT

the origin switch is probably what your after, but you might want to make sure it consistently repeats to within a few encoder counts every time or it's useless for things like threading etc.
  • Bjornstabo
  • Bjornstabo
11 Mar 2025 17:24
Replied by Bjornstabo on topic Plasmac Post Processors

Plasmac Post Processors

Category: Plasmac

SOLVED: Doug solved my problem, now it works great!
 
  • PCW
  • PCW's Avatar
11 Mar 2025 17:16
Replied by PCW on topic Mesa 7i96s PID Spindle Setup

Mesa 7i96s PID Spindle Setup

Category: Basic Configuration

You should never get a runaway, but you will get oscillations with a too high PID value

To avoid a runaway around 0 speed where a negative PID output may occur might require
some hal magic, say using the PID output sign to run the VFD direction signal or forcing the
PWM value to 0 when the PID output is negative.
 
  • PCW
  • PCW's Avatar
11 Mar 2025 16:53

MBT -> GPT to reuse existing installation

Category: Installing LinuxCNC

"uspace" in this context means using a Preempt-RT kernel.
(rather than RTAI or some other real time kernel)
  • scda
  • scda's Avatar
11 Mar 2025 16:42 - 11 Mar 2025 16:54
Replied by scda on topic Mesa 7i96s PID Spindle Setup

Mesa 7i96s PID Spindle Setup

Category: Basic Configuration

Thanks. Yeah I think the main problem was that I have set the P value too high (above 2 is too much --> runaway). So the system seems to be working now.
  • I set a non-zero value to the DEADBAND setting (10)
  • I am using a low pass filter on the encoder feedback signal before feeding it to the PID loop
  • I use a low P value to stop the system "from running away"
#======================================================================================
#  Spindle0
#======================================================================================

setp   pid.s.Pgain     [SPINDLE_0]P
setp   pid.s.Igain     [SPINDLE_0]I
setp   pid.s.Dgain     [SPINDLE_0]D
setp   pid.s.bias      [SPINDLE_0]BIAS
setp   pid.s.FF0       [SPINDLE_0]FF0
setp   pid.s.FF1       [SPINDLE_0]FF1
setp   pid.s.FF2       [SPINDLE_0]FF2
setp   pid.s.deadband  [SPINDLE_0]DEADBAND
setp   pid.s.maxoutput [SPINDLE_0]MAX_OUTPUT
setp   pid.s.error-previous-target true

setp hm2_7i96s.0.pwmgen.00.enable 1
setp hm2_7i96s.0.pwmgen.00.scale [SPINDLE_0]MAX_RPM

setp lowpass.0.gain [SPINDLE_0]LOWPASS_GAIN

setp    hm2_7i96s.0.encoder.04.counter-mode 0
setp    hm2_7i96s.0.encoder.04.filter 1
setp    hm2_7i96s.0.encoder.04.index-invert 0
setp    hm2_7i96s.0.encoder.04.index-mask 0
setp    hm2_7i96s.0.encoder.04.index-mask-invert 0
setp    hm2_7i96s.0.encoder.04.scale  [SPINDLE_0]ENCODER_SCALE

net spindle-index-enable      =>    pid.s.index-enable
net spindle-enable            =>    pid.s.enable 
net spindle-vel-cmd-rpm         =>    pid.s.command        
net spindle-vel-fb-rpm          =>    pid.s.feedback
net spindle-output            <=    pid.s.output        => hm2_7i96s.0.pwmgen.00.value    

net spindle-vel-cmd-rps        <=    spindle.0.speed-out-rps    
net spindle-vel-cmd-rps-abs    <=    spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm        <=    spindle.0.speed-out        
net spindle-vel-cmd-rpm-abs    <=    spindle.0.speed-out-abs    
net spindle-enable        <=    spindle.0.on             # =>    hm2_7i96s.0.pwmgen.00.enable
net spindle-cw            <=     spindle.0.forward        =>    hm2_7i96s.0.outm.00.out-04 
net spindle-ccw            <=    spindle.0.reverse         =>    hm2_7i96s.0.outm.00.out-05

net spindle-revs            =>    spindle.0.revs    
net spindle-at-speed        =>    spindle.0.at-speed
net spindle-vel-fb-rps      =>    spindle.0.speed-in            <=     hm2_7i96s.0.encoder.04.velocity
net spindle-vel-fb-rpm_raw    =>    hm2_7i96s.0.encoder.04.velocity-rpm    =>     lowpass.0.in    
net spindle-vel-fb-rpm        <=    lowpass.0.out
net spindle-index-enable    <=>    spindle.0.index-enable
  • PCW
  • PCW's Avatar
11 Mar 2025 16:18
Replied by PCW on topic Mesa 7i96s PID Spindle Setup

Mesa 7i96s PID Spindle Setup

Category: Basic Configuration

Normally this is just done with normal PID,
with FF0 set to 1 and PWM scale set to RPM at 10V

PID would mainly be for Keeping constant RPM vs load.
If you have major non-linearities, these can be corrected with
the lincurve component.
  • scda
  • scda's Avatar
11 Mar 2025 15:36 - 11 Mar 2025 15:52
Mesa 7i96s PID Spindle Setup was created by scda

Mesa 7i96s PID Spindle Setup

Category: Basic Configuration

Hi all,

I am working on a weiler cnc lathe retrofit. So far it works well, the only thing left ist the PID tuning of the spindle speed. 
The spindle also works without PID but the offset to the actual speed varies quite a bit (not linear), I was hoping to correct this with a PID loop.

VFD: Huanyang with analog voltage input (0-10V).

Currently I am trying to figure out how to implenent the PID setup for this.

How can I scale the PID output to 0-10V (or 0-4600 rpm) ? Currently my PID output can be negative and so the pwmgen.value of the Mesa7i96s spindle is negative which does not work for my setup. I feed the PID ouput to the scaled pwmgen input.

I think the system has to adjust the current value sent to the pwmgen.value just below and above the current setpoint in order to adjust for velocity offset. I was thinking of using the sum function (which kind of works but also does not really correct the non-linearity) but I think there must be an easier way...

Cheers,
David
  • Lcvette
  • Lcvette's Avatar
11 Mar 2025 15:05
Replied by Lcvette on topic Permanent probing parameters

Permanent probing parameters

Category: QtPyVCP

Great, glad you got it sorted!
  • Stran_ge
  • Stran_ge
11 Mar 2025 14:35 - 11 Mar 2025 15:35
Replied by Stran_ge on topic Permanent probing parameters

Permanent probing parameters

Category: QtPyVCP

Nvm i got it working. I forgot to actualy update the .var file itself so it startet at number 5xxx and not 3xxx.

So new parameters couldnt be stored.
  • Stran_ge
  • Stran_ge
11 Mar 2025 14:26
Replied by Stran_ge on topic Permanent probing parameters

Permanent probing parameters

Category: QtPyVCP

I did update the subroutines folder for the latest Version of probe basic.

So do i have to manually go and edit the probe_basic.var?
Displaying 17896 - 17910 out of 18519 results.
Time to create page: 0.779 seconds
Powered by Kunena Forum