new hardware trouble

More
03 Oct 2024 19:05 - 03 Oct 2024 19:08 #311247 by kworm
Replied by kworm on topic new hardware trouble
I have found that when sending config pdos to the drive it is successful in LinuxCNC but then lcec dies because it can't map some of the pdos that were just configured.  If you do an "ethercat rescan" then the pdos are shown and LinuxCNC starts just fine.  I'm not sure if this is an linuxcnc-ethercat or etherlab ethercat-master issue.  This may still be some type of interaction with EoE but out of curiosity @endian could you please try seeing if that works for you as well vs disabling EoE?

LinuxCNC was not running during the following commands:
cnc@shaper:~$ ethercat pdos -p 19
SM0: PhysAddr 0x1800, DefaultSize  234, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1a00, DefaultSize  234, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
SM3: PhysAddr 0x1100, DefaultSize    0, ControlRegister 0x62, Enable 1
  TxPDO 0x1a00 ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6064:00, 32 bit, ""

cnc@shaper:~$ ethercat rescan

cnc@shaper:~$ ethercat pdos -p 19
SM0: PhysAddr 0x1800, DefaultSize  234, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1a00, DefaultSize  234, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x6060:00,  8 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
    PDO entry 0x60ff:00, 32 bit, ""
SM3: PhysAddr 0x1100, DefaultSize    0, ControlRegister 0x62, Enable 1
  TxPDO 0x1a00 ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6064:00, 32 bit, ""
    PDO entry 0x6077:00, 16 bit, ""
    PDO entry 0x6061:00,  8 bit, ""
 
Last edit: 03 Oct 2024 19:08 by kworm.

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

More
05 Oct 2024 16:13 #311355 by endian
Replied by endian on topic new hardware trouble

I have found that when sending config pdos to the drive it is successful in LinuxCNC but then lcec dies because it can't map some of the pdos that were just configured.  If you do an "ethercat rescan" then the pdos are shown and LinuxCNC starts just fine.  I'm not sure if this is an linuxcnc-ethercat or etherlab ethercat-master issue.  This may still be some type of interaction with EoE but out of curiosity @endian could you please try seeing if that works for you as well vs disabling EoE?

LinuxCNC was not running during the following commands:
cnc@shaper:~$ ethercat pdos -p 19
SM0: PhysAddr 0x1800, DefaultSize  234, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1a00, DefaultSize  234, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
SM3: PhysAddr 0x1100, DefaultSize    0, ControlRegister 0x62, Enable 1
  TxPDO 0x1a00 ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6064:00, 32 bit, ""

cnc@shaper:~$ ethercat rescan

cnc@shaper:~$ ethercat pdos -p 19
SM0: PhysAddr 0x1800, DefaultSize  234, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1a00, DefaultSize  234, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x64, Enable 1
  RxPDO 0x1600 ""
    PDO entry 0x6040:00, 16 bit, ""
    PDO entry 0x6060:00,  8 bit, ""
    PDO entry 0x607a:00, 32 bit, ""
    PDO entry 0x60ff:00, 32 bit, ""
SM3: PhysAddr 0x1100, DefaultSize    0, ControlRegister 0x62, Enable 1
  TxPDO 0x1a00 ""
    PDO entry 0x6041:00, 16 bit, ""
    PDO entry 0x6064:00, 32 bit, ""
    PDO entry 0x6077:00, 16 bit, ""
    PDO entry 0x6061:00,  8 bit, ""

 

hi,

I do not know what exactly means lcec dies ... but command
sudo systemctl restart ethercat.service
should restart your died ethercat service on your host PC...

I did that what I mention in the posts before... we are not in the situation that we are able to use FAoE, AoE or EoE .. but that time should come soon

My symphtons of not working ethercat service because of EoE on was that... sometimes communication between ethercat slave was turned on(less attemps) and comm was 0 (more attempts) .. but behavior was trully randomable... other slaves on bus was in opmode normally with EoE slave on the bus in same time ...

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

More
05 Oct 2024 22:41 - 05 Oct 2024 22:41 #311372 by kworm
Replied by kworm on topic new hardware trouble
Hi Endian,

Sorry I wasn't clear...what I meant is the LinuxCNC dies because lcec errors out on not being able to map the PDO (for example 0x6060) even though it was configured with SDOs but for some reason not visible until doing the "ethercat rescan".

Perhaps these issues are not related but would be strange coincidence that EoE is involved in both. I'm not sure anyone is actually using it with LinuxCNC.
Last edit: 05 Oct 2024 22:41 by kworm.

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

Time to create page: 0.148 seconds
Powered by Kunena Forum