Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
11 Jun 2025 12:34

ERROR joint 1 following error and command (EMC_TASK_PLAN_RUN) cannot be executed

Category: General LinuxCNC Questions

Move the motors by hand while LinuxCNC is running but not enabled, do the numbers on screen (Gremlin) change?
  • meister
  • meister
11 Jun 2025 12:32

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

Category: Computers and Hardware

if you have two (or more :) ) Tangnano, you can try it, you need the 'dev' branch and
2 free pins on each tangnano (RX / TX).
For short distance, you connect this pins direct (RX<->TX) or using RS485/RS422 converter for long distance.
  • tommylight
  • tommylight's Avatar
11 Jun 2025 12:32
Replied by tommylight on topic Latency Issues - Histogram Shape

Latency Issues - Histogram Shape

Category: Installing LinuxCNC

Rod, he has huge excursions on both sides of the graph, those are not shown unless using --show, and those are the ones causing latency errors and link drop.
  • epineh
  • epineh
11 Jun 2025 12:28

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

Category: Computers and Hardware

Look forward to seeing how that goes, Tang Nano's are about 30 bucks AUD, two of them are still cheaper than any FPGA with a similar total pincount. I'm being selfish but that also means I stick with the same FPGA hardware for every machine I can possibly imagine making. 

Let me know if I can help with testing, I'm currently retrofitting my three machines to closed loop to the controller, so there's room for some hardware experimentation. 
  • rodw
  • rodw's Avatar
11 Jun 2025 12:25
Replied by rodw on topic Career in LinuxCNC/machine building

Career in LinuxCNC/machine building

Category: Off Topic and Test Posts

A broader opportunity could be to try and get involved in plant automation. This will get you using a lot of fieldbus technology like ethercat which is transferrable to CNC machines which are only a very small subset of this automation industry. 
  • rodw
  • rodw's Avatar
11 Jun 2025 12:16
Replied by rodw on topic Pentium J2900 fanless pc test results

Pentium J2900 fanless pc test results

Category: Computers and Hardware

Removing the Wifi board is probably good for latency.
The DKMS driver can usually be installed with 

sudo apt install r8168-dkms
but you do need to have non-free in the apt sources. This is included in the Linuxcnc ISO
  • rodw
  • rodw's Avatar
11 Jun 2025 12:10

Raspberry Pi Kernel recompile for waveshare 1Gbit Network interface

Category: Computers and Hardware

Seems the card uses a R8168 interface. The R8168 requires a DKMS driver to get acceptable RT  performance. Not sure how that goes with a Pi. I would not use it for ethercat but would be fine for general network use.
  • rodw
  • rodw's Avatar
11 Jun 2025 11:57
Replied by rodw on topic Latency Issues - Histogram Shape

Latency Issues - Histogram Shape

Category: Installing LinuxCNC

Sometimes the shape is because of the number of sbins samples. You have 20 mand most use 1000

try
latency-histogram --nobase --sbins 1000

My observation is that Ethercat is faster than Mesa hm2eth. 90 usec will be fine If your pings are good
  • mario0701
  • mario0701
11 Jun 2025 11:54

ERROR joint 1 following error and command (EMC_TASK_PLAN_RUN) cannot be executed

Category: General LinuxCNC Questions

Problem with "Joint 0 Tracking Error" and Real-Time Delay: Resolver-Based System

System:

LinuxCNC with PID control

Resolver-based feedback (no encoders)

3-axis machine (X, Y, Z)

The HAL/INI structure includes: Ibarmia core servo.hal, Ibarmia MotencMotion.hal, motenc.ini, etc.

Main Problem:

When attempting to move any axis (especially the X axis), I immediately receive the following critical errors:

Joint 0 Tracking Error

The axis does not move, and the error appears as soon as I attempt to move it, regardless of the velocity or acceleration settings.

Measures already taken:

Latency Test

Maximum jitter on the base thread: around 16,600 ns

Increased the BASE_PERIOD value from 50,000 to 100,000 to reduce RTAPI errors.

INI Tweaks

Reduced the MAX SPEED and MAX ACCELERATION values ​​on [TRAJ] and [AXIS_0] to very conservative values:
MAX SPEED = 5.0
MAX ACCELERATION = 300.0
FERROR = 100
MINIMUM FERROR = 10

It appears to boot, but after 10 seconds, it fails.
  • rodw
  • rodw's Avatar
11 Jun 2025 11:41
Replied by rodw on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Try 2.4 GHz. 5 GHz is not as reliable in an industrial setting and has much shorter range. I turned off all my 5G wifi

Failing that use a wifi USB dongle that has an external antenna and get a SMA bulkhead mount cable to extend it outside of the cabinet
  • tommylight
  • tommylight's Avatar
  • electrosteam
  • electrosteam
11 Jun 2025 09:43
WiFi Problem on Raspberry Pi was created by electrosteam

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Raspberry Pi 4B 4GB has operated a very conventional x,y,z mill with a Mesa 7i96 for a couple of years.
WiFi never worked and has been a back-burner issue for a year or more.

Two cubicles:
 - Power: VFD, stepper supply, general supplies, AC/DC relays,
 - Electronics: RPi, stepper drivers, DC relays, power supplies,
     - minimal 240VAC cabling for power supplies, monitor.
 Monitor, keyboard and mouse cabled.

WiFi-Extender for workshop 4m from RPi.
Test set-up on workshop bench 6m from Extender.
Bench desktop ethernet cabled to extender, has always had reliable WiFi.

I have two RPi; 4GB and 8GB.
The 4GB is currently LC2.9.2, and I downloaded LC2.9.4 recently to a separate SD card.

Investigated:
 - both 4GB and 8GB operate WiFi with either L2.9.2 or LC2.9.4 on the bench no problem,
 - confirmed linked to the Extender by switching it Off (house WiFi 5G is at -70dBm),
 - both operated with Mesa card Off,
 - both fail to launch WiFi in electronic cubicle when mounted or hung in free space.

Also:
 - both have identical (as close as I can tell) WiFi set-up,
 - both detect the Extender and show signal level at -40dBm,
 - both fail to scan for ssid using menu-config in LC2.9.4,
 - both respond to "iw dev wlan0 scan" with response for Extender at -40dBm.

Note: test in cubicle has all non-essential supplies Off: VFD, steppers, Mesa, general control,
nothing else in workshop energised, other than air conditioner and desktop.

Need suggestions on which stone to turn over next.
John.
  • aDm1N
  • aDm1N's Avatar
11 Jun 2025 09:42
Modbus T3D Servo Treiber was created by aDm1N

Modbus T3D Servo Treiber

Category: Deutsch

Hat zufällig jemand erfahrung mit Modbus beim T3D Servotreiber?

Ich habe ein kleines testprogramm, aber ich bekomme keine unterschiedlichen geschwindigkeiten hin. es wird immer die Drehzahl aus Parameter P-076 ( Jog Geschwindigkeit) genommen.

Anbei die Anleitungen die ich vom Verkäufer bekommen habe und mein Demo Programm.

 

File Attachment:

File Name: modbus_servo_demo.py
File Size:4 KB

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


 
  • DMNZ
  • DMNZ
11 Jun 2025 08:40

Pentium J2900 fanless pc test results

Category: Computers and Hardware

Hi Guys,

greetings from New Zealand. First post please don't judge too harsh.

Wanted to share some results of my experiments with a cheap fanless pc i got from AliExpress for 89usd including shipping.

Don't know the seller just chose the cheapest. 

Specs: Pentium J2900 4 cores, 2 Lan ports, 4Gb Ram, 128GB SSD, Wifi. 
Mesa board: 7i96s

Used standart 2.9.4 Debian 12 Preempt-rt ISO with 6.1.0-30-rt-amd64 #1 SMP PREEMPT_RT kernel.

List of changes i made:

1. Physically removed internal Wifi board. (plan to use usb dongle)

2. Disabled everything in BIOS.

3. Network is Realtek so had to replace the driver. 

Included r8169 driver is a big no no, so here is what i did:
  •     deleted all r8169 related ko files from /lib/modules/6.1.0-30-rt-amd64/kernel/drivers/net/ethernet/realtek (there were 3)
  •     Since this machine is not connected to the network i compiled r8168.ko using dkms in a VM with the same kernel and copied this one file to the above folder.
  •     ran sudo depmod to refresh the tree.

4. Kernel adjustments are all in /etc/default/grub
    
    GRUB_CMDLINE_LINUX="irqaffinity=0-1 kthread_cpus=0-1 isolcpus=domain,managed_irq,2-3 rcu_nocb_pol pcie_aspm=off r8168.aspm=0 r8168.eee_enable=0 modprobe.blacklist=r8169,mei_txe"

5. changed /etc/lightdm/lightdm.conf for autologin - autologin-user=dm


the results with latency, pings and temperature are attached.


PS. I did see some occasional single pings over 1ms, very rare, may be one in an hour or even less. interestingly there are no requests in 0.5-1 range, it stays well under 0.5ms and then has 1.2-1.5 ms or so just for a single request. Could be just noise. I suspect the no name SSD does not help, but at this point don't see the need for upgrade.  Will update if this will get worse or cause any troubles in real use. 

Cheers,
DM
  • beauxnez
  • beauxnez
11 Jun 2025 08:09

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

tommylight post=330048 identifiant utilisateur=17274Capture d'écran ?


I'm traveling, do you want a screenshot of the network configuration?

Displaying 13246 - 13260 out of 17623 results.
Time to create page: 0.907 seconds
Powered by Kunena Forum