Ethercat installation from repositories - how to step by step
30 Jan 2023 11:16 #263225
by akg1904
Replied by akg1904 on topic Ethercat installation from repositories - how to step by step
Hi Rodw,
I have mapped my halpins in "ethercat_conf.xml" according to your module and referencing ESI.xml file of my drive
For .hal file I mostly followed your .hal file example.
Thus, now my linuxcnc is Opening but when I tried to jog my servo drive to shows "Joint following error"
Can you point me in a direction where I can figure out would is the Problem and hopefully debug it.
for reference I have attached my modified ethercat_conf.xml file and pre-gui.hal file is already attached below
Regards
Abhishek
I have mapped my halpins in "ethercat_conf.xml" according to your module and referencing ESI.xml file of my drive
For .hal file I mostly followed your .hal file example.
Thus, now my linuxcnc is Opening but when I tried to jog my servo drive to shows "Joint following error"
Can you point me in a direction where I can figure out would is the Problem and hopefully debug it.
for reference I have attached my modified ethercat_conf.xml file and pre-gui.hal file is already attached below
Regards
Abhishek
Attachments:
Please Log in or Create an account to join the conversation.
30 Jan 2023 11:56 #263227
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
A following error happens when the encoder position exceeds the commanded position by allowable limits.
Its possibly because the scale is not correct in your xml file (eg say you move 10mm but the encoder only registers 5mm)
Or your sevo is not yet tuned.
There are some settings in your ini file that relax the limists in your ini file You could make them big units until you get it tuned.
FERROR = 200
MIN_FERROR = 50
Also check if you rotate the motor by hand, does the encoder count? Is the encoder countung the right way?
Its possibly because the scale is not correct in your xml file (eg say you move 10mm but the encoder only registers 5mm)
Or your sevo is not yet tuned.
There are some settings in your ini file that relax the limists in your ini file You could make them big units until you get it tuned.
FERROR = 200
MIN_FERROR = 50
Also check if you rotate the motor by hand, does the encoder count? Is the encoder countung the right way?
Please Log in or Create an account to join the conversation.
30 Jan 2023 13:29 #263234
by akg1904
Replied by akg1904 on topic Ethercat installation from repositories - how to step by step
Hi Rodw,
I tried rotating the motor by hand and looked at the reading at DRO scale for axis for distance but there was no change.
I think this is what you mean by checking encoder count?
Or is there any other way to check the encoder count?
but there is some blink in seven segment led in drive when I rotate the motor.
Regards
Abhishek
I tried rotating the motor by hand and looked at the reading at DRO scale for axis for distance but there was no change.
I think this is what you mean by checking encoder count?
Or is there any other way to check the encoder count?
but there is some blink in seven segment led in drive when I rotate the motor.
Regards
Abhishek
Please Log in or Create an account to join the conversation.
30 Jan 2023 19:47 #263265
by rodw
Replied by rodw on topic Ethercat installation from repositories - how to step by step
Sounds like you have got something wrong in your wiring or config.
Please raise a seperate thread and share you config files xml, ini and hal.
Please raise a seperate thread and share you config files xml, ini and hal.
Please Log in or Create an account to join the conversation.
Time to create page: 0.092 seconds