- Posts: 36
- Thank you received: 1
Config-Problem Ethercat
1 year 4 weeks ago #335762
by Red_D85
Config-Problem Ethercat was created 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
Lichuan TLC36V-E (Y)
Rtelligent ECR60 (Z)
LinuxCNC startet fehlerfrei auf aber:
Freundliche Grüsse
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 (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
Freundliche Grüsse
Please Log in or Create an account to join the conversation.
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"/>
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.
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.
Please Log in or Create an account to join the conversation.
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.
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.
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.
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?
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