Can someone help me with M-codes for programmable tailstock, i have one in my Okuma LC-20 lathe. I have been using tailstock longtime in manual mode, but i haven't never programmed it. I was searching codes or G-code lines from internet but i didn't found any other proper codes than M55 and M56 which are used to get live center out and in. If someone would have lines of G-code where tailstock in use and/or M-codes it would be really awesome.
From memory this code moves the tailstock into position.
G152 Wxxxx
The W axis can be Zeroset just like Z on either turret.
M55 & M56 also can be used to extend / retract the quill.
There are another two codes used to control interlock conditions also, need to check at work tomorrow.
Cheers
Brian.
Yes, it is towed with turret so that turret is driven over tailstock and when tailstock is unclamped, there comes short bar trough bottom of turret and it is towed with that method. And tailstock is W axis.
Could you give small programming example, it would enlight me much, because i dont't know how you use these commands in actual program.
I have bit over long pipes which have tendency to vibrate when working out side of them and i have suitable live center which could be used to negate the vibration, but tailstock would be needed to drive out of the way because i have to work inside pipe too.
Machine is pre-owned and i do have all other books than the programming manual
Sorry if there are errors in my text, i am not english language and lathe english is bit harder than normal
Thanks from replies.
The G152 Wxxx command includes all the joint connect/disconnect commands within it.
You DO NOT have to program them along with the G152 command.
You cannot program a move such as G0 Wxxx as the machine will not allow it!
I will get you a program example ASAP but busy at the moment.
Cheers
Brian.
Ah ok my Mori allows an auto-pickup G code or I can program each individual move like rapid, unclamp, rapid, clamp.
So if the Okuma G code includes joint positioning/unclamp/clamp and the machine knows where the tailstock is currently it should be the same as our Multus with OSP-P200L
The programmable tailstock pages for the P200L control are attached.
There's a programming example on one of the pages and a full explanation of each individual step the machine does when it reads a G152.
One thing that is strange.... if you can't move the tailstock in rapid when it's connected to the saddle, in what situation would you use the Joint On/Off commands?
The control for tailstock is kind of additional box in the side of OSP-5000 box.
The button in bottom is used to "auto" position turret in to towin position.
So is it working like somewhat that way:
You give W axle zero point for example the clamping position where tail stock is in position for center to be pushed against pipe.
Now when you have line G152 W0, turret will go to pick up the tail stock where it currently happends to be and tow it to given zeropoint of tail stock. You do the work and give G152 W300 and turret will go again to pick up tail stock and tow it to position 300?
Thanks for helping me out already.
Hi -JAK-
Yes your last opinion is correct.
Looking up all the codes relating to the tailstock I can find for our old LC20M (decommissioned 5 years ago , loved that machine, it was an awesome workhorse!)
M55 Quill Advance
M56 Quill Retract
M156 Tailstock Interlock Condition ON, i.e. Quill must be "In-Position" for machine to operate
M157 Tailstock Interlock Condition OFF, i.e. Tailstock is active, but machine can run without the quill being "In-Position"
M188 MDI Command to engage Joint.
M189 MDI Command to disengage Joint.
M190 Allows use of Rapid traverse when joint is engaged, I have never personally used this command.
G152 Wxxx Programmable positioning command for moving Tailstock to "W" position. Can be Zeroset just like any other axis on the machine.
I have attached a drawing of a part we used to make in the past that demonstrates the use of the tailstock.
The program to machine the part (only machines one half of the shaft) is shown below...
Hopefully you will be able to see how the program works)
Im doing big waves currently to Broby and other who participated for helping me out, thanks to all. Also big hand from G-code pdf, it usually helps lot when seeing usage in actual program. I understand now the M-codes to tail stock, and i think i can program it now.
Yes, LC seems very reliable and highly accurate. My machine is kind of pearl because i found it few years ago with only about 6000 spinde hours in machine, which i consider very low for hours that these machines can take. Also fine that it has heavy frame, so tool measures changes fairly little during day and therefore you don't have to compensate them much during day.
I have the same issue on same controller on okuma lb 12. I can move the quil only by enabling tailstock on the parameter page and using m56. When ts enabled ,working with no ts is impossible. Also, pedal wouldn't "in place" the tailstock (lamp is off) only m56.
How can i use the pedals in mid program, and how can i work in ts enabled mode but not using ts? (I want to face the part chamfer, little bit od and center drill it for the ts)