Sorry about this I know this has been covered before but I've done a lot of searching round on here for the answer but can't get to the solution to my problem.
My machine has a gantry driven by 2 steppers (Y axis, A slave) I have 2 home switches connected to their own inputs. When I hit "Ref all home" Z axis refs ok, X axis refs ok then Y begins to travel towards the switch. If I operate the Y axis switch nothing happens, the Y motor continues in the same direction, if I operate the A switch the A axis motor reverses then stops after coming off the switch but the Y axis motor continues. Nothing I do will stop the Y motor other than an emergency stop. I have checked the diagnostic screen and all switches operate as expected. What am I missing?
My button script is as follows,
DoOEMButton (24) 'ref Z
DoOEMButton (22) 'ref X
DoOEMButton (23) 'ref Y
DoOEMButton (25) 'ref A
DoOEMButton (133)
DoOEMButton (134)
DoOEMButton (135)
Many thanks,
Bob.