Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
19 Jun 2025 23:07
  • tuxcnc
  • tuxcnc
19 Jun 2025 22:48

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hi, which module have you been trying to use? The software Encoder module or the QDC module? Both support the index pulse detection and encoder count latching so LinuxCNC can acquire the index position count.
 

Hi.
QDC.
The encoder_raw code is good and there are only hardware problems (optocouplers and RC filters cut the bandwith).
But this is very bad idea to send encoder's index pulse by ethernet.
Let's make calculations.
3000 rpm and 1 ms base_thread is 18 degrees accuracy - not acceptable.
The solution is send not index, but raw_count lathed at encoder's index edge interrupt routine.
There is in your code, line 321 in qdc.cpp file:
this->indexCount = ENC_GetPositionValue(this->encBase);
But there is no indexCount hal pin...
In the fact, we don't need receive index pulse at component side, because change of indexCount means index was betwen last and present data transmision.
So we can update indexCount at every encoder's index edge, but use them only if hal index_enable pin is true. (look at my code).

I tried use raw_count and index pins connected to PRUencoder module. Sometimes it works, mostly not.
But even if it works, PRUencoder resets position to zero at received index, not at real index.
In my code, position is reset not to zero, but to
pos = (fb.raw_encoder - latched_enc) / pos_scale;
(raw_encoder may be not equal latched_enc)
So there is no delay.
In this case I not need PRUencoder, because I move pos and vel calculations to my component. 
  • bcorley
  • bcorley
19 Jun 2025 22:44

Laser Head Height Sensor – Looking for a Beta Tester

Category: Plasma & Laser

Thanks for the info. From what I gather, reading previous posts, the periodm function requires linuxcnc 2.10. I'll have to make up another test unit for that. Also, I'm running a 2msec servo thread. Is that going to be an issue?
  • PCW
  • PCW's Avatar
19 Jun 2025 22:36

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

None of these are needed and the first will likely mean
that you never get an index.

setp [HMOT](CARD0).encoder.00.index-mask 1
setp [HMOT](CARD0).encoder.00.index-invert 0
setp [HMOT](CARD0).encoder.00.index-mask-invert 0

The index mask logic is intended for configurations
that have a index mask input pin which is typically used
for spindles where the encoder is on the motor and the
spindle is geared down from the motor.
 
  • kworm
  • kworm
19 Jun 2025 22:33
Replied by kworm on topic QTPlasmac pierce delay handling

QTPlasmac pierce delay handling

Category: Plasmac

The reed switch works great. Thanks for everyones help.
  • PCW
  • PCW's Avatar
19 Jun 2025 20:54
Displaying 14986 - 14991 out of 14991 results.
Time to create page: 0.684 seconds
Powered by Kunena Forum