when the joint beyond the soft limit, I want it can jog into the limits.

More
01 Jun 2023 03:56 #272626 by CTB_le123
Hi, I am a new for linuxcnc redevelopment. I want to  implement this function. When machine homing, the joint exceeds the soft limit. I hope it can be homed normally and the joint can jog into the limits by the handwheel. How should I modify the source code ? 
Thank you sincerely!
 

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

More
01 Jun 2023 11:44 #272633 by tommylight
Under the "home all/axis" and "touch off" buttons there is "ignore limits", click on that.
-
The machine should never hit limits, not soft, not hard limits.

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

More
01 Jun 2023 21:23 #272655 by pippin88
It sounds you just just need to set homing up properly.

You can have the home switch outside the soft limits. After finding the home switch, LinuxCNC will move the amount you specify in the ini file.
You just need to set the correct values.

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

More
09 Jun 2023 07:08 #273227 by CTB_le123
I want to implement my functionality from source. Thank you all the same.

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

More
09 Jun 2023 08:02 #273231 by pippin88
It is not clear what you really want to do

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

More
15 Jun 2023 01:25 #273564 by CTB_le123

It is not clear what you really want to do
 
I am sorry for my unclear expression. I will give an example.  The  [AXIS_X] MAX_LIMIT is -5  and the [JOINT_0] (which is belong to axis_x)MAX_LIMIT = -2. I have made it homed by modifying the code like the first picture. And then  I want to move the axis x into the limit by pin halui.axis.x.minus or the minus sign on the interface (which is shown as the second picture )so that is can work. I  think I should modify the code, but I don't know how to do. 
Thank you for your reply and help. 

Attachments:

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

More
15 Jun 2023 01:27 #273565 by CTB_le123
I am sorry for my unclear expression. I give an example as follow. Thank you, it is very nice of you

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

Time to create page: 0.201 seconds
Powered by Kunena Forum