Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
08 Oct 2025 19:03
Replied by PCW on topic Stepper Motor Speed is too slow

Stepper Motor Speed is too slow

Category: Basic Configuration

Can you post your complete hal/ini files, or al least the joint sections of both?

 
  • Aciera
  • Aciera's Avatar
08 Oct 2025 19:01 - 08 Oct 2025 19:01
Replied by Aciera on topic REMAP=M6 modalgroup=6 python=atc_toolchange

REMAP=M6 modalgroup=6 python=atc_toolchange

Category: Advanced Configuration

Have you started your config from a terminal to check for errors in the terminal output?

$ linuxcnc


Also some of your remap code looks a bit odd (eg. 'linuxcnc.INTERP_OK)
You might want to have a look at some examples:
github.com/LinuxCNC/linuxcnc/blob/master...rted/python/remap.py
  • richcolvin
  • richcolvin's Avatar
08 Oct 2025 18:59 - 08 Oct 2025 19:00
Stepper Motor Speed is too slow was created by richcolvin

Stepper Motor Speed is too slow

Category: Basic Configuration

I am at a loss.  I cannot get the stepper motors on my axes to run at the speeds they are set to run.  The axis seems to run at 0.0001 in/sec, not 10 in/sec.

I have them hooked to Stepper Online DM542T drivers, so these are the values in the INI file.
# For the DM542T, these are 5 μs = 5,000 ns
DIRHOLD              = 5000
DIRSETUP             = 5000
# For the DM542T, these are 2.5 μs = 2,500 ns
STEPLEN                = 2500
STEPSPACE            = 2500

The DM542Ts are set to use 6,400 pulses / rev, and the leadscrew moves 8 mm per revolution.  Thusly, I set the STEP_SCALE and ENCODER_SCALE using this calculation
  • STEP_SCALE = 6,400 step/rev  x 1 rev / 8 mm  x  25.4 mm / in 
    • STEP_SCALE = 20,320 steps/in

      For [AXIS_l] 
      TYPE                            = LINEAR
      MAX_VELOCITY         = 10.0

      For [JOINT_#], 
      TYPE                            = LINEAR
      UNITS                          = INCH
      ENCODER_SCALE       = 20320
      STEP_SCALE               = 20320
      MAX_VELOCITY          = 10.0
      STEPGEN_MAXVEL    = 12.50


      Please help me understand what I am missing.
  • meister
  • meister
08 Oct 2025 18:49 - 08 Oct 2025 18:51
Replied by meister on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

to make the NVME working on the original linuxcnc rpi image,
i need to add this options to /boot/broadcom/cmdline.txt:
nvme_core.default_ps_max_latency_us=0 pcie_aspm=off


cnc@raspberrypi:~$ cat /boot/broadcom/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=a27d77aa-02 rootfstype=ext4 fsck.repair=yes loglevel=5 nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off net.ifnames=0 processor.max_cstate=1 isolcpus=2,3 firmware_class.path=/lib/firmware/updates/brcm rootwait

the 2nd ethernet-port works out of the box (eth1)
i used this for the normal network and eth0 for the FPGA connection:
cnc@raspberrypi:~$ cat /etc/network/interfaces
# Interfaces
source /etc/network/interfaces.d/*

# Loopback network interface
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
    address 192.168.11.11
    netmask 255.255.255.0
    hardware-irq-coalesce-rx-usecs 0

auto eth1
iface eth1 inet dhcp
  • Doc_emmet
  • Doc_emmet
08 Oct 2025 18:24 - 08 Oct 2025 18:32
Replied by Doc_emmet on topic REMAP=M6 modalgroup=6 python=atc_toolchange

REMAP=M6 modalgroup=6 python=atc_toolchange

Category: Advanced Configuration

Hello, yes QtDragon, Linuxcnc is running without any problems. However, as soon as I insert the line REMAP=M6 modalgroup=6 python=atc_toolchange, Linuxcnc starts with a significant delay, then displays the error message "Hard Limits Are Reset To Active!" and I can't even use it. I call this test program with M6:

import linuxcnc
import time

def atc_toolchange(**words):

s = linuxcnc.stat()

if not all(axis.homed for axis in s.axis[:3]): # XYZ
return linuxcnc.INTERP_OK

c = linuxcnc.command()
c.mdi("G53 G0 Z100")

while s.interp_state != linuxcnc.INTERP_IDLE:
s.poll()
time.sleep(0.05)

return linuxcnc.INTERP_OK

Thank you very much for your effort.
  • PCW
  • PCW's Avatar
08 Oct 2025 17:55
Replied by PCW on topic Set GPIOś via Halshow

Set GPIOś via Halshow

Category: HAL

--sserial does not work with --readhmid

It also does not list pins, if you want that you need to run LinuxCNC
 
  • endian
  • endian's Avatar
08 Oct 2025 17:52
Replied by endian on topic Important EtherCAT configuration option

Important EtherCAT configuration option

Category: EtherCAT

maybe if u have EoE active .. turn it off .. I creates mess on the bus...
  • meister
  • meister
08 Oct 2025 16:27
Replied by meister on topic Tipps für aktuelle LinuxCNC Hardware gesucht

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Könnt ihr mal damit aufhören, frechheit ist das !

erst fängt Tom im chat an vom RPI5 zu schwärmen, nun kommst du mit günstigen Mesa-Karten....

nun will ich natürlich auch mal so eine mal testen ;P
Ihr macht mich arm :( ach ne bin ich schon, schei... drauf.
  • DerKlotz
  • DerKlotz
08 Oct 2025 16:12
Replied by DerKlotz on topic Set GPIOś via Halshow

Set GPIOś via Halshow

Category: HAL

Hmm, it looks the same if i add --sserial
  • meister
  • meister
08 Oct 2025 16:12 - 08 Oct 2025 16:14
Replied by meister on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I now have my RPI5, just as it should be.

 
  • PCW
  • PCW's Avatar
08 Oct 2025 16:09
Replied by PCW on topic Set GPIOś via Halshow

Set GPIOś via Halshow

Category: HAL

That's correct, mesaflash does not show sserial devices unless you add the --sserial command line option
  • DerKlotz
  • DerKlotz
08 Oct 2025 16:05
Replied by DerKlotz on topic Set GPIOś via Halshow

Set GPIOś via Halshow

Category: HAL

In the editor i just did a mesaflash --device 7i76e --addr 10.10.10.10 --readhmid... there is just TB2/TB3, P1 and P2 visible. No TB4, 5 and 6. Somewhere there the mistake? What to do?
  • PCW
  • PCW's Avatar
08 Oct 2025 15:47
Replied by PCW on topic Set GPIOś via Halshow

Set GPIOś via Halshow

Category: HAL

That  should work, if LinuxCNC is running and there have been no watchdog or other faults.

 
  • Aciera
  • Aciera's Avatar
08 Oct 2025 15:26
Replied by Aciera on topic REMAP=M6 modalgroup=6 python=atc_toolchange

REMAP=M6 modalgroup=6 python=atc_toolchange

Category: Advanced Configuration

I think that is just a GUI message (qtDragon?). What makes you think it is due to your remap?
  • DerKlotz
  • DerKlotz
08 Oct 2025 15:22
Set GPIOś via Halshow was created by DerKlotz

Set GPIOś via Halshow

Category: HAL

Hello,
As a German beginner, I am currently trying to get my Mesa7i76e up and running.
I have connected three relays to pins 17, 18, and 19 and would like to control them via Halshow. When I connect a relay directly to 24V, it activates.
In Halshow, I would say that I have set the correct pins via Set. However, no output is switched. I can switch the yellow indicator in Halshow on and off.
I hope you can help. Thank you.

Translated with DeepL.com (free version)
Displaying 9031 - 9045 out of 16970 results.
Time to create page: 0.445 seconds
Powered by Kunena Forum