Need dummy proof HOM sequence (Resolved)
Posted: Mon Jan 18, 2021 11:31 am
Hi there, I need to create a homing file that is similar to the one I have, but I need it to home the Y-axis differently...
This is my current home program:
;Disable all limits
M94 /101 /102 /103 /104
;Perform Homing commands
M26/Z
M92/Y L1 ;y axis + home
M26/Y
M91/X L1 ;x axis - home
M26/X
;Enable all limits
M95 /101 /102 /103 /104
Normally, the Y axis would go toward the + direction until it reaches the proximity sensor. Then the input 6 goes to 24V and the slow jog stops and backs off (- direction) a little bit. However, if the Y axis is already in the + coordinates, then the prox sensor is constantly at 24V. This is an issue because if the operator presses the reset home button, the Y axis will not back off until the prox is cleared. It will only back off a little bit, thus changing the Y axis home.
I need to check input 6 to see if it is high or low and base my action for the Y axis off that input. If input 6 is high, then slow jog in - direction until it is low. And then possibly the M92/Y L1.
Please note... The input 6 is also tied to the X home prox sensor as well. The X home sequence (M91/X L1) should not be an issue because the X is always in the + coordinates.
If you have any suggestions, I would appreaciate it!
Thanks,
Peter
This is my current home program:
;Disable all limits
M94 /101 /102 /103 /104
;Perform Homing commands
M26/Z
M92/Y L1 ;y axis + home
M26/Y
M91/X L1 ;x axis - home
M26/X
;Enable all limits
M95 /101 /102 /103 /104
Normally, the Y axis would go toward the + direction until it reaches the proximity sensor. Then the input 6 goes to 24V and the slow jog stops and backs off (- direction) a little bit. However, if the Y axis is already in the + coordinates, then the prox sensor is constantly at 24V. This is an issue because if the operator presses the reset home button, the Y axis will not back off until the prox is cleared. It will only back off a little bit, thus changing the Y axis home.
I need to check input 6 to see if it is high or low and base my action for the Y axis off that input. If input 6 is high, then slow jog in - direction until it is low. And then possibly the M92/Y L1.
Please note... The input 6 is also tied to the X home prox sensor as well. The X home sequence (M91/X L1) should not be an issue because the X is always in the + coordinates.
If you have any suggestions, I would appreaciate it!
Thanks,
Peter