Proposed solution to home/liimit all issue
Posted: Tue Jul 29, 2025 8:42 pm
I have an issue and would like some feedback on proposed fix.
I have retrofitted Acorn control system to an early 80's vintage Hurco KMB1 mill. Have everything working so far. I've even made a part shown in one of Intercon videos. My problem is with the home/limit switches. I am using the original hall effect prox sensors. There is only one at each end of the axes (6 switches). I do not have seperate limit and home switches, so I am using each switch for both homing and limit.
Switches are wired in series to Input 1. IN1 is defined as 'HomeLimitAll' in the wizard. The machine homes fine. The problem arises when I snd machine back to home/tool change/park. It trips the limit switches, requiring manually moving machine away from limit. My workaround for now is to move the machine just a bit from initial home and reset machine zero. I wouild like to automate that process.
My proposed fix is this:
Seems like cncm.hom is the subroutine invoked to home the machine. I am proposing a few lines at the end to move the machine say 1/8" from home to move away from the prox sesnor then reset home. The current code in cncm.hom:
;Perform Homing commands
;Disable any assigned limit switch inputs
M94 /105
M92/Z L1
M26/Z
M91/Y L1
M26/Y
M91/X L1
M26/X
M95 /105
Add this to the end:
G91
G1 X.125 Y.125 Z-.125 F10
M26/X
M26/Y
M26/Z
Is this plausible? If so, should I save this as a new file and redirect CNC12 to the new homing subroutine? If so, where is this pointer?
Thanks ahead of time,
Mike
I have retrofitted Acorn control system to an early 80's vintage Hurco KMB1 mill. Have everything working so far. I've even made a part shown in one of Intercon videos. My problem is with the home/limit switches. I am using the original hall effect prox sensors. There is only one at each end of the axes (6 switches). I do not have seperate limit and home switches, so I am using each switch for both homing and limit.
Switches are wired in series to Input 1. IN1 is defined as 'HomeLimitAll' in the wizard. The machine homes fine. The problem arises when I snd machine back to home/tool change/park. It trips the limit switches, requiring manually moving machine away from limit. My workaround for now is to move the machine just a bit from initial home and reset machine zero. I wouild like to automate that process.
My proposed fix is this:
Seems like cncm.hom is the subroutine invoked to home the machine. I am proposing a few lines at the end to move the machine say 1/8" from home to move away from the prox sesnor then reset home. The current code in cncm.hom:
;Perform Homing commands
;Disable any assigned limit switch inputs
M94 /105
M92/Z L1
M26/Z
M91/Y L1
M26/Y
M91/X L1
M26/X
M95 /105
Add this to the end:
G91
G1 X.125 Y.125 Z-.125 F10
M26/X
M26/Y
M26/Z
Is this plausible? If so, should I save this as a new file and redirect CNC12 to the new homing subroutine? If so, where is this pointer?
Thanks ahead of time,
Mike