Joke Collection Website - Mood Talk - Who can tell me the main program code of Frank System Machining Center?

Who can tell me the main program code of Frank System Machining Center?

First, prepare the function word g

Preparation function word is an instruction to make CNC machine tools establish a certain processing mode, such as interpolation, tool compensation, fixed cycle, etc. G function word consists of address symbol G and the last two digits, and has the function from G00 to G99 * * * 100. JB3208-83 standard provides the following table: code function range code function range function G00 point positioning G50 * cutter offset 0/- G0 1 linear interpolation G5 1 * cutter offset +/0 G02 clockwise circular interpolation G52 * cutter offset-0 G03 counterclockwise circular interpolation G53 linear offset cancellation G04 * suspension G54 linear offset XG05. Do not specify G55 linear offset Y G06 parabolic interpolation G56 linear offset Z G07 * Do not specify G57 linear offset XG08 * Accelerate G58 linear offset XZ G09 * Decelerate G59 linear offset YZ G 10-G 16 * Do not specify G60 precise positioning (precision) G 17 XY plane selection G/KLOC. Precisely locate (middle) G 18 ZX plane selection G62 precisely locate (coarse) G 19 YZ plane selection G63. Wire G20-G32 * does not specify G64-G67 * does not specify G33 thread cutting, constant pitch G68 * tool offset, internal angle G34 thread cutting, increased pitch G69 * tool offset, external angle G35 thread cutting, decreased pitch G70-G79 * does not specify G36-G39 * does not specify G80 fixed cycle to cancel G40 tool compensation/tool offset. -G89 fixed cycle G4 1 tool compensation-left G90 absolute size G42 tool compensation-right G9 1 incremental size G43 * tool offset-positive G92 * preset register G44 * tool offset-right G93 feed speed, countdown time G45 * tool offset +/+ G94 feed g46

Auxiliary function words are used to specify the rotation direction of the spindle, start and stop, switch of coolant, clamping and loosening of workpiece or tool, replacement of tool and other functions. The auxiliary function word consists of the address symbol m followed by two digits. JB3208-83 standard stipulates the following table: code function range code function range function M00 * program stop M36 * feed range 1 M0 1 * planned end M37 * feed range 2 M02 * program end M38 * spindle speed range 1 M03 spindle rotates clockwise M39 * Spindle speed range 2 M04 Spindle rotates counterclockwise M40-M45 * Shifts M05 Spindle stops M46-M47 * Does not specify M06 * Tool change M48 * Cancel M49 M07 coolant opening M49 * Feed speed correction bypass M08 1 coolant on M50 * 3 coolant on M09 coolant off m 1 * 4 Coolant on M 10 Clamping M52-M54 * does not specify M 1 1 Loosening M55 * Cutter linear displacement, and position 1 M 12 * does not specify M56 * Cutter linear displacement. Position 2m 14 Coolant M60 is started to change work M 15 * positive motion M 1 linear displacement of workpiece, position 1 M 16 * negative motion M62 * linear displacement of workpiece, Position 2 M 17-M 18 * Not specified M63-M70 * Not specified M 19 spindle orientation stops M7 1 * workpiece angular displacement, position 1 M20-M29 position 2 M30 * paper tape end m73-m89.