Config-Problem Ethercat

More
1 year 4 weeks ago #335762 by Red_D85
Hallo

ich habe ein oder besser mehrer Probleme mit meiner Config. Vielleicht kann mir ja helfen das ein oder andere Problem zu beseitigen.
meine Config :

EK1100
  • EL1008
  • EL4001
  • EL9010
Lichuan TLC36V-E (X)
Lichuan TLC36V-E (Y)
Rtelligent ECR60 (Z)

LinuxCNC startet fehlerfrei auf aber:
  • Problem 1 Z-Achse wird zwar Aktiv aber bewegt sich nicht. Man muss dazu sagen ECR60 hat leider kein Encoder-Feedback
  • Problem 2 Kein DC / Watchdog, wenn dieses Aktiv geschaltet wird fallen die Lichuan in SafOP+ERR
wie bekomme ich Problem 1 in den Griff. Ich verstehe nicht wieso der Motor nicht drehen will.

Freundliche Grüsse 

File Attachment:

File Name: cia402_2025-10-03.ini
File Size:2.16 KB
 

File Attachment:

File Name: ethercat-conf.xml
File Size:4.69 KB
 

File Attachment:

File Name: cia4021.hal
File Size:2.3 KB

 

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

More
1 year 4 weeks ago - 1 year 4 weeks ago #335809 by Hakan
Replied by Hakan on topic Config-Problem Ethercat
1. Z is not connected to the joint. Check the hal file how it is done for X and Y and do the same way for Z.

2. To enable DC
refClockSyncCycles= -1000 (or any other negative or positive number you like to use, not 0)
Use the line  <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
and remove the watchog line. Normally don't need to specify that, there is a default watchdog of 100 ms
If the drive absolutely wants a watchdog statement, use the line <watchdog divider="2498" intervals="1000"/>
 
Last edit: 1 year 4 weeks ago by Hakan. Reason: Removed comment

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

More
1 year 3 weeks ago #335896 by Red_D85
Replied by Red_D85 on topic Config-Problem Ethercat
sorry im a idiot. this was the wrong file.

 

File Attachment:

File Name: cia402_2025-10-06.hal
File Size:4.48 KB

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

More
1 year 3 weeks ago #335902 by Hakan
Replied by Hakan on topic Config-Problem Ethercat
Haha, ok..

Taking this as the cia402 reference example  github.com/dbraun1981/hal-cia402/blob/main/example/cia402.hal
you normally connect opmode to the cia402 module. I would say connect lcec.0.5 to cia402.2 in the same way as in the example.

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

More
1 year 3 weeks ago #335975 by Red_D85
Replied by Red_D85 on topic Config-Problem Ethercat
Das Problem hab ich gefunden nur keine idee wie ich es umgehen kann. Es wird ein Feedback vom Motor/Encoder erwartet aber der ECR60 hat keinen. Hat jemand einen Lösungsvorschlag um das zu umgehen?

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

More
1 year 3 weeks ago #335984 by Hakan
Replied by Hakan on topic Config-Problem Ethercat
I assume the ERC60 just reports back the commanded position as actual position, without knowing if it lost steps.
Have you verified with halshow that  joint.2.motor-pos-fb =cia402.2.pos-cmd and cia402.2.drv-actual-position = lcec.0.5.actual-position?

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

Moderators: Muecke
Time to create page: 0.321 seconds
Powered by Kunena Forum