Advanced Search

Search Results (Searched for: )

  • AdelRTP
  • AdelRTP
22 Jun 2025 08:09
Replied by AdelRTP on topic Modbus connection issue mesa 7i76eu pktUART

Modbus connection issue mesa 7i76eu pktUART

Category: General LinuxCNC Questions

I try man hm2_modbus
and man mesambccc
not exist in my linuxcnc i have the last version 2.9.4 i see in linuxcnc official site this is the last version, if there is newest version tell me please
 
  • workshop54
  • workshop54
22 Jun 2025 07:28

7i77 +-10V outputs: unexpected voltage with analogena, no output with analogout

Category: Driver Boards

Hi all,I’m running into an issue with my 7i77 analog outputs and could really use some help figuring it out.Setup:
  • 7i94 + 7i77 + 7i84
  • LinuxCNC with Mesa HAL configuration
  • QtDragon GUI
The issue:
  • When I set hm2_7i94.0.7i77.0.1.analogena to True, I measure about 0.3V on all +-10V outputs, even without setting any value on an analogout<>.
  • When I set a value on one of the analogout<> pins (e.g. analogout2 = 0.1) and leave analogena False, I measure no voltage on the corresponding output.
  • What I expected:
    • No voltage at the +-10V outputs just by enabling analogena.
    • A voltage at the specific output only when both analogena is enabled and an analogout<> value is set.
My question:

Is this normal behaviour, or am I missing something in the configuration or wiring? What should I check next to diagnose this? 

 



​​​​​​​ 
  • Hakan
  • Hakan
22 Jun 2025 06:09
Replied by Hakan on topic crashing at startup

crashing at startup

Category: General LinuxCNC Questions

This is what caught my eye
[4207674.055558] config string '0x0378'
[4207753.585243] spurious APIC interrupt on CPU#1, should never happen.
[4207753.588077] RTAI[math]: unloaded.
Maybe the hardware has past its best before date?
  • 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
Displaying 14896 - 14899 out of 14899 results.
Time to create page: 0.469 seconds
Powered by Kunena Forum