- Posts: 84
- Thank you received: 8
Please help me get this Homing Sequence Right
- eighthaxis
- Offline
- Premium Member
-
Less
More
5 years 5 months ago #208842
by eighthaxis
Replied by eighthaxis on topic Please help me get this Homing Sequence Right
Doesen't this part of the manual say to set
HOME_IGNORE-LIMITS to YES if you are not using separate Home and Limit switches?
6.4. HOME_IGNORE_LIMITS
Can hold the values YES / NO. The default value for this parameter is NO. This flag determines whether LinuxCNC will ignore the limit switch input for this joint while homing. This setting will not ignore limit inputs for other joints. If you do not have a separate home switch set this to YES and connect the limit switch signal to the joint home switch input in HAL. LinuxCNC will ignore the limit switch input for this joint while homing. To use only one input for all homing and limits you will have to block the limit signals of the joints not homing in HAL and home one joint at a time.
HOME_IGNORE-LIMITS to YES if you are not using separate Home and Limit switches?
6.4. HOME_IGNORE_LIMITS
Can hold the values YES / NO. The default value for this parameter is NO. This flag determines whether LinuxCNC will ignore the limit switch input for this joint while homing. This setting will not ignore limit inputs for other joints. If you do not have a separate home switch set this to YES and connect the limit switch signal to the joint home switch input in HAL. LinuxCNC will ignore the limit switch input for this joint while homing. To use only one input for all homing and limits you will have to block the limit signals of the joints not homing in HAL and home one joint at a time.
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
-
Less
More
- Posts: 529
- Thank you received: 140
5 years 5 months ago #208845
by chris@cnc
Replied by chris@cnc on topic Please help me get this Homing Sequence Right
Now I'm confused too. Should the machine stop at the limit switch or not?
And index pulse = Z Phase encoder.
The zero mark on your encoder and there is only once per turn. Check in halshow
Is it also wired?
And index pulse = Z Phase encoder.
The zero mark on your encoder and there is only once per turn. Check in halshow
Is it also wired?
Please Log in or Create an account to join the conversation.
- eighthaxis
- Offline
- Premium Member
-
Less
More
- Posts: 84
- Thank you received: 8
5 years 5 months ago #208868
by eighthaxis
Replied by eighthaxis on topic Please help me get this Homing Sequence Right
Of course it should stop on the limit switch no one wants a crash.
So in halshow I watch: hm2_5i25.0.encoder.00.input-index
while manually jogging the axis and it just stays on a red indicator.
Do all encoders have this index mark?
So in halshow I watch: hm2_5i25.0.encoder.00.input-index
while manually jogging the axis and it just stays on a red indicator.
Do all encoders have this index mark?
Please Log in or Create an account to join the conversation.
- Michael
- Offline
- Platinum Member
-
Less
More
- Posts: 335
- Thank you received: 59
5 years 5 months ago - 5 years 5 months ago #208870
by Michael
Replied by Michael on topic Please help me get this Homing Sequence Right
Based on your first post it sounds like you do not have homing switches anywhere. Just limit switches on each end and you want to use one of the limit switches to home the machine. This is a perfectly fine setup but the limit switches need to be ignored during the homing process. Otherwise it will fault at the switch.
You only want to have that setting set to no if you have 3 switches per axis (for argument sake). If your axis setup looked like this:
Limit>>>>>>>>>home>>>>>>>>>limit
As for the index, depending on setup, the axis will go to home switch then go forward or backward (based on settings) to the next Z pulse. There is one z pulse per revolution.
You only want to have that setting set to no if you have 3 switches per axis (for argument sake). If your axis setup looked like this:
Limit>>>>>>>>>home>>>>>>>>>limit
As for the index, depending on setup, the axis will go to home switch then go forward or backward (based on settings) to the next Z pulse. There is one z pulse per revolution.
Last edit: 5 years 5 months ago by Michael.
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
-
Less
More
- Posts: 529
- Thank you received: 140
5 years 5 months ago #208871
by chris@cnc
Replied by chris@cnc on topic Please help me get this Homing Sequence Right
Yes.
another idea if you wire your limit switch to second input you have limit and reference switch in one.
another idea if you wire your limit switch to second input you have limit and reference switch in one.
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
-
Less
More
- Posts: 1947
- Thank you received: 338
5 years 5 months ago - 5 years 5 months ago #208872
by bevins
Replied by bevins on topic Please help me get this Homing Sequence Right
Use home ignore limits that will ignore the limit switch that is shared with home switch while homing.
INI FILE:
HAL File:
When homing this will ignore the limit switch and use it for home switch. Then offset off of it for HOME_OFFSET=.5
Then it will work.
/EDIT: HOME_SEARCH_VEL should not be 0 neither should HOME_LATCH_VEL
INI FILE:
Code:
HOME_OFFSET=.5
HOME_IGNORE_LIMITS = YES
HAL File:
Code:
net both-home-x <= hm2_7i92.0.7i76.0.0.input-08-not
net both-home-x => joint.1.home-sw-in
net both-home-x => joint.1.neg-lim-sw-in
When homing this will ignore the limit switch and use it for home switch. Then offset off of it for HOME_OFFSET=.5
Then it will work.
/EDIT: HOME_SEARCH_VEL should not be 0 neither should HOME_LATCH_VEL
Last edit: 5 years 5 months ago by bevins.
The following user(s) said Thank You: eighthaxis
Please Log in or Create an account to join the conversation.
Time to create page: 0.914 seconds