3. Common programming instructions (function words) Function words, also called program words or instructions, are special terms for machine tool digital control. He defines a set of code symbols with a defined order that can be stored, passed, and manipulated as a unit of information. (1) Coordinate word: The displacement amount used to set the coordinates of the machine tool is composed of coordinate address characters and numbers, generally starting with letters such as X, Y, Z, U, V, W, etc., followed by "+" or "- And a string of numbers. This number is generally in units of pulse equivalents, without the use of a decimal point. If a decimal number is used, the basic unit is mm. (2) Prepare function word (referred to as G function): Specify the movement mode of the machine tool, prepare for the interpolation operation of the CNC system, consisting of the preparation function address character “G†and two digits. The code of the G function has been standardized. Some multi-function machines have instructions with numbers greater than 100. Common G commands: coordinate positioning and interpolation; coordinate plane selection; fixed cycle machining; tool compensation; absolute coordinates and incremental coordinates. (3 ) Feed function word: Specify the movement speed of the tool relative to the workpiece. The feed function word is preceded by the address character “Fâ€, followed by a string of words, in mm/min. When the feed speed is related to the spindle speed, For machining such as threading, tapping or bushing, the unit used can also be mm/r. Three-digit code method: F followed by three digits, the first digit is the integer digit of the feedrate plus "3", the last two digits are the first two significant digits of the feedrate. For example, 1728mm/min is designated as F717. Two-digit code method: F followed by two digits, specifies the speedometer corresponding to 00-99. Except for 00 and 99, when the digital code increases from 01 to 98, the speed increases by the proportional relationship, and the ratio is 1.12. . Such as F21 speed 11.2mm / min, F54 speed 500mm / min. One-digit code method: Machine F with less speed file is followed by a digit, ie 0-9, corresponding to ten predetermined speeds. Direct designation method: directly write the required feed rate in F according to the predetermined unit. (4) Spindle speed function word: Specify the spindle rotation speed, with the address character S as the head, followed by a string of numbers. The meaning of the number, the binning method and the comparison table are common to the feed function word, but the unit is: r/min. (5 ) Tool function word: When the system has the tool change function, the tool function word is used to select the replacement tool, with the address character T as the head, and then generally followed by two digits, the number represents the tool number. (6 ) Auxiliary function word: It is used for the machining instruction during machine tool operation, with address character M as the head, followed by two digits (M00-M99), common M command: spindle steering and start and stop; coolant opening And stop; specify the clamping and loosening of the machine; specify the fixed straight line and angular displacement of the table, etc.; indicate that the program stops or the tape ends. (7) Modal and non-modal commands : G and M commands are divided into modal and non-modal commands. Modal commands: Also called resuming instructions, they are divided into groups according to their functions. The second group in Table 2 is marked with the same letter. Once the modal command is specified in the block, it remains valid until it expires in the same group or is canceled by other commands. The same modal command as the previous segment can be omitted. Previous page next page Japanese Medium Duty Industrial Casters Japanese Medium Duty Industrial Casters Japanese Medium Duty Industrial Casters Ningbo Mywin Caster Co., Ltd. , https://www.mywin-caster.com