Monday, December 8, 2008

what is offset?

All forms of compensation work with offsets. You can think of CNC offsets as like memories on an electronic calculator. If your calculator has memories, you know you can store a constant value into each memory for use during a calculation. This keeps you from having to enter the number over and over again with redundant calculations.

Like the memories of an electronic calculator, offsets in the CNC control are storage locations into which numerical values can be placed. Just as the value within the memory of a calculator has no meaning until referenced by its user within a calculation, neither does the value within an offset of the CNC control have any meaning until it is referenced by a CNC program.

From the marksman analogy, you can think of the values stored in CNC offsets as like the amount of adjustment required on the sight of the rifle necessary to compensate for the distance to the target. Keep in mind that the rifle only needed adjustment for one purpose, to adjust for the distance to the target. With most CNC machine tools, there is a need for at least one offset per tool.

Reasons for tool offsets

Offsets can be used for several purposes depending on the style of machine tool and type of compensation being used. Here are some of the more common applications for offsets.

To specify tool each tool's length

For machining center applications, it would be very difficult for the programmer to predict the precise length of each tool used in the program. For this reason, the feature tool length compensation allows the programmer to ignore each tool's length as the program is written. At the time of setup, the setup person measures the length of each tool and inputs the tool length value into the corresponding offset.

To specify the radius of the cutting tool

When milling on the periphery of the cutter (contour milling), it can be cumbersome and difficult for the programmer to program the cutter's path based on the size of the milling cutter being used. Also, if the cutter size must change (possibly due to re-sharpening), it would be infeasible to change the program based on the new cutter size. For this reason, the feature cutter radius compensation allows the programmer to ignore the cutter size as the program is written. The setup person inputs the size of each milling cutter into its corresponding tool offset. In similar fashion, turning centers have a feature called tool nose radius compensation. With this feature, an offset is used to specify the radius of the very tip of the turning or boring tool.

To assign program zero

Machining centers that have fixture offsets (also called coordinate system shifting) allow the user to specify the position of the program zero point within offsets, keeping the assignment of program zero separate from the program. In similar fashion many turning centers allow the assignment of program zero with offsets (this feature is commonly called geometry offsets).

To allow sizing on turning centers

Tool offsets are used on all turning centers to allow the operator to hold size with tools used within their programs. This allows the operator to adjust for imperfections with tool placement during setup. It also allows the operator to adjust the tool's movements to allow for tool wear during each tool's life.

Organizing offsets

With some CNC controls, the organization of offsets is very obvious. Some machining center controls, for example, automatically make the offset number correspond to the tool station number. With this kind of machine, when tool station number one is commanded, the control will automatically invoke offset number one. Within offset number one, the operator can store a tool length value as well as a tool radius value.

Unfortunately, not all controls make it this simple. In many controls, each offset contains only one value and the offset number has no real relationship to the tool station number. In this case, the programmer must cautiously organize which offset/s are used with each tool.

For example, the tool length compensation offset numbers can be made the same as tool station numbers. Cutter radius compensation offset numbers can be made equal to the tool station number PLUS a constant value larger than the number of tools the machine can hold. If the machine can hold 25 tools, tool station number one could be made to use offset number one to store its length compensation value and offset number thirty-one could be used to store its cutter radius compensation value. With this method of offset organization, the programmer and operator are constantly in sync.

The offset table on most turning centers incorporate at least two values per offset. Generally speaking, the programmer will instate the offset number corresponding to the tool station number for each tool offset used. That is, tool number one will use (only) offset number one, tool two will use offset two, and so on. Additionally, most turning center offset tables allow the user to enter data related to the tool's radius (for tool nose radius compensation). Typically the radius (R column of the offset table) and the tool type (the T column of the offset table) can be specified within the turning center's offset table. 

No comments: