Advanced Search

Search Results (Searched for: )

  • Cooped-Up
  • Cooped-Up
08 Oct 2025 23:30
Replied by Cooped-Up on topic Maho MH800e Retrofit Project

Maho MH800e Retrofit Project

Category: Milling Machines

ok here are my files and the reference file for the mh400e which was made about 5 or more years ago I think. I made a bunch of configs so I am sorry the name is the default I need to change it. again I think this is mostly working now short of a few bugs I need to test some things out and move towards wiring things to the mill
  • Doc_emmet
  • Doc_emmet
08 Oct 2025 22:31
Replied by Doc_emmet on topic REMAP=M6 modalgroup=6 python=atc_toolchange

REMAP=M6 modalgroup=6 python=atc_toolchange

Category: Advanced Configuration

Can you create a small Python file (as simple as possible) that when I call it via REMAP = M6 modalgroup=6 python=remap_m6 , for example, only moves the Z-axis by 10mm
  • Joco
  • Joco's Avatar
08 Oct 2025 21:16
Replied by Joco on topic User interface

User interface

Category: General LinuxCNC Questions

Just to follow on from Rod's comment.

Many of the UIs that are visually modern/graphical expect a 1080p display.  For example ProbeBasic imust have 1080p or larger.  The upside is a lot on a single screen at once. The more "original" or "old school" UIs expact much less with a 720p display being very roomy for them.

Re the comments on starting with Axis.  I would second that approach VERY strongly.   You will save youself a huge amount of potential frustration by having a working machine under Axis as your baseline.  That way when moving to another UI and you have issues you can better pin point where things are falling down when you KNOW you have a working Axis config.
  • PCW
  • PCW's Avatar
08 Oct 2025 21:11
Replied by PCW on topic Stepper Motor Speed is too slow

Stepper Motor Speed is too slow

Category: Basic Configuration

Yes, 8mm/turn = 3.175 turns per inch so ~1900 RPM at 10 IPS
which is at the edge of stepper capability (at least with usable torque)

Perhaps the OP does not know that the hal/ini velocity settings are
in machine units (inch in this case)  per second rather the minute
 
  • Doc_emmet
  • Doc_emmet
08 Oct 2025 20:51
Replied by Doc_emmet on topic REMAP=M6 modalgroup=6 python=atc_toolchange

REMAP=M6 modalgroup=6 python=atc_toolchange

Category: Advanced Configuration

this is my new test file remap_m6:

#!/usr/bin/env python3
from interpreter import INTERP_OK, INTERP_EXECUTE_FINISH, INTERP_ERROR

print(">>> remap_m6.py wird geladen <<<")

def remap_m6(self, **words):
try:
tool_number = words.get('t', 1)
print(f">>> M6 Werkzeugwechsel aufgerufen: T{tool_number} <<<")
# Sofort fertig melden
yield INTERP_EXECUTE_FINISH
except Exception as e:
print("Fehler in remap_m6:", e)
yield INTERP_ERROR

yield INTERP_OK

But this is supposedly not executable?

'remap_m6' is not a Python callable function - 49:REMAP = M6 modalgroup=6 python=remap_m6

I've already made some Python scripts that work, so why is it so different when called with M6?
  • meister
  • meister
08 Oct 2025 20:47
Replied by meister on topic Stepper Motor Speed is too slow

Stepper Motor Speed is too slow

Category: Basic Configuration

If I calculate it right, that's >15m/min

I think it's not possible to reach this speed with steppers
  • PCW
  • PCW's Avatar
08 Oct 2025 20:40 - 08 Oct 2025 20:43
Replied by PCW on topic Stepper Motor Speed is too slow

Stepper Motor Speed is too slow

Category: Basic Configuration

The PID setup is missing key values so I would not think you would get
any motion, for example X:

#****************************
# AXIS X JOINT 0 CHANNEL 02
#****************************
setp pid.x.FF1 1
setp pid.x.Pgain 1000

setp pid.x.error-previous-target true
setp pid.x.maxerror 0.000500
net x-index-enable => pid.x.index-enable
net x-enable => pid.x.enable
net x-pos-cmd => pid.x.command
net x-pos-fb => pid.x.feedback
net x-output <= pid.x.output

 
  • rodw
  • rodw's Avatar
08 Oct 2025 19:32
Replied by rodw on topic User interface

User interface

Category: General LinuxCNC Questions

Always get your machine working fully on axis first, then consider converting to a more modern interface. With say qrdragon, there are quite a lott of additional pins to connect to the GUI to enable every feature but you need to be confident the basics (from axis) are working... Be aware of screen size  limitations. I had to buy another monitor for QTD...
  • richcolvin
  • richcolvin's Avatar
08 Oct 2025 19:20
Replied by richcolvin on topic Stepper Motor Speed is too slow

Stepper Motor Speed is too slow

Category: Basic Configuration

These are the files.  The .INC files were renamed to be .INI so that they could be attached.

I've attached one spindle file:  that one and the one for Spindle1 all work exactly as expected.

I also attached only two of the axis files:  U & Y (due to the file limit).
  • 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
 
Displaying 91 - 105 out of 22968 results.
Time to create page: 0.203 seconds
Powered by Kunena Forum