Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
11 Mar 2025 19:42 - 11 Mar 2025 19:45

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Wifi setup is by running
sudo menu-config

Be sure to edit to choose option 5 "Edit wpa_supplicant" with your country code, ssid & password.

To setup network for a mesa fpga Ethernet card, choose option 6 "Edit interface" and modify eth0 to match post above if you have jumpered the board for "FIXED FROM EEPROM"
If you have jumpered for "FIXED 192.168.1.121" replace 10.10.10.100 with 192.168.1.100.

If your home wifi network is on the 192.168.1 network, use the 10.10.10 network for your Mesa card, refer to you card's manual for jumpers to change.

After config reboot
To check the network type in a terminal
ip a

Taken from 7i92 Manual
IP ADDRESS SELECTION
The 7I92 has three options for selecting its IP address. These options are selected
by Jumpers W5 and W6.
W5   W6    IP ADDRESS
DOWN DOWN  FIXED 192.168.1.121 (DEFAULT)
DOWN UP    FIXED FROM EEPROM
UP   DOWN  BOOTP
UP   UP    INVALID
Note: that the initial EEPROM IP address is set to 10.10.10.10 at Mesa, but can be
changed to any address with the mesaflash utility.

A final note, there is no network notification applet for the desktop, so you will not get any notifications when the network connects, disconnects or reconnects.
  • Aciera
  • Aciera's Avatar
11 Mar 2025 19:38

Incorporating HAL script recommendation (2.7.14 to 2.9.4 conversion of XZC

Category: General LinuxCNC Questions

in your hal:
change this line
loadrt pid names=pid.x,pid.z,pid.c

to:
loadrt pid names=pid.x,pid.z,pid.c,pid.s
  • 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.
Displaying 14806 - 14820 out of 20793 results.
Time to create page: 0.302 seconds
Powered by Kunena Forum