@Anonymous wrote:
Okee let me explain:
The lath is converted from manual to cnc. We will use the lath as normal (with cutting tools) but some where in the process we will do a tool change and then in the same holder we will use a mill ( mill will be used on the X axis and the C axis will rotate)
You can use the X axis to make grooves onthe part. Thus why I need to lock out the Y-axis. And need to change the post proces to xzc.
So this will make sure that the Z axis of a normal mill is on my X axis (lathe) and the the mill X axis is my Z axis (lathe).
And it was a type about my M code it must be G112. Even with this proces it still exporting Y to my gcode.
I'm sorry for my bad explaining. It's a while ago I use CNC terms and specially trying to explain in English 😅.
@Anonymous i read some where you need to use G112 to convert Y to X movement. But I suppose I had it wrong.
I added a photo and you will have a better idea of what I mean with my axis and where my mill will be placed 🙂
The photo is quickly made, the green line is where the mill will be placed after the tool change.
Not exactly,..... G112 does not convert Y to X movement.
G112 (polar mode on)
G113 (polar mode off)
Polar mode only works in XY plane (face of round stock on lathe), it converts Y axis Cartesian coordinate into polar coordinate by means of rotating C axis to angle that coincides with X coordinate of tool position.
Basically works as vertical mill but, instead of moving Y axis, it rotates C axis which can only rotate around its center axis.
If you have some sort of retrofitted control with custom rotary tool attachment, general principles still apply.
You have to have ability to lock spindle and drive it in increments from 0 - 360 degrees as Z axis is driven from face of stock towards chuck at given pitch.
Mill-turn setup and post should produce the code, you don't need to disable Y axis in post, it will not be used in resulting code unless you use lead in and lead out at angles that would require Y axis moves.