Shanghai Richeng Electronics Co. Ltd - ISO9001/IATF16949/ISO/TS22163
Choose Language

Wiring duct,Cable Gland,Cable Tie,Terminals,RCCN

Detailed explanation of the basic functions of the digital control lathe

CNC lathe, also known as CNC lathe, is a computer numerical control lathe. It is the most widely used CNC machine tool in China, accounting for 25% of the total number of CNC machine tools. CNC machine tools are mechatronics products integrating mechanical, electrical, hydraulic, pneumatic, microelectronics and information technologies. It is a working machine with high precision, high efficiency, high automation and high flexibility in mechanical manufacturing equipment. The technical level of CNC machine tools and the percentage of metal cutting machine tool production and total possession are one of the important indicators to measure the national economic development and industrial manufacturing overall level. CNC lathe is one of the main varieties of CNC machine tools. It occupies a very important position in CNC machine tools. It has been widely recognized and rapidly developed in the world for decades.
1. Preparation function (G function)
The preparation function, also called G function (or G code), is a command used to command the working mode of the lathe or the way the control system works. The G function consists of the address character G and the following two digits (00? 99), a total of 100 functions from G00 to G99, used to command different movements of the machine such as G01 to command the linear training of motion coordinates.
The G code has a single G code and a modal G code. The single G code is only valid in the block that is commanded, and the modal G code is valid until the same group G code appears.
At present, the G code of CNC lathes at home and abroad widely uses ISO code, but its standardization degree is not high, and the specified function code is small, which means (cannot be used for other functions), and does not specify generation (meaning that other functions may be specified in the future) The code does not specify the code (referring to the code that does not specify its function in the future). The G code function of the non-CNC system is not consistent, which makes the programming of different CNC systems different. Therefore, it must be in accordance with the manual of the CNC system used. The specific provisions are used.
2. Tool function (T function)
The tool function is also called T function. It is used to command the tool number used in machining and the address word of the automatic compensation group number. The automatic compensation content mainly refers to the tool position deviation and tool radius compensation of the tool. In the numerical control lathe, the subsequent numbers of the address symbol T mainly have the following two regulations.
1 Two-digit specification, as in the economical CNC system of GSK928TA introduced in this book, the two-digit rule is adopted: the first digit generally indicates the tool number, and commonly used 0~8 total 9 digits, of which 0 means no rotation. The last digit indicates the group number of the tool compensation. There are 9 digits commonly used for 0?8, where 0 indicates that the compensation amount is zero. Example: T23 means that the No. 2 knife is turned to the cutting position and the third set of tool compensation values is executed.
2 Four-digit rule: For CNC lathes or turning centers with more tools, the numerical control system generally stipulates that the subsequent digits are four digits, the first two digits are the tool number, and the last two digits are the tool number of the tool compensation or At the same time, the group number for the radius of the tool nose radius compensation. Example: T0203 means to transfer the 2nd to the cutting position and execute the 3rd set of tool compensation values.
3. Spindle function (S function)
Spindle speed command function, which is represented by the address S and the number following it. There are currently S2 (two digits) and S4 (four digits) representations, namely SXX and SXXXX. Generally, the economical CNC lathe generally uses one. One or two agreed codes to control the high speed and low speed of a certain gear of the spindle. For a CNC lathe with stepless speed regulation, the subsequent number can directly indicate the given speed (r/min) of the spindle. The CNC lathe with constant linear speed cutting function can command constant speed rotation/minute in the machining program, and can also command constant linear speed (m/min) during turning, that is, when turning, the spindle speed will follow The turning diameter changes automatically and the line speed is maintained at a given constant value.
1S two-digit number: The domestic CNC lathe is generally represented by one or two digits of the agreed code. The GSK928TA numerical control system introduced in this paper corresponds to the 6-stage spindle mechanical shifting provided by the machine tool (high gear and low gear of each gear). Use S1 to specify high speed, S2 to specify low speed, and use M code to specify the spindle rotation direction, M3 forward rotation, M4 reverse rotation, here the high speed, low speed is only relative to a certain mechanical gear of the machine tool.
2S four-digit number: directly command the number of revolutions (rev/min) of the axis with the address S and the 4-digit value following it. For example, S1200 indicates that the spindle constant speed is 1200 rpm. For CNC systems with constant line speed control function, the line speed behind S is constant. As the turning diameter changes, the spindle speed is calculated according to the given line speed. The position of the tool in an instant is kept in a constant relationship with the surface of the workpiece. Use G96 (constant line speed control command), G97 (specified spindle speed) to match the S code to specify the speed of the spindle. Example: G96 S18 indicates a cutting speed of 18 m/min; G97 S1200 indicates that the G96 spindle speed is 1200 rpm. The use of specific spindle functions is also subject to the specification of the parameter control system.
4. Auxiliary function (M function)
The auxiliary function, also called the M function, is used to command the switching action or state of the auxiliary device in the CNC machine. The auxiliary function uses the address M and its subsequent numbers to be generally two digits.
Since the numerically-used machine actually uses such an address character (see the table below) that conforms to the ISO standard, the degree of its standard is not as high as that of the G command, the specified code is small, and the code is not specified and never specified, so the M function code is often caused by the numerical control system. There are differences between manufacturers and machine tool structures and specifications. Therefore, the programmer must be familiar with the functional meaning of the M function command of the specific CNC system used, and should not be blindly applied.

5. Upgrade function (F function)
When cutting parts, the tool speed is controlled by the specified speed, and the speed of cutting is called the feed-determining speed. The function called feed function is also called F function. For CNC lathe, the feed mode can be divided into: Feeds per minute and feeds per revolution.
(1) Feed per minute: that is, the distance per minute of the tool is mm/min (how many millimeters per minute), regardless of the rotation speed of the lathe, the feed progress does not change with the change of the spindle speed. There is a difference between the concept of the amount of cutting of the ordinary lathe. With the G94 with the command (or no command), most economical CNC lathes use this feed method to command. For beginners, the F function value is often not determined. Reasonable, mainly lack of knowledge of cutting, for the determination of F value, can be calculated by formula F value = lathe speed × selected amount of cutting, such as turning? outer circle, spindle speed is set to 400 rev / min and 600 rpm / min, and the amount of cutter is selected as 0.3mm / rev, then the F value is F120 and F180. However, its feed per revolution is consistent with respect to the cutting feed rate. The lathe speed and the selected amount of the cutter here are basically the same as those of the ordinary lathe according to the type of material, the diameter and the depth of the cutter.
(2) Feed per revolution: the distance that the tool moves in the feed direction every revolution, the unit is mm/rev. The feed of the tool per revolution of the spindle is directly commanded by the value of F, and is matched with G95. The command, such as G95 F0.3, means that the tool moves 0.3 mm/rev in the feed direction for each revolution of the spindle, which is exactly the same as the concept of the cutting amount of the ordinary lathe. The speed at which it changes varies with the spindle.
For the specified range of the F function value, refer to the value range feed setting specified in the machine system manual, and the specified range cannot be exceeded.

Related articles

Previous: What should you pay attention to after the CNC machine tool is finished?
Next: The two major shipbuilding giants in the world have merged and are happy?
On-line
contact
message
download
Print
WeChat WeChat
Collection
TOP