A Flexible Turret Index Position
The cutting tools in your turning centers change on a regular basis. To minimize tool change time during setups, many setup people will simply load the tools required for the new job and leave tools in the turret from the last job as long as they don't interfere with the new job.
The cutting tools in your turning centers change on a regular basis. To minimize tool change time during setups, many setup people will simply load the tools required for the new job and leave tools in the turret from the last job as long as they don't interfere with the new job. This practice is very common, especially when users want to incorporate standard tool stations for their most commonly used tools.
The tool change position must, of course, be far enough away from the workpiece or chuck to allow indexing with all tools currently in the turret. A long boring bar or drill left in the turret from the last job could cause real problems! To handle this potential problem, many users simply make their turret index position far enough away from the chuck to allow all tools they own to safely clear when indexing. Some users make the machine's zero return (reference) position the index position for this very reason. At the zero return position on most turning centers, the turret can safely index any tool into position without interference.
Many, indeed most, jobs allow the turret to safely index much closer to the chuck, meaning it isn't always necessary to go all the way back to the zero return position to change tools. A job with all turning tools (meaning that no drills or boring bars are currently in the turret) will allow the turret index position to be quite close to the chuck or workpiece. However, if some boring bars are required in the job (or if they're left in the turret from the last job) the turret index position must be further away.
With large production quantities, the best way to handle this problem is simply to remove all unneeded tools from the turret during setup and to make the turret index position as close to the workpiece as is safe to do. But with lower quantities or any case where reducing setup time is important, wouldn't it be nice if you could quickly select an index position during setup that would be both safe and efficient for the current set of tools? With custom macro, and with a small programming format change, it's actually quite easy to do this. (Note that some newer controls actually have this feature built-in, meaning you wouldn't need a custom macro or program format change. It's a nice feature, so look for it during your next turning center purchase.)
Here's how we can set a safe clearance with custom macro. With the new setup made, and with all tools in the turret needed for the upcoming job, the setup person manually moves the turret to a safe and efficient index position. With the machine resting at this safe index point, this program can be run:
O9000 (Index position memorizing program)
#511 = #5021 (Memorize current X position relative to zero return position)
#512 = #5022 (Memorize current Z position relative to zero return)
M30 (if activated by automatic mode or M99 if activated by MDI)
This program memorizes the machine's current position for use as the index position during the upcoming run. The #5021 and #5022 are system variables that constantly contain the machine's position in X and Z relative to the zero return. The current machine position is being stored in common variables #511 and #512. These values will be referenced in the cutting program during the run whenever a tool change is required.
To eliminate having to keep referencing these system variables in the cutting program, we recommend using a short custom macro that easily can be executed from the cutting program. For example:
O0001 (Cutting program)
N005 T0101 M42 (First tool)
(Tool change required now)
G65 P9021 (Move to previously selected tool change position)
T0202 (Second tool)
(Tool change required now)
G65 P9021 (Move to previously selected tool change position)
T0303 (Third tool)
Here's the short custom macro O9021:
O9021 (Move to safe index position)
G00 U[#511 - #5021] W[#512 - #5022] (Incrementally, rapid to safe index position)
M99 (End of custom macro)
Related Content
6 Machine Shop Essentials to Stay Competitive
If you want to streamline production and be competitive in the industry, you will need far more than a standard three-axis CNC mill or two-axis CNC lathe and a few measuring tools.
Read MoreCan Connecting ERP to Machine Tool Monitoring Address the Workforce Challenge?
It can if RFID tags are added. Here is how this startup sees a local Internet of Things aiding CNC machine shops.
Read MoreCan AI Replace Programmers? Writers Face a Similar Question
The answer is the same in both cases. Artificial intelligence performs sophisticated tasks, but falls short of delivering on the fullness of what the work entails.
Read MoreTips for Designing CNC Programs That Help Operators
The way a G-code program is formatted directly affects the productivity of the CNC people who use them. Design CNC programs that make CNC setup people and operators’ jobs easier.
Read MoreRead Next
Inside Machineosaurus: Unique Job Shop with Dinosaur-Named CNC Machines, Four-Day Workweek & High-Precision Machining
Take a tour of Machineosaurus, a Massachusetts machine shop where every CNC machine is named after a dinosaur!
Read MoreIMTS 2024: Trends & Takeaways From the Modern Machine Shop Editorial Team
The Modern Machine Shop editorial team highlights their takeaways from IMTS 2024 in a video recap.
Read MoreIncreasing Productivity with Digitalization and AI
Job shops are implementing automation and digitalization into workflows to eliminate set up time and increase repeatability in production.
Read More