Long initialization of Ethercat on servo drive SV660N

More
30 Oct 2025 00:21 #337427 by onceloved
This is unrelated to the configuration; you need to modify the driver, Sii firmware, and disable Eoe.

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

More
30 Oct 2025 01:42 #337432 by hanz24
SM0: PhysAddr 0x1000, DefaultSize  256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1400, DefaultSize  256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1800, DefaultSize   12, ControlRegister 0x64, Enable 1
  RxPDO 0x1701 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
    PDO entry 0x60b8:00, 16 bit, ""
    PDO entry 0x60fe:01, 32 bit, ""
SM3: PhysAddr 0x1c00, DefaultSize   28, ControlRegister 0x20, Enable 1
  TxPDO 0x1b01 ""
    PDO entry 0x603f:00, 16 bit, ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6064:00, 32 bit, ""
    PDO entry 0x6077:00, 16 bit, ""
    PDO entry 0x60f4:00, 32 bit, ""
    PDO entry 0x60b9:00, 16 bit, ""
    PDO entry 0x60ba:00, 32 bit, ""
    PDO entry 0x60bc:00, 32 bit, ""
    PDO entry 0x60fd:00, 32 bit, ""

this is my PDO for my drive, I've tried using several IDs in PDO, but it still doesn't work. Maybe it's probably due to the EoE issue you mentioned earlier. I'm currently trying to reinstall with EoE disabled as you suggested.

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

More
30 Oct 2025 01:44 #337433 by hanz24
We can contact on wechat/line if its okay for you

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

More
30 Oct 2025 04:02 #337440 by onceloved
我的微信ID是304394405

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

More
30 Oct 2025 04:10 #337441 by hanz24
thanks, friend request sent

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
30 Oct 2025 09:03 - 30 Oct 2025 09:28 #337450 by Hakan
Nothings makes me more curious than someone being secretive haha.

This is what Ethercat master documentation says
 

Two places to modify

Read out the sii info with "ethercat -p 0 sii_read"

1. Supported mailbox protocols.
Like it says in the figure, word 0x1C byte 0x38, bit 0x02 specifies EoE support.
Clear that bit for no support.
To orient yourself, you should find bit 3, 0x04, set for CoE support.

2. Enabled EoE mailboxes.

To find the byte that specifies drive EoE mailbox enabled:

In the read sii file, use some kind of hex editor.
Skip 0x80 bytes forward over the hardware config info
Byte 0x80-0x81 is 0x1a00 meaning strings section
Byte 0x82-0x83 is a word specifying the length of the string section.
  Example : 0xd100 = 209(dec) words.
  Add 1 to make it even: 210 words.
  Multiply by 2 to make number of bytes: 420.
  Add two for the size of the 0x1a00 identifier word: 422
  Sum up 128 + 422 = 550. Hex 0x226
At bytes 0x226-0x227 one finds 0x1e00 meaning general information section
0x228-0x229 is a word specifying the length of the general section
EoE mailbox specifier is now byte 9 in this section: 0x231 
To orient yourself, byte 8 (0x230) is FoE mailbox specifier, CoE details are in byte 7, (0x22f)

To disable EoE, first verify that the specified byte is 1. Then, write a zero in that position.


Upload the modified sii file to the drive again with "ethercat -p n sii_write mod_eeprom"

Personally, I wouldn't do this. I would use a Ethercat master with EoE disabled.

The above is only theoretical and may be wrong. Don't use it.


 
Attachments:
Last edit: 30 Oct 2025 09:28 by Hakan. Reason: wait a minute

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
30 Oct 2025 09:17 #337452 by tommylight

Nothings makes me more curious than someone being secretive haha.
 

Probably invented hot water, again!
:)

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

More
30 Oct 2025 09:47 #337454 by hanz24
Thank you for your help in advance, I have tried to reinstall ethercat master and trying to disable eoe, but its getting worse with the ethercat service can't start. I hope I can continue to update when it works with onceloved's help

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
30 Oct 2025 10:09 #337455 by Hakan
Wouldn't surprise me if /etc/ethercat.conf got overwritten. Anyway, check syslog.

I guess onceloved has a solution and you don't need to disable eoe in the master after that.

On a more general note it seems EoE and linuxcnc will not work together.
EoE as such may work, if that helps with configuration of a drive for example.
Reference is this post. forum.linuxcnc.org/ethercat/53961-eoe-configuration#311275

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

Time to create page: 0.090 seconds
Powered by Kunena Forum