Advanced Search

Search Results (Searched for: )

  • bobwolf
  • bobwolf
29 Jan 2026 20:52

Solving the USB Latency Dogma for HMI/MPG: Technical Feedback Request

Category: Driver Boards

So.....you are wanting testers for a closed source hardware project ;)
What's in it for the testers ? :)

 

I don't want you to be my free testers. 
To do this project I came up with, I first experimented on a breadboard and then created the PCBs with the features I wanted. Unfortunately, I made some youthful mistakes in hardware development... trivial but significant...
I redid the PCB designs but haven't ordered them from the service yet. For now, I've already spent enough money on a "gamble." 
If you want, there are some kits that need fixing, so it would arrive with various jumpers soldered on the fly.
In any case, the eval version is fully functional like the final one, but it doesn't have all the peripherals enabled. 
  • Will_cnc
  • Will_cnc
29 Jan 2026 20:51

Issues setting up Tool setter / manual tool change

Category: QtPyVCP

Hi all,I’m currently having trouble setting up a tool presetter in LinuxCNC. My setup consists of a Raspberry Pi 5 running LinuxCNC, three Leadshine servo motors, and a Beckhoff unit handling the toolsetter input.

The main issue is that when I press “Set Tool Offset PSO,” LinuxCNC does not apply the current machine coordinates. Also, when attempting to perform a tool height setting, nothing happens.
I’m also experiencing problems with manual tool changes. When using the Unload Tool or Load Tool commands, nothing occurs. The only way I can trigger a tool change is by using an M6 T"x" command, which brings up a popup asking for confirmation that the tool has been changed.I have not yet connected the solenoid valve that will actuate the drawbar. 

I’ve attached my HAL and INI files. Any suggestions or ideas would be appreciated. 
  • bobwolf
  • bobwolf
29 Jan 2026 20:35

Solving the USB Latency Dogma for HMI/MPG: Technical Feedback Request

Category: Driver Boards


2. Closed Firmware & 'Over-engineering' I respect the Open Source philosophy, but io_decoder is a professional project that includes dedicated hardware. The 'over-engineering' you see in the HAL driver is actually optimization. While a user-space component can work, a dedicated C component ensures deterministic polling and much lower jitter. If you want a 'professional feel' on the handwheel, those milliseconds matter.




ahh, ok, This is what professional code looks like when compiling.


halcompile --compile io_decoder.c
Compiling realtime io_decoder.c

MEGACUT

[i][i][i][i][i][i]Linking io_decoder.so[/i][/i][/i][/i][/i][/i]


[i][i][i][i][i][i]“Bare-Metal” Firmware (No Bootloader)

We have removed the Arduino bootloader for two critical reasons:

Safety: No random pin state changes during startup (typical of bootloaders).
Speed: The board is operational within a few milliseconds.


what about updates ?[/i][/i][/i][/i][/i][/i]


 

Thank you for alerting me to all those warnings... apparently my system is set up so that I don't see them... I'll try to fix everything in the next few days... they're all warnings for things I left lying around due to closed roads and changes of direction in the program.

As for the choice to remove the bootloader, it's because I didn't want every communication, which occurs every 20ms, to waste time trying to figure out whether it was a new program or a regular message about the work it's doing.
If you want to modify the firmware, you need to use a programmer like tinyusb.
 
  • bobwolf
  • bobwolf
29 Jan 2026 20:18 - 29 Jan 2026 20:22

Solving the USB Latency Dogma for HMI/MPG: Technical Feedback Request

Category: Driver Boards

I use Arduino Connector, I really like your project, it's very professional. I don't know if you plan to create matrix-type keyboards to simulate keys or to be used as HAL pins like in Arduino Connector, which gives great flexibility.

 

There's no direct support for a matrix keyboard; I had considered it during the project development phase, but I was too far along and would have had to completely overhaul everything... perhaps in a future version...
However, all the inputs have the keyboard functionality that allows them to send keyboard characters with the physical input pins.
the only difference is that you have to wire all the buttons one wire for each button + the common which must come from the io_decoder board
It's all explained in the docs on GitHub.
  • juliankoenig87
  • juliankoenig87
29 Jan 2026 20:14
Replied by juliankoenig87 on topic How can I contact juliankoenig87

How can I contact juliankoenig87

Category: General LinuxCNC Questions

Hi,

how can I help you exactly?
  • bobwolf
  • bobwolf
29 Jan 2026 20:12

Solving the USB Latency Dogma for HMI/MPG: Technical Feedback Request

Category: Driver Boards

USB Stability & Real-Time Thread I’m well aware that USB isn't for the Servo Thread. 

What thread will it run in ? And you suggesting another thread to add to a config ? What period would this be run at ?
How would that affect a config that has a base thread (for software step gen) and a servo thread for other functions ?

To clarify the threading model:
io_decoder
does not run the USB communication inside the Servo Thread.The component spawns its own dedicated asynchronous thread to handle the USB protocol. The interaction with LinuxCNC’s HAL happens via non-blocking data exchange.
  • Zero Blocking: The Servo Thread never waits for a USB response. It only reads/writes to a local buffer managed by the driver.
  • Base Thread Integrity: Because the USB communication is decoupled, there is no risk of inducing jitter in the software step-generation (Base Thread).
  • Responsiveness: This architecture allows us to maintain a high polling rate for the handwheel and I/O without affecting the machine's motion control stability.
This is exactly why it's more stable than a generic HID driver or a simple user-space script.

ciao
Roberto
  • cncfreak
  • cncfreak
29 Jan 2026 19:53 - 29 Jan 2026 20:08
Replied by cncfreak on topic asd-a2-e ... lcec driver?

asd-a2-e ... lcec driver?

Category: EtherCAT

Have you download to drive the parameter file i attached?Check the manual for the Asda-A2 drive has more detailed infos.
  • Finngineering
  • Finngineering
29 Jan 2026 18:54
Strange preview for circular arc (G2/G3) was created by Finngineering

Strange preview for circular arc (G2/G3)

Category: G&M Codes

Hello,

I was planning to bore out a disc yesterday and thought I'd handwrite the code. The circular path would be 105 mm in diameter with the center at G54 X0, Y0, and starting at position X-52.5 Y0. Because of my lack of experience, I wrote is as a small program so I could get a preview. But the preview is not what I expected for the:
G2 I52.5 J0 P1
The arc is started from position X-52.5, Y0.

As you can see in the screenshot, the preview shows a strange linear movement and a counter clockwise helix. But when I run the code, the machine makes a 105 mm circle in the XY plane, just as I wanted. The path from this run is visible as well (the red line). I'm guessing I'm doing something wrong, but what?
 
  • fghlk
  • fghlk
29 Jan 2026 18:41
Can delete my account ? was created by fghlk

Can delete my account ?

Category: Forum Questions

Hi,
it's possible to delete my account ?
  • endian
  • endian's Avatar
29 Jan 2026 17:44
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

My apologize ...
sorry I can not show same speed test because I am currently weeks out of office but we can just multiply or devide values ... because it is linear dependecy during constant speed movemet ... 

I can just customize current images to show exact difference ...  compensation off ferror = 0.125mm at 15m/min ...  compensation on ferror = 0.00009028mm at 1m/min and multiply it by 15 we get 0,0013542mm which is significantly less then 0.125 ..

What I remember from testing by my short eyes it whas something near 0.001mm during that 15m/min testing was done with bentch top setup without any load presented... just AX5106 with AM8xxx motor 

but I can go home for testing this weekend to create exact speed difference testing if it is neccessary

No apologies needed [img]/media/kunena/emoticons/wink.png[/img]
 

I can understand You and YangYang, its added job, but I openly disagree ... its the best time to improve lcnc and solve it at native level for ever, no other proforma hobby solution as now my is...

it should be solution for everyone who not understand it soo well as you guys... my solution of compensation will be even more inaccurate when scurve will be done and implemented ... 

I can not say you what to do, your job, your rules, your output ... thanks for your upgrade to curving
 
  • PCW
  • PCW's Avatar
29 Jan 2026 17:43

Problem with Mesa 7i96s and spindle control

Category: General LinuxCNC Questions

One way to help diagnose this (assuming it's a hal issue)  is to run
LinuxCNC, and then turn on the spindle at 1/2 speed.

Then, in a terminal window, type:

halcmd show all | grep spin > spindle.txt

and post the created spindle.txt file here.
  • clayton2ndtry
  • clayton2ndtry
29 Jan 2026 17:36
Can't issue MDI command when not homed was created by clayton2ndtry

Can't issue MDI command when not homed

Category: AXIS

But I have homed the axis and the little diamond, or whatever it is, is showing next to it. But Touch Off gives this error message.  I have been using this INI file for months without problems. This is a Sherline mill so there are no limit switches. The only axis that homes is A, which is not connected. It homes and sets to 0.000.
  • PCW
  • PCW's Avatar
29 Jan 2026 17:13 - 29 Jan 2026 17:16
Replied by PCW on topic 7i92M + 7i76 add PWM+PktUART

7i92M + 7i76 add PWM+PktUART

Category: Driver Boards

The 7I76R14.BIN image will not work as there are two program images
in the DSPIC code (the setup and working images) This is done to allow
live updates.

This is the complete 7I76 image:

 

File Attachment:

File Name: 7I76S15H1.ZIP
File Size:14 KB


 
  • mariob
  • mariob
29 Jan 2026 16:24

Linuxcnc erste Schritte und erste Probleme, NVEM und Remora

Category: Deutsch

Hallo,
und danke für die Antwort Luca, ich lasse mir etwas Zeit, sorry. Der Rechner läuft noch nicht wieder, ich strukturiere gerade meine EDV neu, Winterarbeit. Sobald das erledigt ist geht es hier weiter, ich melde mich, das ist bestimmt noch nicht die letzte Frage .

Gruß
Mario
  • Aciera
  • Aciera's Avatar
29 Jan 2026 14:24
Replied by Aciera on topic Problem with Mesa 7i96s and spindle control

Problem with Mesa 7i96s and spindle control

Category: General LinuxCNC Questions

I changed your Topic title to something more descriptive.

You might want to give some more information on your vfd and how you have wired it to your 7i96s.
Displaying 76 - 90 out of 19768 results.
Time to create page: 0.253 seconds
Powered by Kunena Forum