Advanced Search

Search Results (Searched for: )

  • rebelx
  • rebelx
04 Mar 2025 02:54
Replied by rebelx on topic LinuxCNC on Intel Clear Linux

LinuxCNC on Intel Clear Linux

Category: Installing LinuxCNC

You could always choose not to run them.
Or you could run them when not machining a part.

 

Yes of course, but I prefer a clean install with minimum "garbage" and let a machine controller just be a machine controller. I would not run any other programs on my LinuxCNC production machines, for the same reasons as why I prefer not to have my machine connected to the internet: keep the machine clean and stable. 
  • jyeomans
  • jyeomans
04 Mar 2025 01:54
Replied by jyeomans on topic qtdragon additonal buttons

qtdragon additonal buttons

Category: Qtvcp

im sorry if this is a dumb question how do i implement this
i have downloaded the qtdragon_hd_vertical.ui.
how do i load i up.
  • JohnnyCNC
  • JohnnyCNC's Avatar
04 Mar 2025 00:41 - 04 Mar 2025 00:43
Replied by JohnnyCNC on topic Work with probe

Work with probe

Category: Basic Configuration

I’m using the QTDragon_HD UI and Probe Basic with a 3D probe.  Hopefully this may lead you to the Ah ha moment.  All values are in inches.These are the settings I have in my .ini, .hal, and qtdragon_hd.pref files..ini file

[PROBE]
# pick basic probe or versa probe or remove for none
#USE_PROBE = versaprobe
USE_PROBE = basicprobe.hal file

#3D Probe debounce & Tool-Setter-Debounce
setp debounce.2.delay 100 #this sets the delay 100 iterations of the servo-thread
addf debounce.2 servo-thread
 
#3d Probe
net deb-probe-in debounce.2.0.in <= hm2_7i76e.0.7i76.0.0.input-11-not
net probe-in debounce.2.0.out
net probe-in  => or2.probe_in.in1
 qtdragon_hd.pref

[PROBE OPTIONS]
Probe tool = 99
Probe diameter = .138
Probe rapid = 60
Probe feed = 10
Probe search = 30
Probe max travel = .3
Probe max z = .2
Probe extra depth = .1
Probe step off = .2
Probe xy clearance = .25
Probe z clearance = .25
Probe edge width = .2
Calibration offset = 0
Cal x width = 0
Cal y width = 0
Cal diameter = 0

John
  • M4MazakUser
  • M4MazakUser
04 Mar 2025 00:02
Replied by M4MazakUser on topic irregular machining

irregular machining

Category: General LinuxCNC Questions

Have you checked squareness of the part, using a micrometer measure the height in the 4 corners. It dosent look like a machine problem more like a clamping/squareness or misalignment issue. Unless you are loosing steps....
  • Ismacr63
  • Ismacr63
03 Mar 2025 22:26
irregular machining was created by Ismacr63

irregular machining

Category: General LinuxCNC Questions

I am machining some clamps from a perfectly squared stock.I do an adaptive 2D contouring. I machine the top part and then I turn it over to machine the part that was previously held by the clamp. The measurement comes out perfect after machining but it has a kind of offset. In theory, since the stock is a symmetrical rectangle, when turning it over it should cut in the same place, right? Can someone tell me what could be the cause?
  • hakinen2255
  • hakinen2255
03 Mar 2025 21:13
Replied by hakinen2255 on topic How to open QT ui file in LinuxCNC

How to open QT ui file in LinuxCNC

Category: Qtvcp

while loading horizontal qtdragon_hd it says version 2.9.2 and attached is the error when i change the .ui file with vertical

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_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.2
Machine configuration directory is '/home/hakan/linuxcnc/configs/sim.qtdragon_hd.qtdragon_hd_xyz'
Machine configuration file is 'qtdragon_hd_xyza.ini'
INIFILE=/home/hakan/linuxcnc/configs/sim.qtdragon_hd.qtdragon_hd_xyz/qtdragon_hd_xyza.ini
VERSION=1.1
PARAMETER_FILE=qtdragon.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtdragon_hd
COORDINATES=XYZA
KINEMATICS=trivkins coordinates=XYZA
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(lib): /usr/share/linuxcnc/hallib/gantrysim.hal
Loaded HAL Components:
ID      Type  Name                                            PID   State
    26  RT    trivkins                                              ready
    25  User  halcmd8863                                       8863 ready
    21  RT    homemod                                               ready
    16  RT    tpmod                                                 ready
    10  User  halui                                            8852 ready
     4  User  iocontrol                                        8850 ready

Found file(lib): /usr/share/linuxcnc/hallib/simulated-gantry-home.hal
Starting TASK program: milltask
Starting DISPLAY program: qtvcp
Shutting down and cleaning up LinuxCNC...
task: 12368 cycles, min=0.000003, max=0.036588, avg=0.010045, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
[QTvcp.QTVCP.QT_ISTAT][[33mWARNING[0m]  Missing [DISPLAY] ANGULAR_INCREMENTS- using defaults. (qt_istat.py:317)
[QTvcp.QTVCP.QT_MAKEGUI][[41mCRITICAL[0m]  'VCPWindow' object has no attribute 'btn_goto_sensor_clicked' (qt_makegui.py:212)
[QTvcp][[41mCRITICAL[0m]  Retry from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.9.2

Traceback (most recent call last):
  File "/usr/bin/qtvcp", line 545, in <module>
    _qtvcp = QTVCP()
             ^^^^^^^
  File "/usr/bin/qtvcp", line 275, in __init__
    window.instance(filename=self.PATH.XML)
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 201, in instance
    instance = uic.loadUi(filename, self)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/__init__.py", line 241, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/loader.py", line 66, in loadUi
    return self.parse(filename, resource_suffix)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 1037, in parse
    actor(elem)
  File "/usr/lib/python3/dist-packages/PyQt5/uic/uiparser.py", line 929, in createConnections
    slot = self.factory.getSlot(name2object(conn.findtext('receiver')),
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/objcreator.py", line 131, in getSlot
    return self._cpolicy.getSlot(obj, slotname)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/PyQt5/uic/Loader/qobjectcreator.py", line 147, in getSlot
    return getattr(object, slotname)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'VCPWindow' object has no attribute 'btn_goto_sensor_clicked'

 (qtvcp:505)
8846
8877
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Tue Mar 4 12:16:52 AM EST 2025
            UTC Date: Tue Mar 4 05:16:52 AM UTC 2025
        this program: /usr/bin/linuxcnc_info
              uptime: 00:16:52 up 7:21, 1 user, load average: 0.49, 0.57, 0.34
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/hakan/linuxcnc/configs/sim.qtdragon_hd.qtdragon_hd_xyz
                USER: hakan
             LOGNAME: hakan
                HOME: /home/hakan
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: xfce
        display size: 3840x3020 pixels (1016x799 millimeters)
                PATH: /usr/bin:/home/hakan/linuxcnc/configs/sim.qtdragon_hd.qtdragon_hd_xyz/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: CSF750
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Debian 6.1.67-1 (2023-12-12)
          machine -m: x86_64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: BOOT_IMAGE=/boot/vmlinuz-6.1.0-16-rt-amd64 root=UUID=4d925627-cc3b-45aa-ae68-050d85babc80 ro quiet loglevel=3 fbcon=rotate:1 fbcon=rotate:1 quiet isolcpus=1,2,3 splash loglevel=3 mitigations=off
          model name: Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz
               cores: 2
             cpu MHz: 3347.627
             parport:
              serial: 0000-0000 : serial

Versions:
                 gcc: gcc (Debian 12.2.0-14) 12.2.0
              python: Python 3.11.2
                 git: git version 2.39.5
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.2
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version      Architecture Description
+++-===================-============-============-=====================================================================
un  linuxcnc            <none>       <none>       (no description available)
un  linuxcnc-dev        <none>       <none>       (no description available)
un  linuxcnc-doc        <none>       <none>       (no description available)
ii  linuxcnc-doc-de     1:2.9.2      all          motion controller for CNC machines and robots (German documentation)
ii  linuxcnc-doc-en     1:2.9.2      all          motion controller for CNC machines and robots (English documentation)
ii  linuxcnc-doc-es     1:2.9.2      all          motion controller for CNC machines and robots (Spanish documentation)
ii  linuxcnc-doc-fr     1:2.9.2      all          motion controller for CNC machines and robots (French documentation)
un  linuxcnc-sim        <none>       <none>       (no description available)
un  linuxcnc-sim-dev    <none>       <none>       (no description available)
ii  linuxcnc-uspace     1:2.9.2      amd64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.2      amd64        PC based motion controller for real-time Linux

 
  • PCW
  • PCW's Avatar
03 Mar 2025 20:46
Replied by PCW on topic difference 7i76e and 7i76EU

difference 7i76e and 7i76EU

Category: Driver Boards

Note that the 7I76EU does require an up-to-date LinuxCNC version, at least 2.9.3

 
  • MalteS
  • MalteS
03 Mar 2025 20:16 - 03 Mar 2025 20:18

G7x and profile in subroutine with parameters

Category: G&M Codes

Thanks. I'm calling this subroutine as a macro from Touchy . M2 must be inside the subroutine. There is no other GCode executed in Touchy.

I solved the variable problem in the meantime by copying the subroutine arguments to global variables. I consider this ugly as s**t but it gets the job done.
I then ran into the issue that Touchy has limited space for Macro arguments on the UI and no option to scroll through the argument list. This effectively limits the UI to enter 4 (maybe 5) points. This significantly limits the usefulness. Probably not an issue on a bigger screen but is a problem on the 1024x600 pixels display that I use.

Full program is copied below should this be of use to anybody.

#;g7x_macro

O<g7x_macro> sub

; #1 Punkte                             (TODO)
; #2 X1                                (Erster Punkt)
; #3 Z1                                (Erster Punkt)
; #4 X2                               (Zweiter Punkt)
; #5 Z2                               (Zweiter Punkt)
; #6 X3                               (Dritter Punkt)
; #7 Z3                               (Dritter Punkt)
; #8 X4                               (Vierter Punkt)
; #9 Z4                               (Vierter Punkt)

(Use global variables to store the points for the Subroutine below)

#<_g7x_points>=#1
#<_g7x_x1>=#2
#<_g7x_z1>=#3
#<_g7x_x2>=#4
#<_g7x_z2>=#5
#<_g7x_x3>=#6
#<_g7x_z3>=#7
#<_g7x_x4>=#8
#<_g7x_z4>=#9

(Allgemeiner Header)
G8 ; Lathe Diameter Mode
G18 ; XZ Plane
G21 ; Metric Units
G90 ; Absolute Distance

(Spindle Steuerung)
G96 D1400 S50 ; Constant Surface Speed Mode
M3
G95 F0.1 ; Feed-Per-Rev Mode
G4 P.2        ; Wait to reach speed

(Anfangspositionen merken)
#<x_start> = #<_x>
#<z_start> = #<_z>

(G71, G72 -> Lang-, Plandrehen)
(mit .1,.2 für Taschen )
(Q -> Subroutine Nr)
(x,z -> Startposition)
(D ->   Distanz zum Profil zwischen roughing und finish cut) 
(E ->   G70 distanz zum profil am ende)
(P ->   G70 anzahl der durchläufe)
(I ->   Zustellung)
(R ->   Rückzug, default ist 0.5)

G71.1 Q100 D0.25 I0.5
G70   Q100 D0.25
G0 X#<x_start> Z#<z_start>

M5
M2

O<g7x_macro> endsub

O100 SUB
    O200 IF  [#<_g7x_points> GT 0]
    G0 X#<_g7x_x1> Z#<_g7x_z1>
    O200 ENDIF

    O201 IF  [#<_g7x_points> GT 1]
    G0 X#<_g7x_x2> Z#<_g7x_z2>
    O201 ENDIF

    O202 IF  [#<_g7x_points> GT 2]
    G0 X#<_g7x_x3> Z#<_g7x_z3>
    O202 ENDIF

    O203 IF  [#<_g7x_points> GT 3]
    G0 X#<_g7x_x4> Z#<_g7x_z4>
    O203 ENDIF

O100 ENDSUB

%
 
  • Daz
  • Daz
03 Mar 2025 20:08 - 03 Mar 2025 20:22
Replied by Daz on topic Work with probe

Work with probe

Category: Basic Configuration

I have a minor problem with the probe screen 2.9, and your help would be greatly appreciated.

I have got the probe screen working fine, however I have this strange bug, that the Latching functionality is not working. What I mean by that is the measurement only happens in the search mode, and the following probing at lower speed is not happening. The measurement is taken during the first approach at Search speed. The same happens with the tool offset measurement.

While I was trying to debug this, I noticed that when I increase the Latch distance to, let's say, 10mm (5mm further than the XY Clearance), the probe will move to that location after the detection at Search speed, but then it will go back to the XY Clearance position at Search speed and then complete the measurement without doing the probing at Probing speed. 

I am hoping it is some silly setting I forgot to enable somewhere deep in the config file. 

Please help :)

Daz
  • PCW
  • PCW's Avatar
03 Mar 2025 20:02
Replied by PCW on topic 7i96s Watchdog Ethernet

7i96s Watchdog Ethernet

Category: Deutsch

What is the result of:

chrt 99 ping -i .001 -c 60000 -q 10.10.10.10

(will take ~ 1 minute and print statistics, replace 10.10.10.10 by 7I96S card IP address if it differs)
 
  • scotta
  • scotta's Avatar
03 Mar 2025 19:40

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hello,
Does anybody know how data is formatted for NVMPG to display XYZ data, etc.?
I wanted to use this mpg in another project, but I cannot make it work from source files for stm32 and linuxCNC.
If anybody has a spreadsheet of these signals or a logic analyzer to see what is going to the mpg, I would be grateful, and I could make a tutorial about using it for other stuff as a cheaper alternative to other mpg.
All I know for sure at the moment is the baudrate and button codes, but it was an easy part of it...
Thank you in advance 

Here you go

forum.linuxcnc.org/18-computer/44828-rem...rd?start=1920#315684
  • PCW
  • PCW's Avatar
03 Mar 2025 19:37

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

Yes, 20 to 70 KHz should be fine as it will work with general encoder/counter inputs
and always high enough frequency so the control bandwidth is not affected.
 
  • rodw
  • rodw's Avatar
03 Mar 2025 19:35
Replied by rodw on topic Plasma and Ethercat?

Plasma and Ethercat?

Category: Plasma & Laser

Yeh, we don't care about the voltage until we get an Arc OK from the machine which is the pink line (comes on after the voltage peaks are gone.)
This plot is a bit atypical but its all I have saved. Usually we do not see the bump at the beginning. Perhaps that is during piercing... I think it was 8mm mild steel.
  • ErwinCNC
  • ErwinCNC
03 Mar 2025 19:33
7i96s Watchdog Ethernet was created by ErwinCNC

7i96s Watchdog Ethernet

Category: Deutsch

Guten Abend zusammen, 

​​​aktuell hänge ich an folgendem Problem.
​​​​​​Mein PC M91p SFF hat an sich eine geringe Latenz jedoch kommt beim fräsen immer wieder die Watchdog Meldung und die Maschine fährt nicht weiter. 
​​​​​​
Mittlerweile bin ich relativ sicher die Ursache liegt in der Ethernet Verbindung 
Terminal
cnc@cnc:~$ halcmd show param *.tmax 
184004924 hm2_7i96s.0.read.tmax125691892 hm2_7i96s.0.write.tmax
Alle anderen Werte sind sehr deutlich kleiner. 

Bisher habe ich folgendes gemacht
Installation Linux CNC 2.94 über das fertige Image
Bios update auf die aktuelle Version und die gängigen Einstellungen 
Grub Parameter zur Verbesserung der Latenz  
(Nach dem YouTube Video von TooTall18T)
Grub Config:GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty0 console=ttyS0,115200 skew_tick=1 rcu_nocb_poll rcu_nocbs=1-95 nohz=on nohz_full=1-95 kthread_cpus=0,1 irqaffinity=0,1 isolcpus=2,3 intel_pstate=disable nosoftlockup tsc=nowatchdog"

Kann eine PCI Netzwerkkarte das Problem beheben? 
Bei der Grafikkarte hatte ich unerwartet Probleme scheinbar hat Lenovo eine BIOS Whitelist welche Grafikkarten akzeptiert werden. Ich bin nicht sicher ob dies für die Netzwerkkarten auch relevant ist?

Vielen Dank für eure Hilfe 

Grüße Erwin 
 

  
Displaying 18496 - 18509 out of 18509 results.
Time to create page: 0.788 seconds
Powered by Kunena Forum