2020年11月27日星期五

Programming Of CNC Lathe

 Programming of CNC Lathe is a relatively systematic operation, which requires strict steps.

At the beginning of the program, the program number is mainly defined, the part processing coordinate system is set, the processing tool is selected, the spindle starts automatically,  the coolant is turned up, etc.

NC program processes. The maximum spindle speed limit defines G50 S2000 and sets the maximum spindle speed to 2000RPM. This is a very important command for the CNC lathe Machine.

If the coordinate system definition is not specified, the CNC system defaults to the G54 coordinate system.

Return to the reference point command G28 U0, in order to avoid collision or interference between the tool post and the workpiece or fixture during the tool change, an effective method is to first return to the machine reference point in the X-axis direction and leave the spindle for a safe period. distance.

Tool definition G0 T0808 M8, automatically adjust No. 8 left offset tool No. 8 tool compensation, turn on coolant.

Spindle speed definition G96 S150 M4, constant linear speed S function definition, S function makes the spindle speed command function of CNC lathe, there are two expressions, one is r/min or rpm as the unit of measurement. The other is based on m/min as the unit of measurement. The S code of the CNC lathe must be used in conjunction with G96 or G97 to set the spindle speed or cutting speed.

G97: Speed ​​command, define and set the speed per minute.

G96: Constant surface speed command, so that the cutting speed at any position on the workpiece is the same.

Programming of CNC Lathe Machine

Programming of CNC Lathe

Programming of CNC Turning Lathe

Programming Of CNC Lathe Program Content Part

The content of the program is the main part of the entire program and consists of multiple program segments. Each program segment is composed of several words, and each word is composed of the address code and several numbers. The common ones are the program segments composed of G and M commands and the coordinate points of each axis, and the function definition of the feed is added.

F function refers to the function of feed speed. There are two ways to express the feed speed of CNC lathes. One is the feed per revolution, which is expressed in mm/r. It is mainly used for the feed of turning. The other is the same as the CNC milling machine, which uses the feed per minute, which is expressed in mm/min. Mainly used for milling feed-in turning and milling machining centers.

End Of Program

At the end of the program, the tool post needs to return to the reference point or machine tool reference point, which is the safe position for the next tool change. At the same time, the spindle is stopped, the coolant is turned off, and the program is selected to stop or end the program.

The reference point return command G28U0 is the machine reference point of the X-axis direction, and G0 Z300.0 is the reference point of the Z-axis direction.

The stop command M01 is a selective stop command, which is only valid when the device’s selective stop switch is turned on; M30 is a program end command. When executed, the coolant, feed and spindle all stop. The numerical control program and numerical control equipment are reset and returned to the original state before processing, to prepare for the next program run and numerical control processing restart.

没有评论:

发表评论