- Posts: 88
- Thank you received: 1
Does anyone have any ideas or suggestions to solve this problem?Hello
I just connected the z pulse signal from the encoder and I want to use it for homing.
(A, B are not connected) Open loop system
This is how I configured the ini and hal files.
[/code]Code:net home-x => joint.n.home-sw-in net x-index-enable joint.n.index-enable encoder.n.index-enable And [code]HOME_OFFSET = 0 HOME_SEARCH_VEL = 1 HOME_LATCH_VEL = -0.1 HOME_USE_INDEX = Yes HOME = 0 HOME_SEQUENCE = 0 But when the homing command is sent, the joint moves until it reaches the homing switch (for example, position x=20), then the axis value immediately becomes zero and moves in the opposite direction until it reaches the index pulse, and when the index pulse is received, the axis value is set to 20 and moves at maximum speed until it reaches zero. What should I do if I want the joint to stop immediately upon receiving the index pulse and consider that point as the origin? Is not connecting the encoder the reason for this last movement?
Please Log in or Create an account to join the conversation.
This is how I configured the ini and hal files.
Code:net home-x => joint.n.home-sw-in net x-index-enable joint.n.index-enable encoder.n.index-enable And [code]HOME_OFFSET = 0 HOME_SEARCH_VEL = 1 HOME_LATCH_VEL = -0.1 HOME_USE_INDEX = Yes HOME = 0 HOME_SEQUENCE = 0
Please Log in or Create an account to join the conversation.
There may be other issues, but you must haveYes, I tested this before, but it did not make a difference in the result
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.