Advanced Search

Search Results (Searched for: )

  • Dudelbert
  • Dudelbert
Today 10:06

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

That is the exact type of “laser tachometer” I used. I agree that they are useful.
  • rodw
  • rodw's Avatar
Today 10:03
  • rodw
  • rodw's Avatar
Today 09:59
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Sorry I don't buy the excessive latency with Trixie today vs Debian 10, which was in the  2016 to   2017  era back when I started. That's 10 years ago. There was no PREEMPT_RT kernel available at that time. In fact, you could have been running the RTAI kernel. Back in 2017, the path I followed that was subsequently documented by cncbasher was to Install Linux Mint 17.x or 18.x and compile the PREEMPT_RT kernel. Ref: forum.linuxcnc.org/9-installing-linuxcnc...linuxcnc-from-source. Not long after this somebody made an ISO on Debian (10) Stretch which included PREEMPT_RT. Eventually, there was an official stretch release.

Bullseye (Debian 11) was released and that obsoleted Python 2.7 which we depended on. That was such a big stumbling block we did not Release anything on Bullseye but I used it to get network drivers for my Odroid H2+ instead of compiling from source. I had to give up Mint at this time because their kernels were too dated to have my drivers. I will never use anything other than Debian now! There was some big changes to the linux kernel network drivers in the 5.9 kernel pending the release of Bullseye on Kernel 5.10. I had one Ethercat machine running Bullseye (11) and moved to Bookworm (12) and got stuck on all PC's I had with Error Finishing Read on Mesa hardware but never had issues  with Ethercat in my bench testing. This is when I started working on kernel tuning and I found that my Old 2017 PC (Celeron J1900) had significantly improved jitter on Bookworm then it did back in the day. (eg reduced from 130k to 40k or lower). I don't think Trixie would be any worse. In fact other PC's I've tuned are running at almost half the latency now before tuning. Here is an example from Mike after he applied my optimisations

 

This is way below minimum latency requirements for Ethercat. There is no doubt in my mind that any issues being discussed here is due to  misconfiguration or issues in the Ethercat environment. Please forget all about latency. It is not an issue if the correct drivers are deployed and the appropriate network tuning has been done (Which it is for papagno-source's PC's). 

 
  • Dudelbert
  • Dudelbert
Today 09:50 - Today 09:58

Considering a Full Rewire on a Working Schaublin 125 CNC

Category: Turning

I am still struggling with threading.I have tested it at very low speed (100 RPM) in the hope to see something that helps me find what is wrong. But I cannot really say what I am looking at. The result is repeatable, and at least to me it looks like a constant offset that makes it wrong. I have set the cross-slide angle to 0, so that is not the reason. It is supposed to be an M8.

I would have expected a more random result if the spindle index was jittery, so that is probably not it. And spindle.0.revs, I tested it by turning the spindle by hand 25 turns, and spindle.0.revs was almost exactly 25. The remaining very small error can easily be attributed to me doing it by hand.
Additionally, I set the spindle to 1200 RPM and let it run. After it settled, I made a video filming the HAL Show screen and watching spindle.0.revs so I could later check it, and I got 1206 RPM that way.
I tried to make sure that the spindle really had 1200 RPM with a laser tachometer and by watching the encoder velocity RPM. Both agree within a margin of under 10 RPM. I don’t have any RPM measurement tools that are more reliable or accurate.

All these tests point me in the direction of the spindle encoder being OK. Are these tests the wrong way of testing this? What else can it be?

  • papagno-source
  • papagno-source
Today 07:52
Replied by papagno-source on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Good morning everyone, and sorry if I'm less present, but technical support won't let me go. I personally think we need to focus on functional solutions; it's pointless to use a LinuxCNC, which is very modern but doesn't work. So I agree with Grandixximo. In the next few days, I'll do the tests Grandixximo asked me to do and I'll update you. I'll ask the customer if he'll let me do further tests outside of business hours. The machine is working properly with Debian 10. I remind you that I tried overwriting the lcec_conf and lcec.so files from Debian 10 to Trixie, but I didn't see any improvements. That's why I believe the problem, aside from those found by Grandixximo and fixed, isn't Lcec, but rather Ethercat and the kernel, which has high jitter for a CNC machine. The solutions are to use a PC suitable for RT or design a Master Hw that has a dual Port RAM, capable of buffering information and letting the PC breathe.
  • grandixximo
  • grandixximo's Avatar
Today 06:18 - Today 06:22
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Fair point on the age of the base, but it is not as stale as the "1.5.2" label makes it look. YangYang's build sits on the 1.5.2 API boundary, but a lot has been grafted on top of it. Martin Ribalda's refactor moved the slave scan, slave config, SDO request, dictionary, and state-change FSMs into per-slave state machines running off externally supplied datagrams, which means every slave progresses through INIT to PREOP to SAFEOP to OP in parallel instead of the master FSM walking them one at a time. That is where the OP speedup comes from, not the age of the base. On top of that there is an SDO injection path, so CoE transfers ride on the realtime cycle alongside PDOs and startup list SDOs plus PDO mapping writes do not each cost a full master FSM round trip. The 1.6 era API surface is mostly backported too (ecrt_master_sync_reference_clock_to, mbox gateway, rescan, RT slave request hooks, full FoE request API, reboot FSM, bulk register read/write, SII from file, and so on).

On the kernel side, the native drivers have been updated for modern kernels. The devices/ tree ships 6.12 variants of igb, igc, r8169, genet, e1000, e1000e, and stmmac, and DKMS builds cleanly against Trixie's 6.12 headers.

I tried the obvious "just tune 1.6.9" route first. Applying the same constants YangYang's build uses (EC_WAIT_SDO_DICT=0 and EC_SKIP_SDO_DICT=1) on top of stock 1.6.9 drops OP from around 15 s to around 12 s. YangYang's build reaches OP in roughly 5 s on the same bus. The remaining gap is not a constant that anyone can tune; it is the per-slave FSM architecture, and 1.6.9 does not have it. 1.7 does not have it either, I checked, master/fsm_slave.c is still 685 lines in 1.7, the same as in 1.6.9, against 1339 lines in YangYang's build.

So "use the newer version" is the intuitive answer but it does not actually close the gap. Porting Ribalda's refactor cleanly onto 1.6.9 is weeks of work with a large regression surface. Shipping YangYang's build with modern Debian packaging gets working fast OP debs this week. Different tradeoff, not a rollback.

OP transition time is of course unrelated to grinding itself, this is about how long the user waits for the machine to come up, not motion behavior.
  • tommylight
  • tommylight's Avatar
Yesterday 03:33
Replied by tommylight on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

It makes no sense to roll back to a version built for  kernel 2.6 (Trixie's is 5.12) that's not been touched for 7 years...

You mean 6.12 for sure, 5.12 is also pretty old.
  • rodw
  • rodw's Avatar
Yesterday 03:04 - Today 07:26
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

It makes no sense to roll back to a version built for  kernel 2.6 (Trixie's is 6.12) that's not been touched for 7 years...
  • PCW
  • PCW's Avatar
Yesterday 02:16

Mesa 7I76EU TB2 not working right (TB3 works fine) – need help diagnosing

Category: Driver Boards

Here's the thing, it may be difficult to tell what happened, but the card did not leave Mesa with
a blown  27 Ohm resistor network and a bad 74ACT541. Also, it is important to know what happened
so it does not happen again.

The good news is that the card is repairable. Mesa normally charges $35.00 for minor repairs like this.
  • tommylight
  • tommylight's Avatar
Yesterday 00:27

Mesa 7I76EU TB2 not working right (TB3 works fine) – need help diagnosing

Category: Driver Boards

Im pretty confident that i did not cause this damage, all the wiring Ive done on tb2 was also done on tb3 to a standard tb6600 stepper driver
What do you guys think i should do?

I have no idea what do you expect from us to tell you as i am sure you do not want to deal with reality.
My reality is: I have over 80 or 90 of Mesa boards in daily use, never ever had one fail nor had issues, ever, mostly on industrial machines in use 24/7/365.
P.S.
This is my polite answer as you said "im pretty confident...".
Next time try to figure out how that happened instead of insisting it did not happen.
Also, whatever the price of any Mesa board is, i have to pay at least twice that to get theme here, and i pay that gladly.
  • kello711
  • kello711's Avatar
Yesterday 00:22
Replied by kello711 on topic PM-940V mill conversion

PM-940V mill conversion

Category: Show Your Stuff

So My brother and I converted a PM-940V to a CNC machine.

What did you use for the ball screws and plates? Did you create your own or use a purchased kit?
  • adhamamer
  • adhamamer
Yesterday 23:54

Mesa 7I76EU TB2 not working right (TB3 works fine) – need help diagnosing

Category: Driver Boards

Update:

MESA Replied:“OK, examined the cardU15 (STEP+/DIR+ 0..3 driver) and RN31 (27 Ohm resistor networkin series with STEPO+/DIRO+ and STEPO-/DIRO- pins) were both damaged.RN31 had opens on the STEPO+ and DIRO+ pins.Damage was likely caused by connection of theSTEPO+,DIRO+ pinsto either something outside the 0 to +5V range (even briefly) ora long time short of the STEPO+,DIRO+ pins to 5V or ground.”

Im pretty confident that i did not cause this damage, all the wiring Ive done on tb2 was also done on tb3 to a standard tb6600 stepper driver
What do you guys think i should do?
  • grandixximo
  • grandixximo's Avatar
Yesterday 23:53 - Yesterday 01:32
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

@papagno-source check these as well please
0x1C32:02 (cycle time), 0x1C32:03 (shift time), and 0x1C32:05 (min cycle time), 0x1C33:01 (input side)
Would still love to get direct access to the hardware so that I can check myself...

Edit:
YangYang found a 1.5.2 that is much quicker to OP

github.com/synapticon/Etherlab_EtherCAT_Master

Will try to port to 1.6.9 stable, otherwise make compatible linuxcnc-ethercat package for this 1.5.2

The OP times should not relate to the grinding.
  • bedouno
  • bedouno
Yesterday 22:41
Replied by bedouno on topic HAL component for tangential knife

HAL component for tangential knife

Category: HAL

dear sir i spent the last days trying to improve my understanding to linuxcnc system and structure , i hope to give hand and i suggest this proposal " what if we do the tangent calculation in parallel interpreter and syncronize the data somehow whith index ", i am not sure if it is the best practice but i am tring
  • Jimnyx
  • Jimnyx
Yesterday 21:13

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Hallo
Bin gerade bei der Suche nach Hilfe und bin im  Internetr  genau über mein Thema gestolpert. Aber zuerst eine kurze Vorstellung:
Bin 67 Jahre alt und seit 40 Jahren im CNC-Geschäft. Zuerst Maschinenbediener, später Programmierer. Baue schon seit Ewigkeiten kleine CNC-Maschinen für den Modellbau aber fast nur mit Mach3-Steuerung. Habe gerade eine kleine 5-Achs mit Mesa-Clone 7i92 in Betrieb genommen und bin total begeistert von den Möglichkeiten mit Linuxcnc. (Aber ohne die Hilfe von Gemini hätte ich das nie hinbekommen)
Und das führt zu meinem Problem: Vor lauter Begeisterung habe ich gleich eine 7I98 bei Aliexpress bestellt. Hab mir von der KI die Chinesische Anleitung übersetzen lassen , die Bitfiles aus dem Internet gesucht und das Board prompt gebrickt. Da Ihr dieses Problem ja offensichtlich gelöst habt: Gibt es eine sicher funktionierende Anleitung zum flashen und woher bekommt man die richtigen Bitfiles ? 
Danke und viele Grüße !
Displaying 1 - 15 out of 285432 results.
Time to create page: 4.878 seconds
Powered by Kunena Forum