- Posts: 58
- Thank you received: 1
Tandem Z axis suddenly homing in opposite directions
- Bearfood
- Offline
- Senior Member
-
Less
More
5 years 6 months ago #205964
by Bearfood
Tandem Z axis suddenly homing in opposite directions was created by Bearfood
Went down to try to get further on the CNC today and homed my machine as usual. Surprisingly the tandem Z access is now trying to home in the opposite directions. I hadn't changed the configuration or wiring so I'm a little perplexed as to how this suddenly started.
When I access each Z joint the + moves the joint up and - moves the joint down on both sides. Homing however, one goes up and one goes down even though it's setup as a tandem joint.
Z is set up as a 4" height 0 being at the top with a -4" travel. Home towards the positive limit, final home position of 4.
Any thoughts?
hal and ini attached.
Tried rebooting the controller and PC with no change
When I access each Z joint the + moves the joint up and - moves the joint down on both sides. Homing however, one goes up and one goes down even though it's setup as a tandem joint.
Z is set up as a 4" height 0 being at the top with a -4" travel. Home towards the positive limit, final home position of 4.
Any thoughts?
hal and ini attached.
Tried rebooting the controller and PC with no change
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
Less
More
- Posts: 2204
- Thank you received: 486
5 years 6 months ago - 5 years 6 months ago #205980
by Clive S
Re: HOME_SEQUENCE = 0 for tandem axis this needs to be a -ve number in both joints.
I don't think -ve zero will work.
Also the jog keys won't jog the correct axis until it is homed.
Replied by Clive S on topic Tandem Z axis suddenly homing in opposite directions
MIN_LIMIT = -4.0
MAX_LIMIT = 4.001
HOME_OFFSET = 4.000000
HOME_SEARCH_VEL = 0.066667
HOME_LATCH_VEL = 0.016667
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_SEQUENCE = 0
Re: HOME_SEQUENCE = 0 for tandem axis this needs to be a -ve number in both joints.
I don't think -ve zero will work.
Also the jog keys won't jog the correct axis until it is homed.
Last edit: 5 years 6 months ago by Clive S.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
5 years 6 months ago #205985
by tommylight
Replied by tommylight on topic Tandem Z axis suddenly homing in opposite directions
One of the Z axis has this to an inverted value:
HOME_SEARCH_VEL = 924983 <<<just some numbers
To change the direction add a - , or remove it if there is one already.
HOME_SEARCH_VEL = 924983 <<<just some numbers
To change the direction add a - , or remove it if there is one already.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
5 years 6 months ago #206050
by cmorley
Replied by cmorley on topic Tandem Z axis suddenly homing in opposite directions
If linuxcnc thinks you are on a limit switch then it will move backwards.
could this be the problem?
The fact it changed over time leads me to this being likely.
other possibility is not running the config you thought you were.
could this be the problem?
The fact it changed over time leads me to this being likely.
other possibility is not running the config you thought you were.
Please Log in or Create an account to join the conversation.
- Bearfood
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 1
5 years 6 months ago #206053
by Bearfood
Replied by Bearfood on topic Tandem Z axis suddenly homing in opposite directions
I've tried a few things here. I reset the HOME_SEQUENCE to -0 which was a suggested change as part of another effort. I've also looked at the limit switches themselves. With a voltage meter I get 12v when depressed and 0v when not. This is as expected because I've wired them backwards and compensated for that in the configuration.
The other oddity that I noticed while troubleshooting is that when I auto home the joints and the Z is doing it's thing going backwards I can manually depress the Z home switch and the gantry doesn't stop moving down. The voltage on the switch does change but the behaviour does not. Does that help?
Thanks
The other oddity that I noticed while troubleshooting is that when I auto home the joints and the Z is doing it's thing going backwards I can manually depress the Z home switch and the gantry doesn't stop moving down. The voltage on the switch does change but the behaviour does not. Does that help?
Thanks
Please Log in or Create an account to join the conversation.
- Bearfood
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 1
5 years 6 months ago #206055
by Bearfood
Replied by Bearfood on topic Tandem Z axis suddenly homing in opposite directions
Okay, that's really weird. I went through pncconf again and switched the homing to towards negative limit, saved and reran linuxcnc. From there they both started homing down. Then went back in and switched to home towards the positive limit, saved and restarted. Now they both home in the proper direction at the same time.
I can't for the life of me understand why. I've been through the pncconf a few times and updated it with no affect until I touched that specific setting and re-saved it. Anyways, hopefully this helps someone else out down the road.
Thanks for your help!
I can't for the life of me understand why. I've been through the pncconf a few times and updated it with no affect until I touched that specific setting and re-saved it. Anyways, hopefully this helps someone else out down the road.
Thanks for your help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds