Advanced Search

Search Results (Searched for: )

  • djdelorie
  • djdelorie
21 Nov 2025 19:25
Replied by djdelorie on topic How do you vote in the hardware survey?

How do you vote in the hardware survey?

Category: General LinuxCNC Questions

I, too, only see the results, the initial announcement, and a banner that says "You cannot reply to this topic".  I'm not a mod either.  I wonder if ability to reply is tied to ability to vote?
 
  • 1911ut
  • 1911ut
21 Nov 2025 19:17

Is something up with 2.9.7 (joint errors)

Category: General LinuxCNC Questions

Hi Have 1995 Tsugami Swiss that I converted over to.
Linuxcnc, ClearPath, Mesa 6i25,7i76,7i85 closed loop on 1 micron scales.

LinuxCNC going back as far as 2.7 which was tested up to 300 inches a minute.
(Which was too fast for me.)

Never had a problem running 180 inches a minute until 2.9.7 update
Now I can't get more than 130 inches a minute without getting joint errors.
I get  180 inches a minute on LinuxCNC 2.10-pre0 on Mint 22.1 
LinuxCNC 2.9.4 runs  just fine as well.

I never upgraded to 2.9.5 or 2.9.6 but I have used the same config going back to 2.8
Anyone else seeing this?
 
  • papagno-source
  • papagno-source
21 Nov 2025 18:51
Replied by papagno-source on topic CNC AXIS IN PARKING MODE

CNC AXIS IN PARKING MODE

Category: Advanced Configuration

Thanks for the replies.
The solution of increasing the tracking value and resetting the axis is impractical and technically incorrect.

The servos are analog and controlled by Mesa boards.
Isn't there a component that creates the command position = position read by the transducer?
Or is there a way to modify the Trivkins kinematics?
  • unknown
  • unknown
21 Nov 2025 18:15
Replied by unknown on topic [SOLVED] Backlash issues on Y-AXIS

[SOLVED] Backlash issues on Y-AXIS

Category: Advanced Configuration

That is NOT the image I'm referring to.
In fact I would be grateful if you would not host any of the images I create. I do not trust the security of you server.
Please remove NOW.
  • cmorley
  • cmorley
  • kwanlokto
  • kwanlokto
21 Nov 2025 17:25
LinuxCNC python was created by kwanlokto

LinuxCNC python

Category: General LinuxCNC Questions

I am looking to leverage linuxcnc.org/docs/html/config/python-interface.html to build an API which will be able to perform basic machine functions like homing the axis, measuring tool length and running gcode. Out of curiousity do you guys know of any github repos or any open source projects I can reference to start this project?
  • cmorley
  • cmorley
21 Nov 2025 17:20 - 21 Nov 2025 17:27
Replied by cmorley on topic qtdragon mod

qtdragon mod

Category: Qtvcp

Setting 'value-changed' callback functions on output pins is not the thing to do.
'value-changed' only makes sense with input pins.

You should create a STATUS callback for manual and auto mode changes that change the LEDS.
Here is some details:
linuxcnc.org/docs/devel/html/gui/gstat.h...tension_code_pattern

Something like this:

def init_pins(self):# status LED pins
    pin = QHAL.newpin("led-red", QHAL.HAL_FLOAT, QHAL.HAL_OUT)
    pin = QHAL.newpin("led-green", QHAL.HAL_FLOAT, QHAL.HAL_OUT)
    pin = QHAL.newpin("led-blue", QHAL.HAL_FLOAT, QHAL.HAL_OUT)

    STATUS.connect("mode-manual",lambda w: self.set_manual_leds())
    STATUS.connect("mode-auto",lambda w: self.set_auto_leds())

def set_manual_leds(self):
    print("status is manual mode", STATUS.is_man_mode())
    self.h["led-red"] = 255
    self.h["led-green"] = 0
    self.h["led-blue"] = 0

def set_auto_leds(self):
    print("status is auto mode", STATUS.is_auto_mode())
    self.h["led-red"] = 0
    self.h["led-green"] = 255
    self.h["led-blue"] = 0
  • Edi_48
  • Edi_48
21 Nov 2025 16:21
Rack ATC was created by Edi_48

Rack ATC

Category: Deutsch

HalloIch habe eine frage ?Welche   *.ngc Dateien und Var Einträge brauche ich wenn ich  ein Rack ATC verwenden möchte.Linuxcnc 2.9.7
Mesa 7i76e


mfg
Hilton

 
  • Tinker
  • Tinker
21 Nov 2025 16:10
Replied by Tinker on topic Probe basic launch issue

Probe basic launch issue

Category: General LinuxCNC Questions

I had to move some files around, but i think i have it working. Thank you so much for all of yalls help! Yall are the best!!!!
  • Lcvette
  • Lcvette's Avatar
21 Nov 2025 16:09 - 21 Nov 2025 16:21

problems with Y-Axis, elliptic deviations after several changes -Probe Basic V.5

Category: QtPyVCP

i would review the stepper motor docs and make sure your timings match what the drives are looking for, this may help resolve your drive side following error, the timings are usually listed in a graph showing the uSec for step and dir and would be entered in the configuration file, yours seem quite big to me from what i am used too seeing.

the first thing I would be looking at is resolving the drive errors to ensure that what linuxcnc is commanding is actually being executed by the drive without faults, otherwise is doesn't matter what linuxcnc is sending. verify your stepper timings are set correctly, then try resetting the config to the basic stepper settings without any "fixes". test and ensure no drive faults and get another test cut measurement, once you have no drive faults you can begin troubleshooting the linuxcnc side of things. I would set any scaling to preliminary settings for the motion components advertised ratios such as lead and transmission reductions for pulleys. remove any fixes here from the equation so you have a good base point to start from. I have found that any deviations here will be very very small and certainly not in the realm of tenths of a mm. also remove any backlash compensation. you really want to run your test cuts without anything except the very base setting requirements to ensure something you did while running with drive faults isn't skewing your results.

other things to verify.  drive settings for microstepping, ensure these are correctly set and not beyond what the drive can handle at 200khz step frequency and linuxcnc output.  sometimes setting these a little more conservatively is better.

I also just saw in your ini config you shared that your step scale is different for x and y axis, but you state you are running the same screws and 2:1 reduction, the step scale here should be the same provided the drive microstepping settings are the same for both axis (and they should be)  both should be set to the systems axis setting test with the least granular microstepping setting for continuity.
  • Tinker
  • Tinker
21 Nov 2025 15:44
Replied by Tinker on topic Probe basic launch issue

Probe basic launch issue

Category: General LinuxCNC Questions

I omitted that file and the GUI launched but with a new error.. LOL This thing is driving me crazy.

Traceback (most recent call last):
File "/usr/bin/probe_basic", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/probe_basic/__init__.py", line 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
run(*args, **kwargs)
~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 93, in launch_application
raise IOError('The specified POSTGUI_HALFILE does not exist: %s' %
postgui_halfile)
OSError: The specified POSTGUI_HALFILE does not exist: /home/kris/linuxcnc/configs/my_mill/probe_basic_postgui.hal
  • tommylight
  • tommylight's Avatar
21 Nov 2025 15:35
Replied by tommylight on topic Maho 500 W4 Retrofit

Maho 500 W4 Retrofit

Category: General LinuxCNC Questions

Hi Tom,

Who me ? :)
  • Tinker
  • Tinker
21 Nov 2025 15:33
Replied by Tinker on topic Probe basic launch issue

Probe basic launch issue

Category: General LinuxCNC Questions

I'm sure I messed something up again.. here's a copy of my HAL& INI files

HAL
# This file was created with the Mesa Configuration Tool on Nov 21 2025 06:35:29
# If you make changes to this file DO NOT run the configuration tool again!
# This file will be replaced with a new file if you do!

# kinematics
loadrt [KINS](KINEMATICS)

# motion controller
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=6 num_aio=3

# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="sserial_port_0=00000000"

setp hm2_[MESA](BOARD).0.watchdog.timeout_ns 10000000

loadrt pid names=pid.x,pid.y,pid.z

# THREADS
addf hm2_[MESA](BOARD).0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf hm2_[MESA](BOARD).0.write servo-thread

# amp enable
net motion-enable <= motion.motion-enabled

# Global PWM setup
setp hm2_[MESA](BOARD).0.pwmgen.pwm_frequency 75000

# Board: 7i97t

# Axis: X Joint: 0 Output: 0
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True

# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable
net joint-0-index-enable <=> hm2_[MESA](BOARD).0.encoder.00.index-enable

net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable
net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable

# PWM Generator setup
setp hm2_[MESA](BOARD).0.pwmgen.00.dither true
setp hm2_[MESA](BOARD).0.pwmgen.00.output-type 1 #PWM pin0
setp hm2_[MESA](BOARD).0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0
setp hm2_[MESA](BOARD).0.pwmgen.00.scale [JOINT_0]SCALE

# ---Encoder feedback signals/setup---
setp hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp hm2_[MESA](BOARD).0.encoder.00.filter 1
setp hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.scale [JOINT_0]ENCODER_SCALE

# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command

net joint-0-pos-fb <= hm2_[MESA](BOARD).0.encoder.00.position
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback

# PID Output
net joint.0.output <= pid.x.output
net joint.0.output => hm2_[MESA](BOARD).0.pwmgen.00.value

# Encoder Setup
setp hm2_[MESA](BOARD).0.encoder.00.scale [JOINT_0](ENCODER_SCALE)
setp hm2_[MESA](BOARD).0.encoder.00.counter-mode 0
setp hm2_[MESA](BOARD).0.encoder.00.filter 1
setp hm2_[MESA](BOARD).0.encoder.00.index-invert 0
setp hm2_[MESA](BOARD).0.encoder.00.index-mask 0

INI
# This file was updated with the Mesa Configuration Tool on Nov 21 2025 06:35:29
# Changes to most things are ok and will be read by the Configuration Tool

[MESA]
VERSION = 2.1.8
BOARD = 7i97
BOARD_NAME = 7i97t
FIRMWARE =
CARD_0 = None
CARD_1 = None

[EMC]
VERSION = 1.1
MACHINE = my mill
DEBUG = 0x00000000

[HM2]
DRIVER = hm2_eth
ADDRESS = 10.10.10.10

[DISPLAY]
DISPLAY = probe_basic
OPEN_FILE = ~/linuxcnc/nc_files/pb_examples/blank.ngc
CONFIRM_EXIT = False
LOG_FILE = sim.log
LOG_LEVEL = DEBUG
PREFERENCE_FILE = sim.pref
CONFIG_FILE = custom_config.yml
POSITION = 0x0
PROGRAM_PREFIX = /home/kris/linuxcnc/nc_files
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 2.000000
MIN_SPINDLE_OVERRIDE = 0.500000
DEFAULT_SPINDLE_SPEED = 300
MIN_LINEAR_VELOCITY = 0.016670
DEFAULT_LINEAR_VELOCITY = 10.00000
MAX_LINEAR_VELOCITY = 10.000000
DEFAULT_ANGULAR_VELOCITY = 36.000000
MAX_ANGULAR_VELOCITY = 360.000000
MIN_ANGULAR_VELOCITY = 1.666667
PROGRAM_PREFIX = ~/linuxcnc/nc_files
INCREMENTS = JOG .01in .001in .0001in
GEOMETRY = xyzac
USER_TABS_PATH = user_tabs/
USER_BUTTONS_PATH = user_buttons/
USER_DROS_PATH = user_dro_display/
DRO_DISPLAY = XYZ
OFFSET_COLUMNS = XYZR
TOOL_TABLE_COLUMNS = TZDR
KEYBOARD_JOG = true
KEYBOARD_JOG_SAFETY_OFF = true
ATC_TAB_DISPLAY = 0
USER_ATC_BUTTONS_PATH = user_atc_buttons/

CYCLE_TIME = 0.1
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
OPEN_FILE = ""

[KINS]
KINEMATICS = trivkins coordinates=XYZ
JOINTS = 3

[EMCIO]
EMCIO = iov2
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[RS274NGC]
RS274NGC_STARTUP_CODE = F10 S300 G20 G17 G40 G49 G54 G64 P.001 G80 G90 G91.1 G92.1 G94 G97 G98
PARAMETER_FILE = probe_basic.var
OWORD_NARGS = 1
NO_DOWNCASE_OWORD = 1
SUBROUTINE_PATH = subroutines

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
SERVO_PERIOD = 2000000

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
MAX_LINEAR_VELOCITY = 3.4
NO_FORCE_HOMING = 1

[HAL]
HALUI = halui
POSTGUI_HALFILE = probe_basic_postgui.hal
TWOPASS = on
HALFILE = main.hal
HALFILE = io.hal

[AXIS_X]
MIN_LIMIT = -14
MAX_LIMIT = 14
MAX_VELOCITY = 10
MAX_ACCELERATION = 10

[JOINT_0]
CARD = 0
TAB = 0
AXIS = X
MIN_LIMIT = -14
MAX_LIMIT = 14
MAX_VELOCITY = 10
MAX_ACCELERATION = 10
TYPE = LINEAR
SCALE = 4
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = -40000
FERROR = 25
MIN_FERROR = 25
DEADBAND = 0
P = 10
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
MAX_OUTPUT = 100
MAX_ERROR = 25
HOME = 0
HOME_OFFSET = -14
HOME_SEARCH_VEL = -1
HOME_LATCH_VEL = 1
HOME_FINAL_VEL = 0
HOME_USE_INDEX = True
HOME_IGNORE_LIMITS = True
HOME_IS_SHARED = True

[AXIS_Y]
MIN_LIMIT = -9
MAX_LIMIT = 9
MAX_VELOCITY = 10
MAX_ACCELERATION = 10

[JOINT_1]
CARD = 0
TAB = 1
AXIS = Y
MIN_LIMIT = -9
MAX_LIMIT = 9
MAX_VELOCITY = 10
MAX_ACCELERATION = 10
TYPE = LINEAR
SCALE = 4
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = -40000
FERROR = 25
MIN_FERROR = 25
DEADBAND = 0
P = 10
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
MAX_OUTPUT = 100
MAX_ERROR = 25
HOME = 0
HOME_OFFSET = -9
HOME_SEARCH_VEL = -1
HOME_LATCH_VEL = 1
HOME_FINAL_VEL = 0
HOME_USE_INDEX = True
HOME_IGNORE_LIMITS = True
HOME_IS_SHARED = True

[AXIS_Z]
MIN_LIMIT = -17
MAX_LIMIT = 0
MAX_VELOCITY = 5
MAX_ACCELERATION = 5

[JOINT_2]
CARD = 0
TAB = 2
AXIS = Z
MIN_LIMIT = -17
MAX_LIMIT = 0
MAX_VELOCITY = 5
MAX_ACCELERATION = 5
TYPE = LINEAR
SCALE = 4
ANALOG_SCALE_MAX = 10
ANALOG_MIN_LIMIT = -10
ANALOG_MAX_LIMIT = 10
ENCODER_SCALE = 40000
FERROR = 25
MIN_FERROR = 25
DEADBAND = 0
P = 10
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
BIAS = 0
MAX_OUTPUT = 100
MAX_ERROR = 25
HOME = -1
HOME_OFFSET = 0
HOME_SEARCH_VEL = 1
HOME_LATCH_VEL = 1
HOME_FINAL_VEL = 0
HOME_USE_INDEX = True
HOME_IGNORE_LIMITS = True
HOME_IS_SHARED = True

[INPUTS]
# DO NOT change the inputs they are used by the configuration tool
INPUT_0_8 = Joint 0 Plus Minus Home
INPUT_INVERT_0_8 = True
INPUT_SLOW_0_8 = False
INPUT_0_9 = Joint 1 Minus Home
INPUT_INVERT_0_9 = True
INPUT_SLOW_0_9 = False
INPUT_0_10 = Joint 1 Plus
INPUT_INVERT_0_10 = True
INPUT_SLOW_0_10 = False
INPUT_0_11 = Joint 2 Plus Home
INPUT_INVERT_0_11 = True
INPUT_SLOW_0_11 = False
INPUT_0_12 = Joint 2 Minus
INPUT_INVERT_0_12 = True
INPUT_SLOW_0_12 = False
INPUT_0_14 = Lube Level
INPUT_INVERT_0_14 = False
INPUT_SLOW_0_14 = False

[OUTPUTS]
# DO NOT change the outputs they are used by the configuration tool
OUTPUT_0_0 = Spindle CW
OUTPUT_INVERT_0_0 = False
OUTPUT_0_1 = Spindle CCW
OUTPUT_INVERT_0_1 = False
OUTPUT_0_2 = Coolant Flood
OUTPUT_INVERT_0_2 = False
OUTPUT_0_3 = Lube Pump
OUTPUT_INVERT_0_3 = False

[OPTIONS]
# DO NOT change the options they are used by the configuration tool
LOAD_CONFIG = True
INTRO_GRAPHIC = emc2.gif
INTRO_GRAPHIC_TIME = 0
MANUAL_TOOL_CHANGE = True
CUSTOM_HAL = False
POST_GUI_HAL = False
SHUTDOWN_HAL = False
HALUI = False
PYVCP = False
GLADEVCP = False
LADDER = False
BACKUP = True
  • langdons
  • langdons's Avatar
21 Nov 2025 15:30 - 21 Nov 2025 15:43

qtdragon crash during 3d viewer translation (QTvcp ERROR! Message # 1)

Category: Qtvcp

Did you eventually manage to get the NVIDIA rendering to work?

Ubuntu and GhostBSD (and probably others as well) install the proprietary NVIDIA driver (not the latest version, generally 535, or 470 if the GPU does not support driver version 535) for supported NVIDIA GPUs by default when you install the OS, which should really be the case for all Linux distros.

Windows also installs the proprietary NVIDIA driver automatically, if your GPU is at all supported. However, it installs a really old version (450, I think), even if your GPU supports the latest driver, which is stupid.

You could try running:
sudo apt update
sudo apt install nvidia-driver-full
sudo reboot

WARNING: THIS MAY BREAK YOUR SYSTEM
Consider making a backup of your system first, or asking for advice regarding the nvidia-driver package and the preempt_rt kernel and just Debian in general.
If you have an unused HDD or SSD, consider taking out your working setup's drive and putting in the empty one, then installing the LinuxCNC 2.9.4 ISO to that, and then trying out those commands to install the "real" NVIDIA drivers, so you won't risk breaking your working install and setup.
  • tommylight
  • tommylight's Avatar
21 Nov 2025 15:26
Replied by tommylight on topic Probe basic launch issue

Probe basic launch issue

Category: General LinuxCNC Questions

The ini file is pointing to an io.hal file that does not exist in that folder.
You can try omitting that entry in the ini file, but might be needed for the config to work, so better try to find the file if you are sure it is needed.
Displaying 136 - 150 out of 22465 results.
Time to create page: 1.924 seconds
Powered by Kunena Forum