Advanced Search

Search Results (Searched for: )

  • tuxcnc
  • tuxcnc
22 Jun 2025 05:51 - 22 Jun 2025 06:48

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

I feel like when I calling Microsoft customer's support...
"We dont know what is your problem, but it works with us..."

I know how Linuxcnc does the threading, and know why it is acceptable with LPT and not acceptable with devices using ethernet link.
LPT uses base_thread, ethernet uses servo_thread, so LPT can be ten times faster.

I told you few posts ago, the servo_thread=1000000 (1 ms period) can make delay that can produce 18 degrees positon error at spindle rotates 3000 rpm.
3000 rpm => 50 rps => 20 ms per revolution.
It is mathematics, everyone can make this calculations.

The solution is not send the extended index in hope the Linuxcnc see it, and resets position to zero when received it.
The solution is send raw_count latched at every real encoder's index edge.
We can restore encoder's index (if we need) from (old != new) at the component.
And we can reset position not to zero, but to real position captured at index edge.

We can be confused, because we use "index" word for different meanings (encoder's output, program variable, hal pin) but we can not change this.

Detailed explanation:
Let's assume the encoder's index edge occurs at 1000 raw_counts.
Time goes, counter counts A/B signals.
The component requests data.
At this moment raw_counts is 1050.
We send both values, counted and latched.
The component knows, the index was 50 counts ago and sets position to 50/scale not to zero. (of course only when hal index_enable pin is set)

What don't you understand?

I didn't want attached my project as offtopic, but I see I must.

File Attachment:

File Name: SpindleETHv4.tar
File Size:50 KB
  • Lcvette
  • Lcvette's Avatar
22 Jun 2025 04:55
Replied by Lcvette on topic Probing alert on missing parameters

Probing alert on missing parameters

Category: QtPyVCP

You're either missing parameters in your var file or you need to update for the latest fix which was done shortly after the latest push was released due to a format error. If you verify your car has the correct car numbers listed so parameters can be saved persistently t then it's an update you need to run to resolve.
  • chrisfischer
  • chrisfischer
22 Jun 2025 04:49
Replied by chrisfischer on topic Vertical Screen with ProbeBasic?

Vertical Screen with ProbeBasic?

Category: QtPyVCP

Please upload it. Or better yet make a quick video showing your hacking so we can all learn more.

Thanks!
Displaying 14896 - 14898 out of 14898 results.
Time to create page: 0.424 seconds
Powered by Kunena Forum