To make my idea for using the absolute single-turn nature of resolvers work with the position.txt file I have decided that I need to have the home position = resolver-zero (index) = 0.
So for the initial, does-home config (fallback when things go wrong) I have both X and Z axes with:(mm) [AXIS_L] MAX_LIMIT = -0.9 [JOINT_N] MAX_LIMIT = -0.9 HOME_OFFSET = 0 HOME_POSITION = -1 HOME_SEARCH_VEL = 30 HOME_LATCH_VEL = -5 HOME_FINAL_VEL = 5 HOME_USE_INDEX = 1 X-axis is joint 0 has HOME_SEQUENCE = 0, Z home sequence 1 X homes fine and comes to rest at an absolute position of -1 Z homes but then stops at an absolute position of zero and gives the "Stop, fix joints and axis LIMITS, then Restart" message from here: https://github.com/LinuxCNC/linuxcnc/blob/3de0a6a0bf6003e64d9a7cc4abf156d94716722f/src/emc/motion/control.c#L1421 I have tried setting the Z home to -10, and inverting the HOME_FINAL_VEL When I get home I plan on reversing the homing sequence. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
