Advanced Search

Search Results (Searched for: )

  • DerKlotz
  • DerKlotz
12 Oct 2025 14:04 - 12 Oct 2025 14:05

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

I used your example.ui and custom_postgui.hal now. Sorry for all... iḿ a total newbie
I used this command in the ini/Display for the ui... correct? Itś stored under that folder
GLADEVCP = /home/cnc/linuxcnc/configs/Fräse/example.ui

Still get errors
UN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.6
Machine configuration directory is '/home/cnc/linuxcnc/configs/Fräse'
Machine configuration file is 'Fräse.ini'
INIFILE=/home/cnc/linuxcnc/configs/Fräse/Fräse.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./Fräse.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
83886083
['halcmd', 'loadusr', '-Wn', 'gladevcp', 'gladevcp', '-c', 'gladevcp', '-d', '-x', '81789071', '/home/cnc/linuxcnc/configs/Fräse/example.ui']
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 315 cycles, min=0.000010, max=0.019215, avg=0.009510, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:10:4c:98
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Low Level init 0.15
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0:     IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 006 (P1-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 007 (P1-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 008 (P1-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 009 (P1-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 010 (P1-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i76e.0:     IO Pin 011 (P1-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i76e.0:     IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0:     IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0:     IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0:     IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
note: MAXV     max: 25.000 units/sec 1500.000 units/min
note: LJOG     max: 25.000 units/sec 1500.000 units/min
note: LJOG default: 6.000 units/sec 360.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
[GladeVCP][[36mINFO[0m]  Logging to: [33m/home/cnc/gladevcp.log[0m (logger.py:106)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No DEFAULT_SPINDLE_0_SPEED Entry in DISPLAY, Using: 200 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MIN_SPINDLE_0_SPEED Entry in DISPLAY, Using: 100 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MAX_SPINDLE_0_SPEED Entry in DISPLAY, Using: 2500 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MAX_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 1 (qt_istat.py:532)
[GladeVCP.QTVCP.QT_ISTAT][[33mWARNING[0m]  INI Parsing Error, No MIN_SPINDLE_0_OVERRIDE Entry in DISPLAY, Using: 0.5 (qt_istat.py:532)
custom_postgui.hal:4: setp requires 2 arguments, 1 given

(gladevcp:117656): Gdk-WARNING **: 16:03:36.296: GdkWindow 0x5000003 unexpectedly destroyed
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1689: Warning: invalid (NULL) pointer instance
  return _Gtk_main(*args, **kwargs)
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1689: Warning: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
  return _Gtk_main(*args, **kwargs)

(gladevcp:117656): Gdk-CRITICAL **: 16:03:36.296: gdk_frame_clock_end_updating: assertion 'GDK_IS_FRAME_CLOCK (frame_clock)' failed
**** GLADE VCP ERROR:    X Protocol Error: 3
117585
117633
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
 
  • langdons
  • langdons's Avatar
12 Oct 2025 13:52
Replied by langdons on topic installing QTVCP

installing QTVCP

Category: Qtvcp

Typo!

"desginer" should be "designer", right?


Also, laptops are generally not optimal for LinuxCNC, especially fopr parallel port setups.
  • Twitchy88
  • Twitchy88
12 Oct 2025 13:32
Replied by Twitchy88 on topic INI and HAL files

INI and HAL files

Category: General LinuxCNC Questions

I feel like I am going to have to modify the files manually, to get the automatic tool changer working, and setting up things like servo drive enable, alarm input, estop, high and low speed on the spindle.

I could be wrong, very new to this.
  • Twitchy88
  • Twitchy88
12 Oct 2025 13:02
installing QTVCP was created by Twitchy88

installing QTVCP

Category: Qtvcp

i followed the pinned post here for installing and i get this:

nate@linuxcnc-laptop:~$ desginer -qt=5
bash: desginer: command not found
  • GuessWho
  • GuessWho
12 Oct 2025 12:38 - 12 Oct 2025 12:47

Upgrade of CNC Plasma Cutting Table with Mesa 7i96S, THCAD-2 And MyOhmic PRO

Category: Driver Boards

Hi all and thank you for checking this topic!

Little intro to my project and why I cam here.
I'm here asking for help with upgrading my table. I've bought a CNC plasma cutting table with the hope of starting my own thing and because it looked like a lot of fun. Couple of months down the road it turned out that the table is more on the hobbyist side than I would like. So I decided to start upgrading it in order to have higher quality cuts that I can be proud of.

My current setup.

PLASMA SOURCE
  • Unit: Sherman CNC 130 (CNC variant).
  • Divided arc output: 1:20 divider present on the machine (available for THC feedback).

CONTROL
  • Unknown motion  control board
  • Unknown THC controller
MOTION, DRIVES, AND POWER
  • Motors: stepper-based system in use - Nema 24 - 60bhh86-300e-24db 
  • Stepper drivers: 3 × CW-5045 in use for X, Y1/Y2, Z. (
  • X/Y motion: rack & pinion, 
  • Z motion: drive type ballscrew.
  • Installed Power: 400VA transformer labeled “230V / 12A” and “SMT 400VA”. This is a step-down transformer: it takes the 230VAC mains in and produces about 30VAC (at up to 12A) on the secondary. After a bridge rectifier and filter capacitor, that 30VAC becomes roughly 42VDC.

CONTROL AND SOFTWARE
  • CAM: SheetCam (current workflow).
  • Machine control (current): Mach3.
TABLE
  • 3.5 × 2.0 m with water bed.

My plan.
  • Move to LinuxCNC with QtPlasmaC.
  • Move to Mesa 7i96S: Ethernet motion interface
  • Move to Mesa THCAD-2: for 1:20 arc-voltage THC input
  • Move to MyOhmic PRO
  • Install limit switches
  • Use 18 AWG (0.75mm2) shielded cables for the up to 24V connections
  • Use 16 AWG (1.5mm2) shielded cables for the connections that are more than 24v
In short: to replace the controls, cables, add limit switches and keep the rest

The diagram.
I've reused a diagram from the forum (I believe that it's LOWRIDER3) which turns out to be immense help, I'm not sure I would be able to come up with anything useful if it wasn't for it!

I'm adding the diagram itself so that you good folks can make comments, recommendations, critiques. Thank you all in advance!

File Attachment:
  • JT
  • JT's Avatar
12 Oct 2025 12:03
Replied by JT on topic User interface

User interface

Category: General LinuxCNC Questions

Well to be fair there is the included Qtvcp too.
You can build what ever you like with it.
Qtdragon uses Qtvcp.

What toolkit is best is probably subjective :)
 

One of the big differences is Flex GUI uses PyQt6 while all the other PyQt gui's use PyQt5 which is at the end of it's life.

PyQt5 is based on Qt5 which was a cross-platform application framework used for building graphical user interfaces (GUIs) and other programs with C++. It was a major version of the Qt toolkit, but its support ended in May 2025

JT
  • Aciera
  • Aciera's Avatar
12 Oct 2025 11:54

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

My Ini already had the POSTGUI_HALFILE = custom_postgui.hal

In my Display Section ii this ->
GLADEVCP= -u ./hitcounter.py /home/cnc/linuxcnc/configs/Fräse/test.ui

BUT i receive the "hitcounter.py" error from my post before

Today i did a Sudo ... update and upgrade. During the upgrade i got these errors. Somewhere there the problem?


Not sure why you keep hacking away at your setup.

Any particular reason for not trying the example.ui I have attached?
  • rodw
  • rodw's Avatar
12 Oct 2025 11:07

Ethercat drives not responding, mesa error finishing read

Category: EtherCAT

You mentioned you should have an Intel driver. In which case the R8168-dkms won't be installed or do anything. Start at the beginning

what doeslspci | grep -i ethernet

report?
  • DerKlotz
  • DerKlotz
12 Oct 2025 11:06 - 12 Oct 2025 11:36

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

My Ini already had the POSTGUI_HALFILE = custom_postgui.hal

In my Display Section ii this ->
GLADEVCP= -u ./hitcounter.py /home/cnc/linuxcnc/configs/Fräse/test.ui

BUT i receive the "hitcounter.py" error from my post before

Today i did a Sudo ... update and upgrade. During the upgrade i got these errors. Somewhere there the problem?
dpkg: error processing package linux-image-6.1.0-40-rt-amd64 (--configure):
 installed linux-image-6.1.0-40-rt-amd64 package post-installation script subpro
cess returned error exit status 1
Setting up libgs10-common (10.0.0~dfsg-11+deb12u8) ...
Setting up libtiff-dev:amd64 (4.5.0-6+deb12u3) ...
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-40-rt-amd64 (= 6.1.153-1); ho
wever:
  Package linux-image-6.1.0-40-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libgs10:amd64 (10.0.0~dfsg-11+deb12u8) ...
Setting up ghostscript (10.0.0~dfsg-11+deb12u8) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-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 c
ode 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-40-rt-amd64
 linux-image-rt-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Error during glade install
~$ sudo apt install glade
[sudo] password for cnc: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
glade is already the newest version (3.40.0-3+b1).
The following packages were automatically installed and are no longer required:
  linux-headers-6.1.0-30-amd64 linux-headers-6.1.0-30-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142+deb12u3) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.1.0-40-rt-amd64 (6.1.153-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-40-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-40-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-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 c
ode 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-40-rt-amd64 (--configure):
 installed linux-image-6.1.0-40-rt-amd64 package post-installation script subpro
cess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-40-rt-amd64 (= 6.1.153-1); ho
wever:
  Package linux-image-6.1.0-40-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-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 c
ode 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-40-rt-amd64
 linux-image-rt-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
  • unknown
  • unknown
12 Oct 2025 10:56 - 16 Oct 2025 01:17

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

Still even if it was Debian's fault we should have come up with a fix. I'm attempting to use Live-Build on a Debian install and hopefully I wont have the issue with dpkg and grub. Somehow start-stop-daemon was left out whilst building the ISO.

And it does appear the added line to preseed does what it should do when running the installer from the ISO.


Update:
ISO Build completed successfully on my Debian partition.
Quick eval via install on VirtualBox, successful no raspi-firmware installed, Linuxcnc-2.9.6 installed,
Issues: asks for root passwd, my fault will fix on another build, ISO still identifies as 2.9.4, need to update the config file.
  • unknown
  • unknown
12 Oct 2025 10:52
Replied by unknown on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Index for known RPi issues& solutions.

forum.linuxcnc.org/38-general-linuxcnc-q...official-images-only

On board Rpi Wifi does work, version of installed Linuxcnc does not matter, if you used the official images.

Any USB Dongle that works with Debian will work as the image is soley based on Debian with Linuxcnc installed and some stuff from the Official RPi github, kernel sources and so on.

Sorry I can only speak English.
  • rodw
  • rodw's Avatar
12 Oct 2025 10:49

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640

It looks to have been recently fixed upstream.

(I am still not clear if you are blaming me, Rod or Roland Clobus)

I blame Debian for not fixing this 12.0 bug in their builder in subsequent releases of Bookworm eg 12.1
  • gravedigger
  • gravedigger
12 Oct 2025 10:32
Replied by gravedigger on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Weil ich schon gerne wüsste, warum es nicht geht.
Evtl. braucht man es ja doch mal.
  • spicer
  • spicer's Avatar
12 Oct 2025 09:54
Replied by spicer on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Und warum dann die Übung, wenn das Wlan dann gar nicht notwendig ist?
  • st2s
  • st2s
12 Oct 2025 09:23

XHC-WHB04B-6 установка для LINUXCNC

Category: Russian

Вроде разобрался
Displaying 256 - 270 out of 22739 results.
Time to create page: 0.414 seconds
Powered by Kunena Forum