CiA 402 Folder Missing

More
6 months 2 weeks ago #345702 by Konstantin
Replied by Konstantin on topic CiA 402 Folder Missing
Thank you, andrax. It seems that the absolute encoder would be a good solution and perhaps using them will prevent any homing failure. The batteries are installed in the boxes of each servo. From the servo manual, the default home offset is 0. Therefore this should be the absolute homing position that the servo knows about - 0x6064 should be around 0 or 2^32. When I execute a home procedure in LinuxCNC, the 0x6064h is indeed around 0, I check it via "ethercat upload" terminal command. Then I close and start LinuxCNC again and the motor does not arrive in the same position as the previous execution of homing. There is a different value on the axis/joint DRO. This is my joint configuration:
Code:
[JOINT_0] TYPE = LINEAR MAX_VELOCITY = 200.0 MAX_ACCELERATION = 5000.0 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. # is this applicable for ethercat???? #STEPGEN_MAXVEL = 1250 #STEPGEN_MAXACCEL = 50000 SCALE = 1 FERROR = 200 MIN_FERROR = 100 MIN_LIMIT = -1 MAX_LIMIT = 1200 HOME = 0.0 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = FALSE HOME_SEQUENCE = 0 HOME_ABSOLUTE_ENCODER = 1

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

More
6 months 1 week ago #345721 by andrax

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

More
6 months 1 week ago - 6 months 1 week ago #345783 by Konstantin
Replied by Konstantin on topic CiA 402 Folder Missing
Hello andrax,

I tried to follow your guide but still getting .hal file error for missing pins.
I ran LinuxCNC from terminal and it outputs that the HomeComp started.
Then the terminal reports that pins "joint.0.request-cia-homing" and "start-cia-homing" are not found.
Last edit: 6 months 1 week ago by Konstantin.

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

More
6 months 1 week ago #345801 by andrax
Replied by andrax on topic CiA 402 Folder Missing
At what stage are you?

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

More
6 months 1 week ago #345803 by Konstantin
Replied by Konstantin on topic CiA 402 Folder Missing
I still use only one servo drive, set the position scaling, the maximum velocity of the system and I am experimenting with the homing.
Now I follow you guide about absolute encoders. I uncommented the rows for homing in the .ini and .hal files and added the missing PDOs for homing the .xml file.
By the way in your .ini file you have a homing settings that are not commented and below them you have commented home settings that are said to be only for homing. But if I uncomment them there will be duplicated home settings. Therefore I commented the first batch with home settings and ran LinuxCNC but the missing pins error appeared.

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

More
6 months 1 week ago #345807 by andrax
Replied by andrax on topic CiA 402 Folder Missing
It clearly states under point 6 that after switching to the battery encoder cable, a reference run must be performed again. After that, you can comment out the lines.
The internal CIA402homecomp should be used for this one-time reference run.

What do your configurations look like?

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

Time to create page: 0.066 seconds
Powered by Kunena Forum