Ver 2.9.4 iso clean install Trouble when disabling EOE

More
19 Feb 2026 07:36 #343186 by Hakan
Those latency values should work, perfectly normal for linuxcnc.

What I see is in your syslog
[   42.074431] EtherCAT 0: Starting EtherCAT-OP thread.
[   47.297383] EtherCAT WARNING 0-0: Slave did not sync after 5000 ms.
[   47.304384] EtherCAT 0: Domain 0: Working counter changed to 2/9.
The slaves were not able to synchronize their time in 5 sec.
I have had that problem myself and didn't solve it, it just went away one day.
The ethercat master sends a synchronize request every 1 msec, so 5000 requests are sent.
What I understand is that this initial synchronization is a slow process and sometimes 5000 requests is not enough.
What I read is that TwinCAT can send tens of thousands of synchronization requests when needed.

As an experiment you can increase this value to 50000, 10 times more, why hold back when experimenting?
It is this value in ethercat/master/fsm_slave_config.c
/** Maximum time (in ms) to wait for clock discipline.
 */
#define EC_DC_SYNC_WAIT_MS 5000
Change to
#define EC_DC_SYNC_WAIT_MS 50000
Compile the ethercat master, install it and make sure the new version runs.
And try again.
Interesting to hear if that works.
 

Please Log in or Create an account to join the conversation.

More
26 Feb 2026 04:30 - 26 Feb 2026 04:36 #343517 by tar_san
Thanks! ( I haven't done it yet. )

My progress is...

I found ( in "ethercat slaves" command response ) that one servo drive version was 1.07, and anotehr was 2.09 in 3axis. But I have orderd  them recently at the same time.

Yaskawa support person said, this version is ESI version ( in servo driver ? ), but I haven't send ESI file to slaves as far as I remember.
Their suggestion is to use the same ESI file, and sent me the link of the latest ESI file for Sigma X.

How do I apply the latest ESI file to IgH Master and slaves?
I googled it and ask AI how to do it, but I couldn't get the answer for IgH master.
Last edit: 26 Feb 2026 04:36 by tar_san.

Please Log in or Create an account to join the conversation.

More
26 Feb 2026 08:36 - 26 Feb 2026 08:41 #343524 by Hakan
That's right. Linuxcnc doesn't use an ESI file.
The ethercat master reads out the info it needs from the slave directly.

The safest way to update the SII eeprom contents of the drive is to use TwinCAT.
There are a number of steps needed, but in principle not difficult.
Download and install TwinCAT from Beckhoff it you don't already have it,
Place the ESI file you got from support in C:\TwinCAT\3.1\Config\Io\EtherCAT
or where your twincat installation is.
In this video I update the firmware on a device, the principle is the same for your drive.
Go to 5:20 for the relevant part.

 
Last edit: 26 Feb 2026 08:41 by Hakan.
The following user(s) said Thank You: tar_san

Please Log in or Create an account to join the conversation.

More
26 Feb 2026 13:59 #343533 by Marcos DC
I think that for Yaskawa, the safest approach is to use Yaskawa’s own tool (SigmaWin+), since it knows the hardware and the drive’s constraints, and it’s also the approach their support can reproduce and help with if something goes wrong.
The following user(s) said Thank You: tar_san

Please Log in or Create an account to join the conversation.

More
26 Feb 2026 21:53 - 26 Feb 2026 21:56 #343570 by tar_san
Thank you so much,  This video is helpful.

And I counld not find ESI upload function in SigmaWin+.
I agree that using SigmaWin would be better if I could use it to do that.

And I think .. sometimes updating new ESI to older software version device is a little bit risky..
I'm considering a little bit about it.

Anyways, thank you so much you guys.
Last edit: 26 Feb 2026 21:56 by tar_san.

Please Log in or Create an account to join the conversation.

More
27 Feb 2026 07:27 #343583 by Hakan

And I think .. sometimes updating new ESI to older software version device is a little bit risky..
I'm considering a little bit about it.


Yes, the ESI file must agree with the firmware in the drive.
I thought about warning for that, but since you were in contact
with Yaskawa support I thought they must know, they should know.

Please Log in or Create an account to join the conversation.

More
28 Feb 2026 00:48 #343629 by tar_san
Thanks a lot !

They also mentioned, "if you put this newest ESI , some of this problem will fixed."

( But LinuxCNC (IgH master) desn't have this function. And Yaskawa tools doesn't have upload ESI function to drive as default.)

They said also, this ESI file contains fixture for all versions of firmware.

In this case, do you think It is possible for TwinCAT to fix default ESI in ServoDrive , to make LinuxCNC work ?

I know I have to do it with my own risk and I may not need to do it if I found another solutions.

But I'm happy if I could get some hints for it...

Please Log in or Create an account to join the conversation.

More
28 Feb 2026 08:31 #343640 by Hakan
You can always test the new version. It is actually very easy to make a backup
of the eeprom contents and later put it back if needed.
ethercat -p 0 sii_read > eeprom_backup.bin
ethercat -p 0 sii_write eeprom_to_restore.bin
We need TwinCAT to do the translation from ESI file to eeprom binary contents.
While there are some open-source tools for that too, the safest way is to use TwinCAT.
 

Please Log in or Create an account to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum