Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
20 Nov 2025 20:20
Replied by tommylight on topic Funzioni pausa e resume con pulsanti esterni.

Funzioni pausa e resume con pulsanti esterni.

Category: HAL

Parallel port in mode OUT (normal mode):
OUTPUTS
1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 16, 17
INPUTS
10, 11, 12, 13, 15
  • ihavenofish
  • ihavenofish
20 Nov 2025 20:19

lemontart - a call for help with s curve, ui's, and all the cool toys

Category: General LinuxCNC Questions

So, just to side track a little....

Where would you stick the control? Assume the machine is open, cause its a wood machine.

Would you put an arm on the machine frame, our would you put it on the stand? I feel like cause the stand is optional/variable, mounting it to the machine is better. off to the right side (viewed from the front) vertical 15" capacitive touch. with a little printed housing for a clusters of physical buttons and e stop.

Thoughts?

 
  • abs32
  • abs32
20 Nov 2025 19:57

v2.9 and not the perpendicularity of X and Y

Category: General LinuxCNC Questions

ln -s /usr/lib/linuxcnc/modules/maxkins.so /usr/lib/linuxcnc/modules/matrixkins.so
# ll /usr/lib/linuxcnc/modules/ma*
-rw-r--r-- 1 root root 15240 окт 23 01:43 /usr/lib/linuxcnc/modules/maj3.so
-rw-r--r-- 1 root root 15680 окт 23 01:43 /usr/lib/linuxcnc/modules/match8.so
-rw-r--r-- 1 root root 14800 окт 23 01:43 /usr/lib/linuxcnc/modules/matrix_kb.so
lrwxrwxrwx 1 root root 36 ноя 20 22:52 /usr/lib/linuxcnc/modules/matrixkins.so -> /usr/lib/linuxcnc/modules/maxkins.so
-rw-r--r-- 1 root root 15512 окт 23 01:43 /usr/lib/linuxcnc/modules/max31855.so
-rw-r--r-- 1 root root 14704 окт 23 01:43 /usr/lib/linuxcnc/modules/maxkins.so

Start = abort,
=============
Debug file information:
Note: Using POSIX realtime
4.hal:16: /usr/bin/rtapi_app exited without becoming ready
4.hal:16: insmod for matrixkins failed, returned -1
1358
Stopping realtime threads
Unloading hal components
maxkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed

ЧЯДНТ? What I Do Wrong?
  • viacolvento
  • viacolvento
20 Nov 2025 19:57
Replied by viacolvento on topic Funzioni pausa e resume con pulsanti esterni.

Funzioni pausa e resume con pulsanti esterni.

Category: HAL

Grazie per la risposta,
Si, si tratta della funziona Hal. Ho letto come impostarla, ma sono in difficoltà nell'imdividuare i piedini della parallela. Pensavo di usare il p. 12 come ingressa di M8, il piedino 3 come segnale di PAUSE, e il piedino 13 come segnale di RESUME. Sono segnali TTL in uscita da un integrato cd 4017.
Un saluto 
  • abs32
  • abs32
20 Nov 2025 19:47 - 22 Nov 2025 10:06

v2.9 and not the perpendicularity of X and Y

Category: General LinuxCNC Questions

SOLVED  -
 matrixkins
is a standard technique for correcting the curvature of the portal in the LinuxCNC 2.10 kernel (and above). The issue of mutual correction of XYZ coordinates is resolved by specifying correction coefficients. However, this component is provided for single-engine machines, i.e. XYZ schemes. To use this software correction, changes must be made to the ini machine configuration files. Hal file does not require correction. MAN does not give these examples, см. github.com/LinuxCNC/linuxcnc/blob/master...ents/matrixkins.comp. However, in the ini file 
instead of -
KINEMATICS = trivkins coordinates=XYZ
set -
KINEMATICS=matrixkins
then explicitly specify non-zero correction factors, for example -
halcmd setp matrixkins.C_yx -0.00252427184466  

You will find the coefficient values and the transformation matrix in MAN.
The halcmd setp matrixkins.C_yx correction command -0.00252427184466 can be executed in the terminal (not while the machine is moving!), i.e. the parameter can be changed on the fly.

In case you have a multi-engine XXYZ configuration, etc., you need to change the source code of the matrixkins component (github.com/LinuxCNC/linuxcnc/blob/master...ents/matrixkins.comp), similar to www.forum.linuxcnc.org/38-general-linuxc...xyyz?start=20#338894

+ sudo halcompile --install matrixkins.comp


 
  • abs32
  • abs32
20 Nov 2025 19:22 - 20 Nov 2025 19:29
Replied by abs32 on topic Issue with G38.5

Issue with G38.5

Category: General LinuxCNC Questions

For real-time kernel5.4.254 or 5.4.290, there is only version 2.9.4. Apparently, this patch isn’t there?

As planned, I installed 2.9.4 with both 254 and 290 cores. The test result is bad - excellent jitter (less than 1000), but the same sensor response error (when performing G38.5, the sensor moves, the response stops, stops and flies out error The sensor was activated during working movement - but in the g-code program there are no commands of the form G1-G3 at all!). 
In addition, a completely new mistake for me is misalignment of axes (joints)! First, Joint0 (this is the first X motor), then Joint3 (the first Y motor) - XXYYZ circuit.
  • papagno-source
  • papagno-source
20 Nov 2025 19:01
CNC AXIS IN PARKING MODE was created by papagno-source

CNC AXIS IN PARKING MODE

Category: Advanced Configuration

Good morning everyone.
I need to replace an old Siemens CNC.
I'd like to try Linux CNC, but the machine is a boring machine with a Z-axis that can be controlled manually or via CNC.
Let me explain. The Z-axis performs normal axis reference and moves in jog+ and jog- directions, with the position controlled by an optical scale.
However, the operator can press a mechanical selector, which allows the axis to be moved with a mechanical handwheel and, when desired, re-engage the axis in the CNC.
Clearly, the current CNC disables the axis drive when the mechanical handwheel is selected.
The axis on the current CNC goes into park mode, meaning the commanded position follows the feedback position, and when the mechanical handwheel is disengaged, the CNC does not enter a following error.
With Linux CNC, I could disable the drive and move the axis with the mechanical handwheel, but as soon as I disable the handwheel and enable the drive again, the CNC displays the following error because the commanded position doesn't follow the feedback position.

Is there a way to mimic the behavior of the Siemens CNC?

Thanks for support
  • Hakan
  • Hakan
20 Nov 2025 18:10 - 20 Nov 2025 18:13

Ethercat installation from repositories - how to step by step

Category: EtherCAT

"zstd: error 70 : Write error : cannot write block : No space left on device"
Boot device too small most likely.

A fresh install is never wrong.
You should be able to use a swedish I mean german version.
You seem to have missed a step where it says it will dismount the cd-rom and restart or something like that. A guess.
Install all in one large partition, or at least 100 Mb in the boot partition if you are required to have one.

This seem to be the proper sequence to remove raspi-firmware, you'll need to do that after a new install.
   sudo rm /etc/initramfs/post-update.d/z50-raspi-firmware
sudo rm /etc/kernel/postinst.d/z50-raspi-firmware
sudo apt purge --autoremove raspi-firmware
sudo apt update
  • kn612
  • kn612
20 Nov 2025 18:09
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

You guys rock. Thank you so much for pointing that out. I was editing hal with libre office instead of text editor. Added the line about offset mode and now the servos are quiet and don't move or jump when enabled.
  • kor
  • kor
20 Nov 2025 17:51

Ethercat installation from repositories - how to step by step

Category: EtherCAT

sudo apt remove raspi-firmware
[sudo] Passwort für bf20:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paket »raspi-firmware« ist nicht installiert, wird also auch nicht entfernt.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  linux-headers-6.1.0-30-amd64 linux-headers-6.1.0-30-common
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
3 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
initramfs-tools (0.142+deb12u3) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
linux-image-6.1.0-41-rt-amd64 (6.1.158-1) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-41-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-41-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
zstd: error 70 : Write error : cannot write block : No space left on device
E: mkinitramfs failure zstd -q -9 -T0 70
update-initramfs: failed for /boot/initrd.img-6.1.0-41-rt-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.1.0-41-rt-amd64 (--configure):
 »installiertes post-installation-Skript des Paketes linux-image-6.1.0-41-rt-amd64«-Unterprozess gab den Fehlerwert
 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-rt-amd64:
 linux-image-rt-amd64 hängt ab von linux-image-6.1.0-41-rt-amd64 (= 6.1.158-1); aber:
  Paket linux-image-6.1.0-41-rt-amd64 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes linux-image-rt-amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für initramfs-tools (0.142+deb12u3) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.1.0-41-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes initramfs-tools (--configure):
 »installiertes post-installation-Skript des Paketes initramfs-tools«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 linux-image-6.1.0-41-rt-amd64
 linux-image-rt-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think it is probably better to do a fresh install by now. switching to english and see whether it will work right away. What do you guys think?
  • PCW
  • PCW's Avatar
20 Nov 2025 17:50 - 20 Nov 2025 17:53

Mesa - Can unused step & direction outputs be used as o/p's for other purposes?

Category: Driver Boards

Yes, special function pins revert to GPIO if the special function is disabled in HAL

For example on a 7I96S, if you only need 4 step/dir pairs you set num_stepgens=4 in the hal file
and then the GPIO pins that would have been STEP4 and DIR4  become GPIO 25 and 26

To use these GPIO pins as outputs, you must set them into output mode:

setp hm2_7i96s.0.gpio.025.is_output true
setp hm2_7i96s.0.gpio.026.is_output true

and then link the output to the desired signal

net  some_output hm2_7i96s.0.gpio.025.out

You may need to invert the output and choose the proper + or - pin
to insure that the output is low at power up or when you exit from LinuxCNC:

setp hm2_7i96s.0.gpio.025.invert_output true


To determine the terminal block to GPIO pin mapping, look at the appropriate .pin file
or run:

mesaflash --device [cardname] --addr [card_address] --readhmid




 
  • tommylight
  • tommylight's Avatar
20 Nov 2025 17:43
Replied by tommylight on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

At the very top of your hal file, there is some symbol that does not belong there, seem like '
  • tommylight
  • tommylight's Avatar
20 Nov 2025 17:40

Mesa - Can unused step & direction outputs be used as o/p's for other purposes?

Category: Driver Boards

All Mesa cards have the ability to use every pin as I/O if not used for special purposes, like stepgen or PWM or encoder, so you can use the step/dir of stepgen 4 (5'th stepgen) by loading just 4 stepgens.
No idea about the pinout though, been a long time, but manual should have everything explained.
Displaying 856 - 870 out of 22094 results.
Time to create page: 0.196 seconds
Powered by Kunena Forum