Robot reads the same position every time it is turned on.

More
26 Jun 2025 12:53 #330891 by hellvetica
Hi, I have a delta robot built on ethercat and running linuxcnc.
We recently got drives with absolute encoders so i had to make a specific homing procedure that just triggers the internal homing on the drives.
The drives then reset their encoder positions internally to 0 or home offset if it's set in HAL with lcec.
Then, when using the robot i could move it somewhere, turn off linux cnc and then start it again and linuxcnc always shows the same position when starting [ 0. , 0. , -496.22474747]. When i disable the home offset this number still stays the same. I move the robot to [0,0,-700], restart and it still shows the same position, and then moves "ignoring" the soft limits. The encoders themselves retain their position information properly, it's just linuxcnc that reads it wrong (or doesn't read it for some reason) What am i missing here?
Here are the files for my config.
Attachments:

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

More
26 Jun 2025 13:18 #330892 by hellvetica
I just noticed that halui.axis.x.pos-relative read the value correctly and it retains it after restart. The axis.x.pos-cmd always starts at -496.2247. When i move the robot the halui.axis.x.pos-relative reports the correct absolute position but the robot moves as if it has been started at -496.2247. Any ideas?

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

More
26 Jun 2025 13:43 #330894 by meister
I would try to remove the PARAMETER_FILE (sim_mm.var) and then start the program

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

More
26 Jun 2025 14:13 #330895 by hellvetica
Thanks for the reply.
I removed it but it had no effect.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
26 Jun 2025 15:07 #330897 by Aciera
Post your custom homing procedure please.

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

Time to create page: 0.173 seconds
Powered by Kunena Forum