METHOD OF NUMERICAL CONTROL

Abstract: Flame retardant polyurethane foam compositions incorporate an effective amount of a polybrominated higher al­ kylbenzene as a flame retardant and, optionally, a polyaryl phosphate agent.

Description: The present invention relates to a numerical control method for forming a circular arc on a cylindrical surface of a cylindrical workpiece. Conventionally, it has been known to utilize a linear interpolation function of a numerical control unit to effect simultaneous control concerning a rotation axis and a linear axis of a machine tool so that a tool and a cylindrical workpiece, respectively mounted on the machine tool, are moved relative to each other along a desired machining locus, to thereby form a circular arc on a cylindrical surface of the workpiece. Such a type of machining is disclosed in EP-A- 0128767. According to the above-mentioned conventional method, however, it is required to set machining conditions for a respective one of a plurality of sections obtained by finely dividing the machining locus. As a consequence, a program for effecting the circular arc machining on the cylindrical workpiece consists of complicated statements, and this requires effort for preparation of the program. On the other hand, if a dividing number of the machining locus is decreased for ease of preparation of the program, there occurs such a drawback that machining accuracy becomes worsened. The object of the present invention is to provide a numerical control method which is capable of performing circular arc machining on a cylindrical workpiece with high accuracy even by a simplified program. In order to achieve the above-mentioned object, according to the present invention, a numerical control method is provided, in which simultaneous control concerning a rotation axis and a linear axis of a machine tool is effected by means of a numerical control unit which operates in accordance with a machining program, so that a circular arc is formed on a cylindrical surface of a cylindrical workpiece. In this numerical control method, a distance interval, in the circumferential direction of the workpiece, between a start point and an end point of a circular arc to be formed is calculated on the basis of a moving command value for the rotation axis, which value is indicative of an angular interval between the start and end points of the circular arc in the circumferential direction of the workpiece and is represented by angular units. Next, a circular arc interpolation processing is executed on the basis of the thus calculated distance interval and a moving command value for the linear axis, which is represented by length units, so as to calculate a first distribution amount for the rotation axis and a second distribution amount for the linear axis, respectively. The first distribution amount is converted into a third distribution amount which is represented by angular units. Then, the linear and rotation axes are controlled in accordance with the second and third distribution amounts, respectively. In this manner, according to the present invention, the distribution amounts for the rotation and linear axes are obtained by effecting the circular arc interpolation processing on the basis of the value, obtained by the angle/length conversion of the moving command value for the rotation axis, and the moving command value for the linear axis, and then the control along the linear axis is performed in accordance with the thus obtained distribution amount for the linear axis, and further the control around the rotation axis is performed in accordance with the distribution amount which is represented by the angular units and obtained by the length/angular conversion of the distribution amount for the rotation axis, obtained by the circular arc interpolation processing. Therefore, the control for the rotation and linear axes can be carried out so that a tool and the workpiece are moved relative to each other along a desired machining locus, only by setting, in general, the moving command values for the rotation and linear axes. In other words, it is possible to form the circular arc on the cylindrical workpiece with a simplified program. Brief Description of the Drawings Fig. 1 is a function diagram showing a numerical control unit embodying a numerical control method according to an embodiment of the present invention; Fig. 2 is a flowchart showing the method according to the same embodiment of the present invention; Fig. 3 is a schematic perspective view showing, by way of example, a circular arc formed on a cylindrical workpiece; and Fig. 4 is a view showing the circular arc in a state it is developed on a plane. A numerical control unit (not shown), to which a numerical control method of an embodiment of the present invention is applied, is operable to drive motors for rotation and linear axes of a machine tool so that a tool (not shown) and a cylindrical workpiece 10 (Fig. 3), respectively mounted on the machine tool, are moved relative to each other around the rotation axis of the machine tool and along the linear axis thereof. As shown in Fig. 1, the numerical control unit comprises an angle/length conversion section 1 in which a moving command value a for the rotation axis for formation of a circular arc 13 on the cylindrical workpiece 10, i.e., an angular interval a , in the circumferential direction of the workpiece 10, between start and end points 11, 12 of a circular arc 13 to be machined (machining locus), which interval a is represented by angular units (degrees), is converted into a distance interval am , represented by length units (millimeters), between the start and end points 11, 12 of the circular arc 13 in the circumferential direction of the workpiece. The above-mentioned angle/length conversion processing is executed in accordance with the following equation (1). am = π · q · a/360 (1) where q is the diameter of the workpiece 10. In the meantime, the circular arc 13 is represented by part of a circle having a radius of r when the same arc is developed on a plane (Fig. 4). Next, a conventional circular arc interpolation processing is executed in a circular arc interpolation processing section 2 on the basis of the calculated distance interval am and a moving command value x for the linear axis (X axis) for formation of the circular arc 13, i.e., the distance interval, represented by the length units (millimeters), between the start and end points 11, 12 of the circular arc 13 in the axial direction of the workpiece, and in consideration of the circular arc machining direction and the relative feed rate f between the tool and the workpiece 10. Further, in a length/angle conversion processing section 3, a distribution amount Pm , represented by the length units, for the rotation axis (A axis) which amount is obtained by the circular arc interpolation processing, is converted into a distribution amount ao represented by the angular units in accordance with the following equation (2). ao = Pm · 360/π · q (2) A distribution amount Px for the linear axis, obtained by the circular arc interpolation processing and represented by the length units, and the distribution amount ao for the rotation axis, obtained by the length/angle conversion processing and represented by the angle units, are subjected to a known acceleration/deceleration processing in an acceleration/deceleration processing section 4, and are then respectively supplied to position control sections or servo circuits 5, for instance, which receive feedback signals indicative of current rotational positions of the motors 6 for the linear and rotation axes. Further, the linear and rotation axes are driven by the motors 6, controlled by the position control sections 5, so that the tool and the workpiece 10 are moved relative to each other, to form a desired circular arc 13 on the cylindrical workpiece. In the following, the operation of the numerical control unit will be further explained with reference to Fig. 2. As mentioned above, the numerical control unit executes various control operations, including the above-mentioned circular arc machining control, in accordance with an NC machining program, which includes therein a circular arc machining program containing the following two kinds of format. G02 A a X x R r Q q F f G03 A a X x R r Q q F f where G02 represents a clockwise direction circular arc command code; G03, a counterclockwise direction circular arc command code; A , a rotation axis feed function; X , a linear feed function; R , a circular arc radius specifying function; Q , a workpiece diameter specifying function; and F, a feed function, respectively. Further, a , x , r , q , and f each represent a command value of a corresponding one of parameters. In the meantime, the command value a is represented by the units of degrees, and the command value f is represented by the unit system of millimeter/minute, and the other command value is/are represented by the units of millimeters. During the operation of the numerical control unit, the same unit reads out one block from the NC machining program (the step S1), and determines whether the code G02 or the code G03 is described in the block concerned (the step S2). If none of these codes is described, control is shifted to a processing (not shown) other than the circular arc machining. On the other hand, if either the code G02 or the code G03 is found, the numerical control unit converts the moving command value a for the rotation axis, represented by the angular units, into a corresponding value am in length units, in accordance with the above-mentioned equation (1) and by the use of the workpiece diameter value q specified in the block concerned (the step S3). Next, the numerical control unit executes the circular arc interpolation processing on the basis of the moving command value x for the linear axis, the radius r of the circular arc to be machined, the feed rate f , and the machining direction represented by the code G02 or G03, these four parameters being respectively described in the block concerned, as well as the value am mentioned above, so as to obtain the respective distribution amounts Px , Pm for the rotation and linear axes (the step S4). Further, the unit converts the distribution amount Pm for the rotation axis represented by the length units into the distribution amount ao represented by the angular units in accordance with the equation (2) and by the use of the workpiece diameter q stated in the block concerned (the step S5). Then, the numerical control unit outputs the distribution amounts ao and Px to the rotation and linear axes, respectively (the step S6), and performs the acceleration/deceleration processing and the position control (the step S7). Thereafter, the control is returned to the step S1. As a consequence, the above-mentioned circular arc machining is carried out.

Claims: A numerical control method in which controls around a rotation axis (A) and along a linear axis (X) of a machine tool are simultaneously performed by means of a numerical control unit which operates in accordance with a machining program, so that a circular arc (13) is formed on a cylindrical surface of a cylindrical workpiece (10), characterised by the steps of: a) calculating a distance interval (am) in a circumferential direction of the workpiece (10) between a start point (11) and an end point (12) of a circular arc (13) to be formed, on the basis of a moving command value (a) for the rotation axis (A), which value (a) is indicative of an angular interval between the start and end points (11,12) of the circular arc (13) in the circumferential direction of the workpiece (10) and is represented by angular units; b) executing a circular arc interpolation processing on the basis of the distance interval (am) calculated in step a) and a moving command value (x) for the linear axis (X), which are both represented by length units, so as to calculate a first distribution amount (Pm) for the rotation axis (A) and a second distribution amount (Px) for the linear axis (X), respectively; c) converting the first distribution amount (Pm) calculated in step b) into a third distribution amount (ao) which is represented by angular units; and d) controlling the linear and rotation axes (X,A) in accordance with the second and third distribution amounts (Px,ao), respectively. A numerical control method according to claim 1, wherein said machining program includes therein a command value of a diameter of the workpiece, and said distance interval calculating step a) and said conversion step c) are respectively executed by the use of the workpiece diameter command value. A numerical control method according to claim 1 or 2, wherein said circular arc to be machined is represented by part of a circle when it is developed in a plane, and said machining program includes a commnd value of a radius of the circle part, a code indicative of a circular arc machining direction, and a command value of a feed rate, and said circular arc interpolation processing step b) is executed by the use of both of said command values of the radius and feed rate, and said code.

Inventors: KIYA NOBUYUKI, MAEDA KIMIO, KIYA, NOBUYUKI, MAEDA, KIMIO
Applicants: FANUC LTD, FANUC LTD.
Application year: 1988
Main classification: G05B19
IPC codes: G05B19