Programming of CNC Machines. Ken Evans

Чтение книги онлайн.

Читать онлайн книгу Programming of CNC Machines - Ken Evans страница 11

Programming of CNC Machines - Ken Evans

Скачать книгу

target="_blank" rel="nofollow" href="#fb3_img_img_71b7697c-62b2-5ee7-8eff-d8290610b40b.jpg" alt="image"/>

      Figure 17 Axis Designation for a Three Axis Horizontal Mill

      On lathes, the spindle axis is also the workpiece axis.

image

      Figure 18 Axis Designation for a Two Axis Turning Center

      On horizontal milling machines the spindle axis is parallel to the surface of the worktable.

      When using CNC machines, any tool location is controlled within the coordinate system. The accuracy of this positional information is established by specific Zero Points (reference points). The first is Machine Zero, a fixed point established by the manufacturer that is the basis for all coordinate system measurements. On a typical lathe, this is usually the spindle centerline in the X axis and the face of the spindle nose for the Z axis. For a milling machine, this position is often at the furthest end of travel in all three axes in the positive direction. Occasionally, this X axis position is at the center of the table travel.

      This Machine Zero Point establishes the coordinate system for operation of the machine and is commonly called Machine Home (Home Position). Upon startup of the machine, all axes need to be moved to this position to establish the coordinate system origin (commonly called Homing the machine or Zero Return). The Machine Zero Point identifies to the machine controller where the origin for each axis is located.

      The Operator’s manual supplied with the machine should be consulted to identify where this location is and how to properly Home the machine.

      The second zero point can be located anywhere within the machine work envelope and is called Workpiece Zero and is used as the basis for programmed coordinate values used to produce the workpiece. It is established within the part program by a special code and the coordinates are taken from the distance from the Machine Zero point. The code number in the program identifies the location of offset values to the machine control where the exact coordinate distance of the X, Y and Z axes of Workpiece Zero is in relationship to the Machine Zero. All dimensional data on the part will be established by accurately setting the Workpiece Zero. A way of looking at the Workpiece Zero is like another coordinate system within the machine coordinate system, established by the Home Position.

      Tool offsets are also considered to be Zero Points as well and are compensated for with Tool Length and Diameter Offsets. The tool setting point for a lathe has two dimensions; the distance on diameter from the tool tip to the centerline of the tool turret, and the distance from the tool turret face to the tool tip. The tool setting point for the mill is the distance from the spindle face to the tool tip, and the distance from the tool tip to the spindle centerline.

       Blueprint Relationship to CNC

      The standard called ASME Y14.5-1994 establishes a method for communicating part dimensional values, in a uniform way, on the engineering drawing or blueprint. The drawing information will be translated to the coordinate system in order for dimensional values and part features to be manufactured.

      On the blueprint, Datum features are identified as Primary (A), Secondary (B) and Tertiary (C). Dimensions for the workpiece are derived from these datum features. On the drawing, the point where these three datum features meet is called the origin or zero point for the part. When possible, this same point should be used for Workpiece Zero. This allows the use of actual blueprint dimensions within the part program and often results in fewer calculations. Most drawings are developed using an absolute dimensioning system based on Datum dimensions derived from the same fixed point (origin or zero point). Occasionally, some features may be dimensioned from the location of another feature. An example of this might be a row of holes exactly one half of an inch apart. This type of dimensioning is called relative or incremental.

       Note: A thorough knowledge of blueprint reading is imperative for successful results using manual or CNC equipment.

       Machine Zero

      Each CNC machine is assigned a fixed point, which is referred to as Machine Zero (or Machine Home). For most machines, Machine Zero is defined as the extreme travel end position of main machine components that are oriented in a given coordinate system. From Machine Zero, we can determine the values of the coordinates that, in turn, determine the position of the points commanded in a CNC program. Electromechanical sensors called micro-switches (limit switches) are located in the extreme end positions of traveling machine components. These sensors send a signal to the controller when they are activated and thus setting the Home position. In the case of milling machines, Machine Zero on the table is set with respect to the X and Y axes. Machine Zero on the spindle is set with respect to the Z axis, whereas Machine Zero of the tool carrier on lathes is set with respect to the X and Z axes. Positioning the traveling components at zero can be performed manually, as well as with the use of the control panel or directly from within the program by employing a Reference Point Return function (G28). At the initial start up of any CNC Machine, it is required that the machine be “Homed” or sent to Machine Zero before proceeding any further. From that point on, all machine components will always automatically return to the same exact position when commanded to do so in the program.

      Machine Zero is frequently the position in which tool changes take place. Therefore, if you intend to change the tool before a given operation, then the machine must be positioned at Machine Zero for the Z axis on vertical machines and the Y axis on horizontal machines.

       Workpiece Zero

      So far, for all main traveling components of CNC machines, we have assigned an oriented axis within the coordinate system. Any movement of machine components must be described by points, which actually determine the traveling path of the tool. Changes in the position tool are determined with respect to the stationary reference point of Machine Zero.

      In order to better understand this concept, this situation can be illustrated with a rectangular plate in which all coordinates are described at their four corners (P1, P2, P3, P4).

      P1 = X -15.0, Y-10.0

      P2 = X -15.0, Y-12.0

      P3 = X -20.0, Y-12.0

      P4 = X -20.0, Y-10.0

image

      Figure 19 Machine Zero to Workpiece Zero

      Determine the coordinates of these points. The rectangle has been placed in such a manner that each side is parallel to one axis of the coordinate system. If the distance from Machine Zero is measured to any point on the workpiece, the coordinates of the remaining points can be determined from the dimensions given on the drawing.

      All programmed point coordinates, whose values are determined with respect to Machine Zero, must be calculated with respect to Machine Zero every time which is time consuming. It may also cause errors due to the fact that all the given dimensions determining the points do not always refer to those on the drawing. As previously mentioned, in order to determine the coordinates for the four corners of the rectangular part illustrated, it is necessary to find the distance between Machine Zero and a specific point of reference on the part. Then, all the remaining dimensional

Скачать книгу