Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
03 Sep 2025 08:09 - 03 Sep 2025 08:14
Replied by Hakan on topic AMSAMOTION IO module

AMSAMOTION IO module

Category: EtherCAT

Check the output of "sudo dmesg" after you do  "sudo systemctl restart ethercat" for clues.
  • Hakan
  • Hakan
03 Sep 2025 08:07
Replied by Hakan on topic orient spindle with ethercat EL5101

orient spindle with ethercat EL5101

Category: EtherCAT

Could not fully follow it, but it looks like you give speed to the analog output in the spindle speed case as it should be.
But you give position to the analog output in the spindle orient case - which is wrong, should always be speed.
Worthwhile checking anyway.
  • Kuzma30
  • Kuzma30
03 Sep 2025 08:01
Replied by Kuzma30 on topic AMSAMOTION IO module

AMSAMOTION IO module

Category: EtherCAT

I have not UEFI and enp2s0 is UP
cnc@cnc:~$ sudo mokutil --sb-state
EFI variables are not supported on this system
cnc@cnc:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 78:45:c4:23:9f:86 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.100/24 brd 192.168.0.255 scope global noprefixroute enp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::7a45:c4ff:fe23:9f86/64 scope link 
       valid_lft forever preferred_lft forever
  • Kuzma30
  • Kuzma30
03 Sep 2025 07:57
Replied by Kuzma30 on topic AMSAMOTION IO module

AMSAMOTION IO module

Category: EtherCAT

cnc@cnc:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 78:45:c4:23:9f:86 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.100/24 brd 192.168.0.255 scope global noprefixroute enp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::7a45:c4ff:fe23:9f86/64 scope link 
       valid_lft forever preferred_lft forever
cnc@cnc:~$ lspci 
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
cnc@cnc:~$ cat /etc/ethercat.conf
#------------------------------------------------------------------------------
#
#  EtherCAT master configuration file for use with ethercatctl.
#
#  vim: spelllang=en spell tw=78
#
#------------------------------------------------------------------------------

#
# Main Ethernet devices.
#
# The MASTER<X>_DEVICE variable specifies the Ethernet device for a master
# with index 'X'.
#
# Specify the MAC address (hexadecimal with colons) of the Ethernet device to
# use. Example: "00:00:08:44:ab:66"
#
# Alternatively, a network interface name can be specified. The interface
# name will be resolved to a MAC address using the 'ip' command.
# Example: "eth0"
#
# The broadcast address "ff:ff:ff:ff:ff:ff" has a special meaning: It tells
# the master to accept the first device offered by any Ethernet driver.
#
# The MASTER<X>_DEVICE variables also determine, how many masters will be
# created: A non-empty variable MASTER0_DEVICE will create one master, adding a
# non-empty variable MASTER1_DEVICE will create a second master, and so on.
#
# Examples:
# MASTER0_DEVICE="00:00:08:44:ab:66"
# MASTER0_DEVICE="eth0"
#
MASTER0_DEVICE="enp2s0"
#DEVICE_MODULES="generic"
#MASTER1_DEVICE=""

#
# Backup Ethernet devices
#
# The MASTER<X>_BACKUP variables specify the devices used for redundancy. They
# behaves nearly the same as the MASTER<X>_DEVICE variable, except that it
# does not interpret the ff:ff:ff:ff:ff:ff address.
#
#MASTER0_BACKUP=""

#
# Ethernet driver modules to use for EtherCAT operation.
#
# Specify a non-empty list of Ethernet drivers, that shall be used for
# EtherCAT operation.
#
# Except for the generic Ethernet driver module, the init script will try to
# unload the usual Ethernet driver modules in the list and replace them with
# the EtherCAT-capable ones. If a certain (EtherCAT-capable) driver is not
# found, a warning will appear.
#
# Possible values: 8139too, e100, e1000, e1000e, r8169, generic, ccat, igb, igc, genet, dwmac-intel, stmmac-pci.
# Separate multiple drivers with spaces.
# A list of all matching kernel versions can be found here:
# https://docs.etherlab.org/ethercat/1.6/doxygen/devicedrivers.html
#
# Note: The e100, e1000, e1000e, r8169, ccat, igb and igc drivers are not built by
# default. Enable them with the --enable-<driver> configure switches.
#
DEVICE_MODULES=""

# If you have any issues about network interfaces not being configured
# properly, systemd may need some additional infos about your setup.
# Have a look at the service file, you'll find some details there.
#

#
# List of interfaces to bring up and down automatically.
#
# Specify a space-separated list of interface names (such as eth0 or
# enp0s1) that shall be brought up on `ethercatctl start` and down on
# `ethercatctl stop`.
#
# When using the generic driver, the corresponding Ethernet device has to be
# activated before the master is started, otherwise all frames will time out.
# This the perfect use-case for `UPDOWN_INTERFACES`.
#
UPDOWN_INTERFACES=""

#
# Flags for loading kernel modules.
#
# This can usually be left empty. Adjust this variable, if you have problems
# with module loading.
#
#MODPROBE_FLAGS="-b"

#------------------------------------------------------------------------------
  • Hakan
  • Hakan
03 Sep 2025 07:46
Replied by Hakan on topic Fresh start with linuxCNC and Ethercat

Fresh start with linuxCNC and Ethercat

Category: General LinuxCNC Questions

Definitely an Intel network card for EtherCAT.
For one of the Qt interfaces I would not select the slowest computer around.
  • Hakan
  • Hakan
03 Sep 2025 07:42
Replied by Hakan on topic AMSAMOTION IO module

AMSAMOTION IO module

Category: EtherCAT

The Ethercat server appears to be working but cannot connect to the network interface.
You should see something like this
debian@plasma:~$ ethercat master
Master0
  Phase: Idle
  Active: no
  Slaves: 4
  Ethernet devices:
    Main: c4:62:37:06:66:54 (attached)
      Link: UP
Look out for "(attached)" and "Link: UP"

There are several possible reason
- wrong module name or mac address in /etc/ethercat.conf
- network interface is not "up"
- your system uses secure boot, UEFI, ethercat kernel modules can not be loaded. Check some 15 lines down in "sticky", the spoiler section.


 
  • alexscott
  • alexscott
03 Sep 2025 06:40
Replied by alexscott on topic Fresh start with linuxCNC and Ethercat

Fresh start with linuxCNC and Ethercat

Category: General LinuxCNC Questions

Hey !
I'm building a cnc mill with a german FS4GM epoxy granite gantry and a Spinogy X22 spindle. It's a small but rigid setup that I'd Iike to control with 400W servos, LinuxCNC and EtherCat.
Since I only ordered the mechanical parts+spindle, I still can avoid some problems (ie latency issues) by choosing the right slope game things on the electronic/control/computer side. Hence this newbie message : 
What servo/drivers/computer/other things-I-still-don't-know-about would you go if you had to get them again ?

Cheers,
Flo

The FS4GM gantry with the Spinogy spindle should give you a very rigid platform. Since you’re still in the planning stage, it’s smart to think about the control side early.
  • Artur_1617
  • Artur_1617's Avatar
03 Sep 2025 05:11
Mpg stop working was created by Artur_1617

Mpg stop working

Category: AXIS

Hi,
I have problem with Mpg.
Mpg working when I start linuxcnc, But in some moment after start stop working.
I think this start when my setup start to use A axis...
Any suggestion what could happened?
  • unknown
  • unknown
03 Sep 2025 04:43
Replied by unknown on topic Program cnc linux

Program cnc linux

Category: Milling Machines

It's very hard to diagnose with the little information provided. At the very least a picture of what you are trying to machine and the gcode would be a good start.

I know you maybe very frustrated and maybe English is not your first language but you will have to provide more information.

Is this the only job you are having issues with ?
  • cmorley
  • cmorley
03 Sep 2025 04:18

Questions about "Auto Zero" in QT_Dragon_HD probe tab.

Category: General LinuxCNC Questions

I pushed a change to 2.9 and master so the button state is recorded in the preference file.
Versa probe is based on the original Vers probe routines, which allowed those options.
  • wankoran
  • wankoran
03 Sep 2025 03:28

Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System

Category: EtherCAT

In addition, I also found that when using debian12 and ethercat1.6, some drives, such as copley, will directly enter op mode after the computer is turned on, regardless of whether linuxcnc is turned on or not.
  • wankoran
  • wankoran
03 Sep 2025 03:25

Issue with OP Entry Delay and Failures in LinuxCNC + EtherCAT System

Category: EtherCAT

I also encountered exactly the same problem. With the same hardware, the only differences were debian10+ethercat1.5 and debian12+ethercat1.6
  • 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
Displaying 9241 - 9255 out of 17977 results.
Time to create page: 0.383 seconds
Powered by Kunena Forum