Hi All,
I'm trying to write a program for this old mori seiki 2 axis lathe with a fanuc controller that I've inherited. My program goes to zero return, calls up tool 1, calls my G54 work offset, and then will only move incrementally.
When I have the right tool and I call the G54, my absolute values update correctly. It tells me my tool is 9" above in the x and 17" above in the Z. So I'm asking it to rapid move to X2. Z0. (2" above the part centerline, 0" from the part face. Well, instead of go there it tries to move 2" POSITIVE in the x axis FROM my zero return point making it alarm out. If i put the machine in zero return mode, get both green lights (telling me im correctly on the limit switches) and then go to MDI and type "G0 X2. Z0." it does exactly what I need it to. So I dont know why when its in the program in automatic mode it behaves differently.
Any thoughts??? thank you in advance!
I'm trying to write a program for this old mori seiki 2 axis lathe with a fanuc controller that I've inherited. My program goes to zero return, calls up tool 1, calls my G54 work offset, and then will only move incrementally.
When I have the right tool and I call the G54, my absolute values update correctly. It tells me my tool is 9" above in the x and 17" above in the Z. So I'm asking it to rapid move to X2. Z0. (2" above the part centerline, 0" from the part face. Well, instead of go there it tries to move 2" POSITIVE in the x axis FROM my zero return point making it alarm out. If i put the machine in zero return mode, get both green lights (telling me im correctly on the limit switches) and then go to MDI and type "G0 X2. Z0." it does exactly what I need it to. So I dont know why when its in the program in automatic mode it behaves differently.
Any thoughts??? thank you in advance!