Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
Today 15:40 - Today 15:41
Replied by Hakan on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

There is actually a bug in the code when you use both the "-" sign and the syncToRefClock option.
Both will switch on the pll code.
The bug is corrected, so depending on if you have that version or not.
Fix: don't use the "-" sign to switch on/off the pll code. Use only the syncToRefClock option.
  • Konstantin
  • Konstantin
Today 15:29 - Today 15:39
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

@andrax
I figured it out, my mistake, I wrote the SDO object wrong and after trying many different ways to get it working. Now I just want to verify that my "sudo dmesg" is ok. What I did is I rebooted the computer and the drive. Attached is the last output and the lines after 64.544984 were shown after LinuxCNC was started.
I observe two error but do not know if they affect LinuxCNC and EtherCAT:
[ 10.914651] hp_bioscfg: Unable to set BIOS settings on HP systems
[ 20.801703] ec_generic: Binding socket to interface 2 (eno1).
The problem is that I do not know how the "sudo dmesg" output is supposed to look when no errors.
The .xml file is fixed and I decided to use the variable PDO mapping object - 0x1600 and 0x1A00. I check with "ethercat upload" and it seems that the SDOs are set as intended. Attached are the .xml and .hal files. 

EDIT: I want to add that when I close the LinuxCNC and open it again there is a different output after "sudo dmesg". Attached is a file. An error appears:
[ 1191.146371] EtherCAT ERROR 0-0: AL status message 0x001A: "Synchronization error".
  • papagno-source
  • papagno-source
Today 15:13
Replied by papagno-source on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

The problem only occurs during movement and is a noise transmitted to the mechanics, the kind you usually hear about on the LinuxCNC forum.
It seems to have solved the problem. First, I restored the original lcec_conf, Lcec_coffigen, and Lcec.so files. I changed the parameters refClockSyncCycles="-1" and syncToRefClock="false" in the XML file.
For now, I've left the sync0Shift = "0" parameter.
I'll test the machine and update you on how it works.
  • andrax
  • andrax's Avatar
Today 14:52
Replied by andrax on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

I would suggest taking an analytical approach to this.
As I understand it, 4 registers are important:
607A target-position
60FF target-velocity
and
6064 actual-position
606C actual-velocity
I simply enter a value in 607A and 60FF, and the axis moves to that position. LinuxCNC evaluates 6064 and 606C. If the target and actual values match, LinuxCNC is satisfied.
That’s my understanding.
Now the question arises: Does the axis vibrate when stationary or while moving?
If it vibrates when stationary, which shouldn’t happen, it’s constantly receiving new positions and oscillating.
Control loop?
Do the axes oscillate while moving?
Unstable, fluctuating setpoints?

At this point, I would use Wireshark to compare the traffic between the two systems.
I think the findings will be very revealing.
 
  • PCW
  • PCW's Avatar
Today 14:46
Replied by PCW on topic Error unable to launch after pncconf.

Error unable to launch after pncconf.

Category: PnCConf Wizard

Its possible to build one but most 5I25 configurations lack the DPLL because
the jitter is so much lower on PCI/PCIE cards that there is little benefit from
adding the DPLL.
  • grandixximo
  • grandixximo's Avatar
Today 14:16
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

To rule out issues with anything outside the programs, did you try to swap SSD with the debian 10 you know is working on other hardware?
  • andrax
  • andrax's Avatar
Today 14:06
Replied by andrax on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Your ethercat.xml file is completely wrong.
The errors are pointing that out to you.
[290201.755307] EtherCAT ERROR 0-0: SDO upload 0x1A01:00 aborted.
[290201.755312] EtherCAT ERROR 0-0: SDO abort message 0x06020000: “This object does not exist in the object directory”.
[290201.755314] EtherCAT ERROR 0-0: Failed to read number of mapped PDO entries.
[290201.755315] EtherCAT ERROR 0-0: Failed to read mapped PDO entries for PDO 0x1A01.

You had already created the correct XML file. Take another look at your pdos.txt and compare it with the ethercat.xml.
This is what should be in your XML:
RxPDO 0x1701 “RxPDO”
    PDO entry 0x6040:00, 16 bit, “ControlWord”
    PDO entry 0x607a:00, 32 bits, “Target position”
    PDO entry 0x60b8:00, 16 bits, “Touch probe function”
    PDO entry 0x6060:00, 8 bits, “Modes of operation”
  TxPDO 0x1b01 “TxPDO”
    PDO entry 0x603f:00, 16-bit, “Error Code”
    PDO entry 0x6041:00, 16-bit, “statusWord”
    PDO entry 0x6064:00, 32-bit, “Position actual value”
    PDO entry 0x6077:00, 16 bits, “Torque actual value”
    PDO entry 0x60f4:00, 32 bits, “Following error actual value”
    PDO entry 0x6061:00,  8 bits, “Modes of operation display”

You can start by setting it up for one axis.
Once you no longer see any errors in dmesg, you can continue.
  • grandixximo
  • grandixximo's Avatar
Today 13:18 - Today 13:58
Replied by grandixximo on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

sync0Shift should not be 0

sync0Shift needs to be at least a third of your cycle

Set to 500000 not 0

Also please post files as attachments, or link to paste bin or Google drive, don't paste the entire text in the forum.

Also run ethercat master command, share the output here, preferably in a text file.

I would suggest the first device to be DC enabled, which it is, and the xml devices should match what is actually connected to the machine.

Have different versions of the xml and Hal if you have different machines with different configurations.
  • papagno-source
  • papagno-source
Today 12:50
Replied by papagno-source on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Just to complete the information. The xml file contains drives that aren't actually present, so you can manage machines with different configurations. The real machine only has the x-y-z axes and an analog spindle.
So address 0 (I/O card), address 1 x-axis, address 2 y-axis, address 3 z-axis. The subsequent addresses aren't actually present, but this is done so as not to change much in the .hal file.
But I repeat, on Debian 10 the same xml files are used, the function syncToRefClock="true"
  • papagno-source
  • papagno-source
Today 12:44 - Today 14:06
Replied by papagno-source on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

xml on debian trixie
i have test refClockSyncCycles = -1 , but problem is the same
Warning: Spoiler!

 
  • papagno-source
  • papagno-source
Today 12:41 - Today 14:07
Replied by papagno-source on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

xml debian 10

Warning: Spoiler!
  • papagno-source
  • papagno-source
Today 12:38 - Today 12:38
Replied by papagno-source on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Good morning everyone. We're running some tests with Rodw on a Debian Trixie system, kernel 6.12.74-rt, and ethercat 1.6.9.
Just to be fair, we're using the same configuration on real machines, so motors connected to lead screws, running Debian 10, kernel 4.19.0-27-rt, ethercat 1.5.2, and linuxcnc 2.9.0-pre1. So, with Debian 10, the machines work without problems. When I first start up, the drives and all ethercat I/O are immediately visible, meaning, for example, the positions of the absolute encoders for the motors appear instantly upon startup.
With Debian Trixie, we're having two problems. A less serious one, that is, at startup, the motor encoders' values ​​appear late, the first drive starting to appear after about a second (x axis), after another second Y appears and after that Z appears. But the most serious problem is that if you run the machine, the axes shake, then they stop shaking, then the vibration comes back and everything gets worse if I move windows on the desktop. Rodw has already attached the latency test on the matter, but I repeat, the PC is always the same and all the i/o and xml files are the same. Now I tried to copy from Debian 10 the bin/lcec_conf and rtlib/lcec.so files into the respective directories of Debian Trixie, without result, same problem. We tried to copy the same files from a version with the Grandixxximo patch, same problem, I also tried to vary the lcec.0.pll-drift pin, with values ​​from 10 to 1000 without solving. Honestly, I don't I know what to do. I'm attaching the XML files I use on Debian 10 and Trixie.
  • RotarySMP
  • RotarySMP's Avatar
Today 11:56 - Today 11:58
Replied by RotarySMP on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Thanks.

Good point. I didn't consider helix angle. I tried with G76 P1.27 J0.4 R1.8 Q30 but the tip chipped out after a few passes. I then went down in J over a few attempts, with 0.2 resulting in a lot of passes, and the tip wearing out rather than chipping. I ended up with R2 and J0.3. I'd put in a fresh tip and rerun the code to clean up the thread, and use that same tip to rough out the next part.

They are crap Amazon inserts, so maybe  as carbide prices went up, they mixed some sawdust into the mixture :)

I was was unsure how much overhang to give those jaws. I really need to make up some new ones, as all the only I have are heavily used.
Yeah, I only cut in both directions, as it gave me the nice chamfer on the step.

 
  • spumco
  • spumco
Today 11:40
Replied by spumco on topic Schaublin 125-CNC retrofit.

Schaublin 125-CNC retrofit.

Category: Turning

Thanks for the vid Mark!

Couple of unsolicited thoughts...
  • I wonder if part of your threading inserts were dying because they're designed for RH helix instead of LH? Probably not, but I have to wonder.
    • I also saw what looked like a million threading passes.  Perhaps your aren't taking a deep enough cut per pass and rubbing?
  • Looks like your pneumatic chuck has adjustable serrated top jaws.  Instead of turning a new step diameter so far out that you run in to the holes, maybe move the top jaws out a couple of serrations?  My Rohm is similar and has a specification on how many serrations you can overhang before they get dodgy.
  • Birds-nesting during facing... just cut from OD to ID instead of both directions. That inner step was so shallow you should be able to just plunge in Z- and cut to the ID.
Nice job on the tool changer!
  • leandrocontarini
  • leandrocontarini
Today 11:15 - Today 11:16
Replied by leandrocontarini on topic Chinese Mesa 7I92 from aliexpress NEW

Chinese Mesa 7I92 from aliexpress NEW

Category: Driver Boards

Recuperei a minha dessa forma.
Com o cabo jtag.
Instalei um  .bit errada e a placa travou , depois o vendedor forneceu o .bit correto e usei o jtag para recuperar a placa.
Estou com 3 modelos de placas aqui, todas funcionam muito bem.
Displaying 1 - 15 out of 285057 results.
Time to create page: 2.127 seconds
Powered by Kunena Forum