Advanced Search

Search Results (Searched for: )

  • Grotius
  • Grotius's Avatar
01 May 2025 12:12
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@Pcw,

Thanks for reporting this.  For now i will keep this in mind, and will test this later on.

The [TRAJ] section is responsible for setting the planners max-acceleration values.
The planner doesn't look at the individual joint max acceleration values. Maybe that is causing trouble.

@All,

Ok, for the cia-402 component i made a home sequence intrusion in the homemod.so component.
It basicly enables external homing, and not triggering following error etc during this procedure.
All is done with a few hal pins.

When using the servo's internal home sequence the lcnc home sequence can now be done by a connecting a few hal pins.

For each joint, you can activate the cia-402 home sequence.
In this way, a non cia-axis, can be homed by lcnc's original method as usual.
 

1. You can set pin for enabling the cia-402 internal servo drive home sequence.
Set this flag "setp" in the .hal file after you load the cia component for example.

2. The cia-402 recieves a home command from homemod.so
Connect the cia-402 home command pin (input) -> homemod home-drive (output)

3. The cia-402 servo pos feebback is passed to the homemod.so when the servo is homing and changing position.
Connect the cia-402 pos-feedbak (output) -> homemod.so pos-fb

4. When the cia-402 drive is homed, it updates a flag in homemod.so wich set homed = 1.
Connect the cia-402 is homed flag (output) -> homemod.so drive-is-homed.

libhome

source code intrusion

Sinds i have no cia hardware, i tested this ok in a linuxcnc simulation config.
  • Spyderbreath
  • Spyderbreath's Avatar
01 May 2025 11:52
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Wow, yes that does help immensely. Fortunately I was up early enough this morning to retrieve the hardware from the trash before the truck came down the road to hall it away. Unfortunately, not before I ordered a 7I96S, but I'll find a use for the both of them as I have a Emco 120P to retrofit after I get this mill up and running.

The info in 3. is the first time I have seen any reference to that file.

About 8. ? The post that Daz made if you are referring to this one - forum.linuxcnc.org/18-computer/44828-rem...rd?start=2140#327240 - is for an EC300, not an NVEM. From what I am seeing I will need to follow to the letter up to step 8, then use the nvem-rt1052.txt instead of the ec300-rt1052.txt linked to in that post. Is that correct?
  • tommylight
  • tommylight's Avatar
01 May 2025 11:28
Replied by tommylight on topic comparing to Grbl, or FluidNC

comparing to Grbl, or FluidNC

Category: Milling Machines

One aspect that I did not see mentioned is the time delay between inputs and action on some of the systems.

I did mention LinuxCNC is real time systems, so there is no delay, maybe 1-3ms normally.
But your explanation is much easier to understand. :)
  • DarkPhoinix
  • DarkPhoinix
01 May 2025 11:27
Replied by DarkPhoinix on topic [SOLVED]linuxcnc Latency test ambiguous results

[SOLVED]linuxcnc Latency test ambiguous results

Category: General LinuxCNC Questions

this is my situation of IRQ.
I try yesterday morning to move some irq to cpu 0 and 1 but no success.
#!/bin/bash

# Funzione per spostare un IRQ su una specifica CPU core
sposta_irq_su_core() {
  local irq_number="$1"
  local cpu_core="$2"
  local affinity_file="/proc/irq/${irq_number}/smp_affinity_list"

  if [ -f "$affinity_file" ]; then
    echo "$cpu_core" > "$affinity_file"
    echo "IRQ $irq_number spostato sul core $cpu_core."
  else
    echo "Errore: il file di affinità per l'IRQ $irq_number non esiste."
  fi
}

# Ottieni la lista degli IRQ
irqs=$(ls /proc/irq)

# Definisci i core target
core0=0
core1=1

echo "Tentativo di spostare gli IRQ sui core $core0 e $core1..."

# Itera attraverso gli IRQ e distribuiscili sui core 0 e 1
counter=0
for irq in $irqs; do
  if [[ "$irq" =~ ^[0-9]+$ ]]; then # Verifica che sia un numero (IRQ)
    if (( counter % 2 == 0 )); then
      sposta_irq_su_core "$irq" "$core0"
    else
      sposta_irq_su_core "$irq" "$core1"
    fi
    ((counter++))
  fi
done

echo "Operazione completata."
           CPU0       CPU1       CPU2       CPU3
  8:          0          0          0          0  IR-IO-APIC   8-edge      rtc0
  9:          0          0          0          0  IR-IO-APIC   9-fasteoi   acpi
 17:        466          0          0          0  IR-IO-APIC  17-fasteoi   snd_hda_intel:card0
 18:          5          0          0          0  IR-IO-APIC  18-fasteoi   i801_smbus
 23:          0        112          0          0  IR-IO-APIC  23-fasteoi   ehci_hcd:usb1, ehci_hcd:usb2
 24:          0          0          0          0  DMAR-MSI   0-edge      dmar0
 26:          0          0      13810          0  IR-PCI-MSI 1572864-edge      enp3s0
 27:          0          0      10628          0  IR-PCI-MSI 512000-edge      ahci[0000:00:1f.2]
 28:          0          0          0         18  IR-PCI-MSI 360448-edge      mei_me
 29:          0      26402          0          0  IR-PCI-MSI 524288-edge      nvkm
NMI:          2          2          0          0   Non-maskable interrupts
LOC:     176373     127559        836        484   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:          2          2          0          0   Performance monitoring interrupts
IWI:        612        299        410          7   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:       7385       8439          2          0   Rescheduling interrupts
CAL:       2871       3192       1850       1849   Function call interrupts
TLB:         81         69          0          0   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          2          3          3          3   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
NPI:          0          0          0          0   Nested posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt wakeup event
situation next your script of network card:
 26:          0          0      39646       4301  IR-PCI-MSI 1572864-edge      enp3s0

Thanks for help !!!
  • tommylight
  • tommylight's Avatar
01 May 2025 11:24

Can someone explain how squaring is handled on dual motor linear axis?

Category: CNC Machines

Pictures?
LinuxCNC can do gantry squaring, so that is easy, but i have no idea what you mean by coupler there.
  • Shaypo
  • Shaypo
01 May 2025 11:24
Segmentation fault was created by Shaypo

Segmentation fault

Category: General LinuxCNC Questions

Hi folks,
I'm a hobby CNC enthusiast, working for a couple of years now with a self built CNC machine. My setup includes an old pc using a PCI card to connect via a parallel port to a 3axis tb6560 controller. my spindle is the 2.2KW with the HY VFD.
This setup worked perfectly until it didn't. For some reason every time I tried to open gmail the computer crashed completely (lost power all together). I decided to replace the USB stick holding the Linux installation with a new (and bigger) one.
I have successfully (I think) installed the rtai kernel and linuxcnc, the old issue was resolved, my latency test looks great and I can control the motors while in the Stepconf Wizard.
The Problem is after I finish setting the configuration and trying to open the launch icon, first I get a message that it is not .exe. when I hit launch anyway is shows the linuxcnc logo as aspects and then crashes with the attached report.

I would appreciate any help on the subject, I already wasted crazy amouny of time trying to get my setup running.
Thanks.
 
Displaying 16786 - 16791 out of 16791 results.
Time to create page: 1.388 seconds
Powered by Kunena Forum