Advanced Search

Search Results (Searched for: )

  • JohnnyCNC
  • JohnnyCNC's Avatar
03 Sep 2025 03:16

Questions about "Auto Zero" in QT_Dragon_HD probe tab.

Category: General LinuxCNC Questions

I'm using 2.9.4.

When the Z is off, It is usually off by a half inch or so. It all depends on what I was doing the last time I remembered to turn auto zero on.

John
  • Gusgus
  • Gusgus
03 Sep 2025 03:10

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Hi Scotta! Thank you for all the help and being so patient with us.
We have wired all of the enabels to one single enable since that enables the whole machine for simplicity's sake.

We have tested what you suggested and we now get enable and move the axis, the issue now, is that we can't move them for long. Not even a second, in the best cases just a second. We attempted to decrease the accelerations even further and increase the f error to 2 and 5 which also didn't really help, we also tested decreasing the SPI frequency to 1MHz and changed the STEPGEN_MAXACCEL to 1000; whilst keeping the 25% acceleration buffer from the max acceleration to the stepgen.

remora-xyz.ini:
# Basic LinuxCNC config for testing of Remora firmware

[EMC]
MACHINE = Remora-XYZ
DEBUG = 0
VERSION = 1.1

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 28.7
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 28.7
DEFAULT_ANGULAR_VELOCITY = 28.7
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 28.7
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = ~/linuxcnc/nc_files
INCREMENTS = 50mm 10mm 5mm 1mm .5mm .1mm .05mm .01mm

[KINS]
JOINTS = 3
#KINEMATICS =trivkins coordinates=XYZ kinstype=BOTH
KINEMATICS =trivkins coordinates=XYZ

[FILTER]
PROGRAM_EXTENSION = .py Python Script
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = linuxcnc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 0
SERVO_PERIOD = 5000000

[HAL]
HALFILE = remora-xyz.hal
POSTGUI_HALFILE = postgui_call_list.hal

[TRAJ]
COORDINATES =  X Y Z 
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_LINEAR_VELOCITY = 4.17
MAX_LINEAR_VELOCITY = 28.7
NO_FORCE_HOMING = 1 

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

#*** AXIS_X *******************************
[AXIS_X]
MAX_VELOCITY = 28.7
MAX_ACCELERATION = 287.0
MIN_LIMIT = -0.001
MAX_LIMIT = 1080.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.001
MAX_LIMIT = 1080.0
MAX_VELOCITY = 28.7
MAX_ACCELERATION = 287.0
STEPGEN_MAXACCEL = 1000.0
SCALE = 100.0
FERROR = 5.0
MIN_FERROR = 5.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -45.000000
HOME_LATCH_VEL = -2.500000
HOME_SEQUENCE = 1
#******************************************


#*** AXIS_Y *******************************
[AXIS_Y]
MAX_VELOCITY = 28.7
MAX_ACCELERATION = 287.0
MIN_LIMIT = -0.001
MAX_LIMIT = 950.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.001
MAX_LIMIT = 950.0
MAX_VELOCITY = 28.7
MAX_ACCELERATION = 287.0
STEPGEN_MAXACCEL = 1000.0
SCALE = 100.0
FERROR = 5.0
MIN_FERROR = 5.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -45.000000
HOME_LATCH_VEL = 2.500000
HOME_SEQUENCE = 2
#******************************************


#*** AXIS_Z *******************************
[AXIS_Z]
MAX_VELOCITY = 20.0
MAX_ACCELERATION = 150.0
MIN_LIMIT = -125.0
MAX_LIMIT = 0.001

[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -125.0
MAX_LIMIT = 0.001
MAX_VELOCITY = 20
MAX_ACCELERATION = 150.0
STEPGEN_MAXACCEL = 187.5
SCALE = 800.0
FERROR = 5.0
MIN_FERROR = 5.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 15.000000
HOME_LATCH_VEL = 0.625000
HOME_SEQUENCE = 0
#******************************************


remora-xyz.hal:
# load the realtime components

        loadrt [KINS]KINEMATICS
        loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]J$

        loadrt remora-spi SPI_clk_div=32 SPI_num=0 CS_num=0 SPI_freq=1000000
        #loadrt remora_lpc chip_type=LPC SPI_clk_div=64


# estop loopback, SPI comms enable and feedback
        net user-enable-out     <= iocontrol.0.user-enable-out          => remora.SPI-enable
        net user-request-enable <= iocontrol.0.user-request-enable      => remora.SPI-reset
        net remora-status       <= remora.SPI-status                    => iocontrol.0.emc-enable-in


# add the remora and motion functions to threads

        addf remora.read servo-thread
        addf motion-command-handler servo-thread
        addf motion-controller servo-thread
        addf remora.update-freq servo-thread
        addf remora.write servo-thread


# Joint 0 setup

        setp remora.joint.0.scale               [JOINT_0]SCALE
        setp remora.joint.0.maxaccel    [JOINT_0]STEPGEN_MAXACCEL

        net xpos-cmd            <= joint.0.motor-pos-cmd        => remora.joint.0.pos-cmd
        net j0pos-fb            <= remora.joint.0.pos-fb        => joint.0.motor-pos-fb
        net j0enable            <= joint.0.amp-enable-out       => remora.joint.0.enable


# Joint 1 setup

        setp remora.joint.1.scale               [JOINT_1]SCALE
        setp remora.joint.1.maxaccel    [JOINT_1]STEPGEN_MAXACCEL

        net j1pos-cmd           <= joint.1.motor-pos-cmd        => remora.joint.1.pos-cmd
        net j1pos-fb            <= remora.joint.1.pos-fb        => joint.1.motor-pos-fb
        net j1enable            <= joint.1.amp-enable-out       => remora.joint.1.enable


# Joint 2 setup

        setp remora.joint.2.scale               [JOINT_2]SCALE
        setp remora.joint.2.maxaccel    [JOINT_2]STEPGEN_MAXACCEL

        net j2pos-cmd           <= joint.2.motor-pos-cmd        => remora.joint.2.pos-cmd
        net j2pos-fb            <= remora.joint.2.pos-fb        => joint.2.motor-pos-fb
        net j2enable            <= joint.2.amp-enable-out       => remora.joint.2.enable

# inputs
        #endstops
        net X-min remora.input.01 => joint.0.home-sw-in
        net Y-min remora.input.00 => joint.1.home-sw-in
        net Z-min remora.input.02 => joint.2.home-sw-in




This is our current setup

the config.txt remains unchanged
  • bridges67
  • bridges67
03 Sep 2025 03:03
Program cnc linux was created by bridges67

Program cnc linux

Category: Milling Machines

I created a program in Fusion 360 and everything looks right on screen using the linux post, also looks right on linux cnc screen loaded program, a big but, it machines rotated and flipped when machined and it is just tracing letters and numbers ! please tell me why.
  • emresensoy
  • emresensoy
03 Sep 2025 02:34
Replied by emresensoy on topic EtherCAT Incremental Encoder Interface Board

EtherCAT Incremental Encoder Interface Board

Category: Show Your Stuff

Also, on your website the manual is hosted by google drive.

You can store the PDF on your website, or on GitHub, or Cloudflare Pages.

Something about Google Drive just does not inspire confidence; no clue why though.

google drive is my harddrive, its very easy to update, revise or edit the document,
I suggest to you to use it:)
github or cloudflare is somewhere far away from my computer,
  • emresensoy
  • emresensoy
03 Sep 2025 02:25
Replied by emresensoy on topic EtherCAT Incremental Encoder Interface Board

EtherCAT Incremental Encoder Interface Board

Category: Show Your Stuff

langdons post=334132 userid=41217What's with the resistor reaching across the board?

This board is first release, it will solve in next version,
 
  • rocket6delta
  • rocket6delta
03 Sep 2025 00:34
Replied by rocket6delta on topic Set Tool Touch Off Pos

Set Tool Touch Off Pos

Category: QtPyVCP

Probe Basic.

Yes all axis was homed.

I jogged down the spindle to tap the touch plate. Tried pressing the button but no response.
  • PCW
  • PCW's Avatar
02 Sep 2025 23:17
Replied by PCW on topic Mesa 7I76eu with linuxcnc 2.8.2

Mesa 7I76eu with linuxcnc 2.8.2

Category: Driver Boards

A 7I76EU should work on any system that supports a 7I76E.

Older (Pre-7I76EU) versions of LinuxCNC will complain about
an unrecognized card, but this does not affect operation.

 
  • JiKr
  • JiKr
02 Sep 2025 23:12
Mesa 7I76eu with linuxcnc 2.8.2 was created by JiKr

Mesa 7I76eu with linuxcnc 2.8.2

Category: Driver Boards

Hi guys, is there any way to get a 7I76eu card working with linuxcnc 2.8.2? I need to replace a 7I76e card on an old pc where there are a lot of scripts in python 2.7... thanks for any advice
  • cmorley
  • cmorley
02 Sep 2025 22:58
  • tommylight
  • tommylight's Avatar
02 Sep 2025 22:51

Install works but the password entered will not work to log on. Please Help

Category: Installing LinuxCNC

1-check if the CapsLock is active
2-did you change the keyboard layout
3-mind the user name and password fields
4-do NOT enter password for ROOT if it asks, just skip to next step.
  • royka
  • royka
02 Sep 2025 21:55 - 02 Sep 2025 21:57
Replied by royka on topic Remora DMA Code in other Builds?

Remora DMA Code in other Builds?

Category: Computers and Hardware

I'm not a developer, but I'd say to use the code for the stm32f4x and use some AI magic to make a DMA stepgen.
  • TheTinkeringMechanic1
  • TheTinkeringMechanic1
02 Sep 2025 20:15
Lathe "pecking" on X? was created by TheTinkeringMechanic1

Lathe "pecking" on X?

Category: G&M Codes

I have attempted programming a g-code to do a pecking action on the x-axis. Since this is a lathe it does not have a y axis and I keep getting an error. 
Is there a G-Code for pecking on a lathe?

Thanks in advance.
  • mBender
  • mBender
02 Sep 2025 19:56

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Well, it's all working again. I increased the deadband from 0.001 to 0.01. Now it's also working on the old speed settings and with 2 microsteps.

Seems like there is still one question remaining:

What would be the ideal set up for a stepper motor with 5mm pitch ball screw and 1.8deg/step paird with a DM332T which can't go below 2 microsteps. Is there a setting which is ideal for this set up where linuxcnc positioned the machine on exactly a step/microstep?
  • Paul01
  • Paul01's Avatar
02 Sep 2025 19:45
Replied by Paul01 on topic Multi Axis Slow Feedrate

Multi Axis Slow Feedrate

Category: General LinuxCNC Questions

I did have a look through this a couple of days ago.

To me it seems like a very worthwhile use of time to get this up and running. I think it would be very valuable to anyone wanting to do multi axis work.

I'm unfortunately not that experienced with coding. However, this would be a huge benefit for me to get working, so I'm going to spend some more time going through it.
  • mBender
  • mBender
02 Sep 2025 19:28

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I tried to reduce the mircsteps from 16 to 4 and played around with speeds for homeing. I am able to home. This is now discovering the real issue.

When I manually move an axis of the machine sometime it stops. And sometimes it continues to move slowly. For example in X I see in the display that X is 0.00000 and jumps around to 0.006252 or so. I believe this has happened already and has something to do with the F error or F min or so.
Displaying 9256 - 9270 out of 17976 results.
Time to create page: 0.539 seconds
Powered by Kunena Forum