Help with Inovance IS620N Servo Drive - Stays in PREOP

More
06 Nov 2025 21:33 #338004 by conman
Hi Hakan, I got busy but I got some time today to try this. The drive is still not switching to OP

I am running the r8125 driver and getting these:

[ 1725.792847] IPv6: ADDRCONF(NETDEV_CHANGE): wlxd46e0e7f5d03: link becomes ready
[ 1742.191452] EtherCAT 0: Master thread exited.
[ 1742.191457] EtherCAT 0: Releasing main device D8:43:AE:B4:C2:68.
[ 1742.236333] ec_generic: Unloading.
[ 1742.310752] EtherCAT: Master module cleaned up.
[ 1743.441583] EtherCAT: Master driver 1.6.8 1.6.8.g2543cc5-1+27.2
[ 1743.441688] EtherCAT: 1 master waiting for devices.
[ 1743.447406] ec_generic: EtherCAT master generic Ethernet device module 1.6.8 1.6.8.g2543cc5-1+27.2
[ 1743.447433] EtherCAT: Accepting D8:43:AE:B4:C2:68 as main device for master 0.
[ 1743.447444] ec_generic: Binding socket to interface 7 (enp37s0).
[ 1743.488318] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 1743.488359] EtherCAT 0: Link state of ecm0 changed to UP.
[ 1743.496263] EtherCAT 0: 1 slave(s) responding on main device. Re-scanning on next possibility.
[ 1743.496265] EtherCAT 0: Slave states on main device: PREOP.
[ 1743.496266] EtherCAT 0: Re-scanning now.
[ 1743.496332] EtherCAT 0: Scanning bus.
[ 1743.889188] EtherCAT 0: Bus scanning completed in 392 ms.
[ 1743.889192] EtherCAT 0: Using slave 0 as DC reference clock.
[ 1825.874690] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[ 1825.874715] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".
[ 1825.875641] EtherCAT 0-0: Acknowledged state PREOP.
[ 1839.603079] EtherCAT: Requesting master 0...
[ 1839.603084] EtherCAT: Successfully requested master 0.
[ 1839.603187] EtherCAT 0: Domain0: Logical address 0x00000000, 23 byte, expected working counter 3.
[ 1839.603190] EtherCAT 0: Datagram domain0-0-main: Logical offset 0x00000000, 23 byte, type LRW.
[ 1839.603205] EtherCAT 0: Master thread exited.
[ 1839.603207] EtherCAT 0: Starting EtherCAT-OP thread.
[ 1839.691541] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[ 1839.693540] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".
[ 1839.695540] EtherCAT 0-0: Acknowledged state PREOP.


I am getting the same result with both the pdoindex

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

More
07 Nov 2025 05:11 #338013 by endian
try 
ethercat debug 1

then 
sudo dmesg | egrep EtherCAT

show current config 
ethercat pdos

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
07 Nov 2025 07:26 - 07 Nov 2025 07:49 #338017 by Hakan
Yes more info is needed. I think you had that type of problem before, endian?

There is one setting. After reading through the esi file I see there is only DC sync supported, no async or sm sync.
Add this line to the xml file after the     <slave idx="0" line
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>

Edit. You already have that. It's early...
Last edit: 07 Nov 2025 07:49 by Hakan. Reason: early in the morning

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

More
07 Nov 2025 10:05 - 07 Nov 2025 11:04 #338019 by endian
Attachments:
Last edit: 07 Nov 2025 11:04 by endian.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum