Advanced Search

Search Results (Searched for: )

  • jayyhu
  • jayyhu's Avatar
10 Mar 2025 20:06 - 10 Mar 2025 20:34

External comp driver for custom hostmot2 module

Category: HAL

Hello,
I'm currently in the process of creating a new module for the 7i80 FPGA, and realizing that I also need to add a driver on the LinuxCNC side. Since the module is pretty niche, I'm trying to avoid modifying the entire Hostmot2 driver (and then worry about having to maintain my local copy against master every time there's a version change), so I was wondering if it was possible to write a driver for Hostmot2 as an external comp. I've seen the mesa_7i65.comp and mesa_uart.comp examples, but I'm more interested in the low level register access (eg. how the inmux driver communicates with the inmux module on the FPGA).
Thanks,
James H.
  • rodw
  • rodw's Avatar
10 Mar 2025 19:56
  • rodw
  • rodw's Avatar
10 Mar 2025 19:53
Replied by rodw on topic QTplasmaC upgrade now huge latency

QTplasmaC upgrade now huge latency

Category: Computers and Hardware

I still use a Gigbyte Brix J1900 and its fine if you follow my Bookworm guide.
docs.google.com/document/d/1jeV_4VKzVmOI.../edit?usp=drive_link
You will have a Realtek NIC so be sure to install the dkms driver as I describe.
  • rodw
  • rodw's Avatar
10 Mar 2025 19:40

MBT -> GPT to reuse existing installation

Category: Installing LinuxCNC

Use a new SSD.
Bookworm is pretty good with UEFI but I think I would try installing Trixie to get any later enhancements now there is a beta ISO release
You should be able to install Linuxcnc with:
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
The dev package installs halcompile etc
 
  • workshop54
  • workshop54
10 Mar 2025 19:17 - 10 Mar 2025 19:18

Error when starting LinuxCNC: “undefined symbol: kinematicsSwitch”

Category: General LinuxCNC Questions

Thanks Todd,

It was actually much simpler. When watching the HAL tutorial from The Feral Engineer I noticed he had the following line at the top of his HAL file:
loadrt [KINS]KINEMATICS

That solved this issue for me.
  • PCW
  • PCW's Avatar
10 Mar 2025 18:52
Replied by PCW on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

What are the results of:

sudo chrt ping -i .001 -q -c 60000 10.10.10.10
(takes 1 minute)

and

lspci | grep -i eth

 
  • besriworld
  • besriworld
10 Mar 2025 17:34
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

I'm getting the error 5 times today.
joint 0 following error
Unexpected realtime delay on task 0 with period 1000000...
Could the delay be due to an electrical noise problem?

 
  • Aciera
  • Aciera's Avatar
10 Mar 2025 16:55
  • Aciera
  • Aciera's Avatar
10 Mar 2025 16:54
  • Todd Zuercher
  • Todd Zuercher's Avatar
10 Mar 2025 16:35
Replied by Todd Zuercher on topic QTplasmaC upgrade now huge latency

QTplasmaC upgrade now huge latency

Category: Computers and Hardware

The old Linuxcnc version would have been based on running a 32-bit version of Debian 7 (Wheezy) and depending on your hardware likely running the RTAI real time patched kernel. This worked well with many slower CPUs.

The latest versions of Linuxcnc's ISOs are based on 64-bit Debian 12 (Bookworm) and comes with a Preempt RT patched real time kernel. This system generally does not give good latency with slower CPUs. You may need to try to install an RTAI version. (I have not tried to get a current release of Linuxcnc running with RTAI so I can't be of much help there other than to point you to the documentation.)
linuxcnc.org/docs/stable/html/getting-st...#cha:Installing-RTAI
  • Todd Zuercher
  • Todd Zuercher's Avatar
10 Mar 2025 16:22 - 10 Mar 2025 16:24

Error when starting LinuxCNC: “undefined symbol: kinematicsSwitch”

Category: General LinuxCNC Questions

I think you might be missing some essential entries in the [TRAJ] section of your ini file and one that's there may be named wrong.

You have:
[TRAJ]

COORDINATES = X Y Z
NO_FORCE_HOMING = 1
MAX_LINEAR_VELOCITY = 100.0
DEFAULT_VELOCITY = 50.0


Try changing it to:
[TRAJ]

COORDINATES =  X Y Z
NO_FORCE_HOMING = 1
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 50.0
MAX_LINEAR_VELOCITY = 100.0
  • robh
  • robh
10 Mar 2025 16:15
Replied by robh on topic Joint Error After large rotary move

Joint Error After large rotary move

Category: General LinuxCNC Questions

Would be grate to get a driver update to 64bit i have done the job so so rush for me, once done i can test it out
because as i see it even if i reduce for half on the count , will only give 180 turns, twise as many parts output.
  • fabi0696
  • fabi0696
10 Mar 2025 15:41
Replied by fabi0696 on topic EL6731 changes cyclically to INIT status

EL6731 changes cyclically to INIT status

Category: EtherCAT

Okay, then I'll look for this post.

The other terminals, e.g. the EL7041 terminals, work straight away. Only the ProfiBus does not start straight away after a Koppler restart.

I have the current TC3 project here again. I have changed the file extension tnzip to zip so that I can upload it.

 

File Attachment:

File Name: LinuxcncNe...3-10.zip
File Size:195 KB
  • workshop54
  • workshop54
10 Mar 2025 15:24
Retrofit: Maho MH400E to LinuxCNC was created by workshop54

Retrofit: Maho MH400E to LinuxCNC

Category: Show Your Stuff

Retrofit: Maho MH400E naar LinuxCNC

Hi everyone,

I’ve recently started converting my Maho MH400E to LinuxCNC, and I’d like to share my progress here. I was inspired by RotarySMP—his posts gave me the courage to take on this project. Initially, I tried to get the original Philips control system working, but unfortunately, I couldn't get it to function. That led me to take the plunge and retrofit the machine with LinuxCNC.

Understanding the machine
To better understand how everything works, I fully translated the original manual into English. This has made it much easier to follow, especially when cross-referencing signals and system behavior.
Additionally, I’ve been diving into the control cabinet wiring and schematics, making sense of the machine's logic and how it all ties together.

Mesa hardware choices
RotarySMP used PCI-based Mesa cards, but since those are becoming outdated, I went with a different setup. After some research and trial and error, I decided on the following Mesa cards:
7i94T (Ethernet FPGA card)
7i77 (Analog servo interface)
7i84 (I/O expander)

So far, this combination seems to be working well, though I'm still troubleshooting some issues.

Current LinuxCNC setup
For now, I'm running LinuxCNC on an old laptop. It works, but eventually, I plan to upgrade to a dedicated PC.
As for the user interface, I’m currently leaning towards QtDragon, but that choice is still open for discussion.

What has been done so far:
1️⃣ Completely cleaned the machine (it was necessary!).
2️⃣ Organized the wiring in the control cabinet—technically not needed, but very satisfying.
3️⃣ Removed the original Philips CNC controller and monitor.
4️⃣ Translated the full machine manual into English.
5️⃣ Started analyzing the control cabinet logic and making sense of the schematics.

Current status of the Mesa cards/LinuxCNC setup:
✔️ I successfully established a connection with the 7i94T, which is in turn connected to the 7i77 via ribbon cable.
⚠️ However, I’m currently facing an issue, for which I have an open question on the forum.

I’ll be adding some photos of the machine and the Mesa cards soon. Looking forward to sharing more progress and learning from the community!
  • low-blip
  • low-blip
10 Mar 2025 15:15
Replied by low-blip on topic GladeVCP and venv?

GladeVCP and venv?

Category: GladeVCP

Did you figure it out? I want to use a Rust library in my VCP, but I only know how to install it as a package in a virtual environment.
Displaying 8626 - 8640 out of 24534 results.
Time to create page: 0.343 seconds
Powered by Kunena Forum