Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
16 Nov 2025 22: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
16 Nov 2025 20: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
16 Nov 2025 19: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
16 Nov 2025 19: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
16 Nov 2025 19: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
16 Nov 2025 19: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
16 Nov 2025 19: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
16 Nov 2025 19: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..
Displaying 11356 - 11363 out of 11363 results.
Time to create page: 0.292 seconds
Powered by Kunena Forum