Tandem Z axis suddenly homing in opposite directions
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.
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.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19209
- Thank you received: 6438
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.
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.
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.
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.
(once parsed and turned into a sequence number) so would not
force synchronized homing
Did you check that (via halmeter or halshow)
joint.3.home-sw-in
and
joint.4.home-sw-in
change appropriately when you activate the Z home switches?
Please Log in or Create an account to join the conversation.
Once I had the machine running I loaded up the attached g-code for a zero clearance insert and couldn't get it to start. I thought perhaps because I removed the tool change in the pncconf earler but no matter what I did the machine wouldn't move under its own command. I tried restarting LinuxCNC which then meant I needed to rehome. Upon hitting the home all button the damn Z axis started going in the opposite directions again.
G-code attached along with the current ini and hal files
Here's precisely what I did.
1) loaded Linuxcnc
2) home all
3) moved Z down
4) moved X
5) touch off X (touch off button)
6 Moved Y
7) touched off Y
8) moved Z down
9) touched off Z
10) pressed run and nothing happened, no errors, no movement, no noise
Thoughts? This is really frustrating.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Edit OK if pncconf uses -0 that's a pncconf bug
(integers like sequence numbers cannot represent -0)
I would renumber the home sequence number starting at -1 for Z
This may not fix all of you issues but will at least
force the Z joints to do synchronized home moves
Please Log in or Create an account to join the conversation.