Advanced Search

Search Results (Searched for: )

  • Lcvette
  • Lcvette's Avatar
17 Nov 2025 15:44
Replied by Lcvette on topic Probebasic tool length calculation

Probebasic tool length calculation

Category: QtPyVCP

ok, i have a clean install of everything and have ran a test with a new tool and everything seems to be working as expected on the main branch.

I set my parameters as follows and ran the test with the below results:
spindle zero = 10.0000
load new tool = 221
click touch off current tool
manually trigger probe tip button on probe page at Z-8.0015
spindle retracts home position
tool length offset is stored in tool table as 1.9985
z axis dro shows -1.9985

all of this seems to track correctly. can you try running things in your sim to see if it behaves differently from your machine? it may show something or maybe not.

also can you post your tool_touch_off.ngc subroutine code so i can compare to what the sim has? everything in the code appears to be correct and here it is tracking correct.

my earlier findings seem to be related to the experimental branch i was working on and the issues are not present on the clean install.
  • abs32
  • abs32
17 Nov 2025 15:33 - 18 Nov 2025 14:47

Installation v2.9.7 linuxcnc in November 2025.

Category: Installing LinuxCNC

I downloaded the image of disk 2.9 and allowed network connection during installation. After installation, it was loaded normally, everything is working, linuxcnc-uspace.
We follow the instructions - 
apt-get update
apt-get install linuxcnc

linuxcnc.org/docs/2.9/html/getting-start...#cha:Installing-RTAI
He swears, there is no such package! The list of sources indicates -
deb linuxcnc.org bookworm base



I run synaptic, the kernel is 5.4.258-rtai
I order it to be installed and heads - 
  • La Pendule
  • La Pendule
17 Nov 2025 10:04
LinuxCNC 2.10 was created by La Pendule

LinuxCNC 2.10

Category: General LinuxCNC Questions

Hi,
At first thanks a lot to the community for your effort to improve LinuxCNC.
I am using LinuxCNC 2.10 and it runs without problems on Debian Bookworm.
This morning pre0-5285 should be available. However on the buildbot only 4852 is downloadable and hasn't been updated since 2025-08-22.
Is there a new buildbot on which we get the newest version ? Or is it simply forgotten ?
Thanks again and have a nice day.
Philippe
  • Nest
  • Nest's Avatar
17 Nov 2025 08:18
Replied by Nest on topic Problema de altura en el eje Z

Problema de altura en el eje Z

Category: Español

Hola, buenos días, no creo que ese sea el problema, ya que el interruptor de inicio home solo se utiliza una sola vez cuando enciendo la máquina luego ya no lo utilizo para nada más.
la velocidad de home es muy baja, la máxima velocidad a la que la máquina puede funcionar es de 1700 y la velocidad del primer contacto con el interruptor de home lo tengo a 100 y el segundo contacto que es para el ajuste fino la tengo configurada a 3.

Digo que no creo que sea ese el problema por que para empezar a fresar la PCB tengo que subir y bajar el eje Z muchas veces antes de empezar, ya sea haciendo home de pieza (que no es el home de la máquina) o subiendo y bajando el eje manualmente y una vez empieza a cortar a la medida correcta y ya no se desvía en todo el trabajo que puede tardar una hora, y en el transcurso del trabajo el eje Z sube y baja muchas veces por que tienen que moverse de zona y para eso sube se desplaza y vuelve a bajar para seguir cortando y lo hace perfecto, el problema es al empezar que no sé por qué le pasa eso
  • Hakan
  • Hakan
17 Nov 2025 08:00 - 17 Nov 2025 15:08
Replied by Hakan on topic Configuration Schnider electric ILA2 Servo

Configuration Schnider electric ILA2 Servo

Category: EtherCAT

My mistake, "sdos upload" should be just "upload".

And what? You now have an "Invalid input configuration"
By any chance, will there be another result if you repeat the same thing?

Can you then do the same thing with "ethercat -p 0 upload 0x1a00 0" to see if the input pdo got configured?
And the same for 0x1c12 and 0x1c13?

Or maybe one should start with what PDOs the drive has. "ethercat pdos".
I have a drive where I pick PDOs from several RxPDOs and TxPDOs,
maybe that's how you need to do it.
The drive doesn't seem to download the PDO mapping, like is needed for configurable PDO mapping.
  • PCW
  • PCW's Avatar
17 Nov 2025 04:06

First Machine, can't get 6i25 to drive CL57Y/CL86Y

Category: Basic Configuration

Note that that is the default (as shipped) firmware, not the 5ABOB firmware
  • BryceJ
  • BryceJ's Avatar
17 Nov 2025 02:23

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Ran into an issue with IRQ balance after updating to trixie

Nov 16 19:34:22 hazelnut irqbalance[597]: IRQ 9 affinity is now unmanaged
Nov 16 19:34:22 hazelnut irqbalance[597]: Cannot change IRQ 14 affinity: Read-only file system
Nov 16 19:34:22 hazelnut irqbalance[597]: IRQ 14 affinity is now unmanaged
Nov 16 19:34:42 hazelnut irqbalance[597]: IRQ 123: Override ban to true
Nov 16 19:34:42 hazelnut irqbalance[1572]: /etc/linuxcnc/lcnc_irqbalancepolicy.sh: line 17: /proc/irq/123/smp_affinity: Read-only file system
Nov 16 19:37:52 hazelnut irqbalance[597]: Cannot change IRQ 135 affinity: Read-only file system
Nov 16 19:37:52 hazelnut irqbalance[597]: IRQ 135 affinity is now unmanaged



Turns out there was a bug version of irqbalance that is fixed with

github.com/Irqbalance/irqbalance/issues/308#issue-2217868587

after adding

/etc/systemd/system/irqbalance.service.d/override.conf

➜  ~ sudo cat /etc/systemd/system/irqbalance.service.d/override.conf
[Service]
ProtectKernelTunables=no

It fixed the ethernet mesa issue that was causing latency spikes





 
  • Lcvette
  • Lcvette's Avatar
17 Nov 2025 01:54
Replied by Lcvette on topic How to disable buttons in Probe Basic

How to disable buttons in Probe Basic

Category: QtPyVCP

Sure that's fine, it's basically using widget rules in your Python custom file which should be fine. Just adding a conditional for the button state. If that works roll with it! I don't see an issue with that.
  • Lcvette
  • Lcvette's Avatar
17 Nov 2025 01:50

probe_basic_postgui.hal conflicts with my gamepad*.hal

Category: QtPyVCP

You're loading not in the main hal file but with only one name (instance), you need to add the complete list of names (each instance it is used) and loadrt not should only be in one hal file.
  • Autumn Reign
  • Autumn Reign
17 Nov 2025 01:49
Replied by Autumn Reign on topic First Machine, can't get 6i25 to drive CL57Y/CL86Y

First Machine, can't get 6i25 to drive CL57Y/CL86Y

Category: Basic Configuration

General configuration information:

BoardName : MESA5I25
FPGA Size: 9 KGates5
FPGA Pins: 144
Number of IO Ports: 2
Width of one I/O port: 17
Clock Low frequency: 33.3333 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256

Modules in configuration:

Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: IOPort
There are 2 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: QCount
There are 2 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes

Module: StepGen
There are 10 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P3
DB25 pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

1 0 IOPort StepGen 0 Dir/Table2 (Out)
14 1 IOPort StepGen 0 Step/Table1 (Out)
2 2 IOPort StepGen 1 Dir/Table2 (Out)
15 3 IOPort StepGen 1 Step/Table1 (Out)
3 4 IOPort StepGen 2 Dir/Table2 (Out)
16 5 IOPort StepGen 2 Step/Table1 (Out)
4 6 IOPort StepGen 3 Dir/Table2 (Out)
17 7 IOPort StepGen 3 Step/Table1 (Out)
5 8 IOPort StepGen 4 Dir/Table2 (Out)
6 9 IOPort StepGen 4 Step/Table1 (Out)
7 10 IOPort SSerial 0 TXData0 (Out)
8 11 IOPort SSerial 0 RXData0 (In)
9 12 IOPort SSerial 0 TXData1 (Out)
10 13 IOPort SSerial 0 RXData1 (In)
11 14 IOPort QCount 0 Quad-IDX (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-A (In)

IO Connections for P2
DB25 pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

1 17 IOPort StepGen 5 Dir/Table2 (Out)
14 18 IOPort StepGen 5 Step/Table1 (Out)
2 19 IOPort StepGen 6 Dir/Table2 (Out)
15 20 IOPort StepGen 6 Step/Table1 (Out)
3 21 IOPort StepGen 7 Dir/Table2 (Out)
16 22 IOPort StepGen 7 Step/Table1 (Out)
4 23 IOPort StepGen 8 Dir/Table2 (Out)
17 24 IOPort StepGen 8 Step/Table1 (Out)
5 25 IOPort StepGen 9 Dir/Table2 (Out)
6 26 IOPort StepGen 9 Step/Table1 (Out)
7 27 IOPort SSerial 0 TXData2 (Out)
8 28 IOPort SSerial 0 RXData2 (In)
9 29 IOPort SSerial 0 TXData3 (Out)
10 30 IOPort SSerial 0 RXData3 (In)
11 31 IOPort QCount 1 Quad-IDX (In)
12 32 IOPort QCount 1 Quad-B (In)
13 33 IOPort QCount 1 Quad-A


When using:

setp hm2_5i25.0.stepgen.03.direction.invert_output
setp hm2_5i25.0.stepgen.03.step.invert_output

Results:

Debug file information:
Note: Using POSIX realtime
./Autumn.hal:240: setp requires 2 arguments, 1 given
12304
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7f370745c000
Note: Using POSIX realtime


But:

setp hm2_5i25.0.stepgen.03.direction.invert_output TRUE
setp hm2_5i25.0.stepgen.03.step.invert_output TRUE

Executes and launches
  • Autumn Reign
  • Autumn Reign
17 Nov 2025 01:38
Replied by Autumn Reign on topic First Machine, can't get 6i25 to drive CL57Y/CL86Y

First Machine, can't get 6i25 to drive CL57Y/CL86Y

Category: Basic Configuration

I read a few posts that you said on this but it failed to compile when launching linuxcnc when I used that stepgen/invert nomenclature. Past posts included 1 or TRUE in the definition, I will try the above verbatim.
  • Lcvette
  • Lcvette's Avatar
17 Nov 2025 01:35
Replied by Lcvette on topic Probebasic tool length calculation

Probebasic tool length calculation

Category: QtPyVCP

Sorry for the delay I'm in the process of swapping dev PC's around so I can test on a clean install. In the interim. Check and see if your tool table has pockets listed in the file. If so, make sure the pocket and roll numbers are the same. Something in latest release of linuxcnc changed with pockets that I think is making a bit of a mess in some areas.
  • Lcvette
  • Lcvette's Avatar
17 Nov 2025 01:31
Replied by Lcvette on topic Probe Basic Help | G0704 Conversion

Probe Basic Help | G0704 Conversion

Category: QtPyVCP

Yes, you have a bit of a mess. chat gpt did you no favors. just follow the instructions. And first and foremost, verify the probe basic SIM works correctly. That will let you know if the installation is correct as it has correct configs.

Once verified the SIM works, take your time and go line by line through the doc and you will have a machine at the end. Start with a good working axis configuration..
  • bmoo
  • bmoo
17 Nov 2025 01:14

Probe Basic Help | G0704 Conversion

Category: QtPyVCP

Linux OS & kernel type
Debian GNU/Linux 12 (bookworm)
6.1.0-30-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux

Version of Linuxcnc
2.9.6

Version of QtPyVCP and Probe Basic
0.0 & 2.9.6

Howdy folks,
Forgive me in advance as this project is the first time I've touched linux, linuxcnc, probe basic, or attempted a CNC conversion. I used the quickstart guide to install, and I've gone through the hal and ini files. Although, both the hal and ini files could be severely incorrect now. I believe I have the necessary config files.

Now, admittedly, I've used ChatGPT way way too much for this, so I might need to start from scratch.

So, after installing linuxcnc, the sim.axis worked great, X and X moved well and were moving roughly correct distances (I don't have my Z installed yet).

I then installed probe basic and went through pncconfig to make my custom config file that opens into probe basic. In that custom config I can't get anything to work. The E-stop button freezes the screen for a few seconds, but it never disables the E-stop.

And now when I open into sim.axis, everything works but my motors don't actually move. E-stop disables, machine turns on, and jogging shows in the graphics.

Just trying to get some motors to move and maybe make a circle with gcode. That'll be a step in the right direction. HAL & INI are attached. Also I'm running a Lenovo M710Q with a Mesa 7i96s.

Thanks in advance

 

File Attachment:

File Name: G0704_Mill.hal
File Size:10 KB

 

File Attachment:

File Name: G0704_Mill.ini
File Size:4 KB


 
  • PCW
  • PCW's Avatar
17 Nov 2025 01:05

First Machine, can't get 6i25 to drive CL57Y/CL86Y

Category: Basic Configuration

On the 6I25/5I25 mesaflash lists DB25 pin numbers

DB25 connectors are numbered:

1    2    3    4    5    6    7    8    9    10    11    12    13
  14  15  16  17  18 19  20  21  22    23     24    25

Also you don't need to use GPIO to invert step or dir pins, there are aliased names like:

hm2_5i25.0.stepgen.00.direction.invert_output

hm2_5i25.0.stepgen.00.step.invert_output



 
Displaying 916 - 930 out of 22281 results.
Time to create page: 0.316 seconds
Powered by Kunena Forum