180 likes | 271 Views
Documenting in the program. Relates to machining and turning centers. Example:. O0001 (THIS PROGRAM IS FOR PART #A1276-C) N005 T01 M06. Documenting in the program. Commonly taught in basic CNC courses:. Parentheses [()] allow messages Control ignores anything inside
E N D
Documenting in the program Relates to machining and turning centers
Example: O0001 (THIS PROGRAM IS FOR PART #A1276-C) N005 T01 M06 . Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls)
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
Documenting in the program O0001 (*** PROGRAM QUALIFIED 2/12/99 ***) ( MACHINE: MORI SEIKE SL4) ( PART NUMBER: A-2355-2C) ( PART NAME: BEARING FLANGE) ( REVISION: F) ( CUSTOMER: ABC COMPANY) ( OPERATION: 20, MACHINE BORED END) ( PROGRAMMER: MLL) (DATE FIRST RUN: 4/11/98) (PROGRAM REVISION: C) ( LAST PROGRAM REVISION: 1/30/98 BY CRD) ( RUN TIME: 00:05:25) N005 T0101 M41 N010 G96 S400 M03 N015 G00 X3. Z.1 M08 Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed A program header will provide information about your program
Documenting in the program O0001 (*** PROGRAM QUALIFIED 2/12/99 ***) ( MACHINE: MORI SEIKE SL4) ( PART NUMBER: A-2355-2C) ( PART NAME: BEARING FLANGE) ( REVISION: F) ( CUSTOMER: ABC COMPANY) ( OPERATION: 20, MACHINE BORED END) ( PROGRAMMER: MLL) (DATE FIRST RUN: 4/11/98) (PROGRAM REVISION: C) ( LAST PROGRAM REVISION: 1/30/98 BY CRD) ( RUN TIME: 00:05:25) N005 T0101 M41 N010 G96 S400 M03 N015 G00 X3. Z.1 M08 Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Should be used to document Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed Of special importance
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
Documenting in the program O0001 (ROUGH TURNING TOOL) N005 T0101 M41 N010 G96 S400 M03 N015 G00 X3.040 Z0.1 N020 G01 Z-1.995 F0.017 N025 X3.25 N030 G00 X6.0 Z5.0 N035 M01 (2” DRILL) N040 T0303 M41 N045 G97 S300 M03 N050 G00 X0 Z0.1 N055 G01 Z-2.6 F.009 N060 G00 Z0.1 N065 G00 X6.0 Z5.0 N070 M01 (1.5” ROUGH BORING BAR) N075 T0404 M41 N080 G96 S400 M03 N085 G00 X2.085 Z0.1 N090 G01 Z-1.995 F0.010 N095 X2.0 N100 G00 Z0.1 N105 X6.0 Z5.0 N110 M01 (1.5” FINISH BORING BAR) N115 T0505 M42 N120 G96 S600 M03 N125 G00 X1.125 Z0.1 N130 G01 Z-2.0 F0.006 N135 X2.0 N140 G00 Z0.1 N145 G00 X6.0 Z5.0 N148 M01 (FINISH TURNING TOOL) N150 T0202 M42 N155 G96 S600 M03 N160 G00 X3. Z0.1 N165 G01 Z-2.0 F0.006 N170 X3.25 N175 G00 X6.0 Z5.0 N180 M01 N185 M30 Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
Documenting in the program O0001 (ROUGH TURNING TOOL) N005 T0101 M41 N010 G96 S400 M03 N015 G00 X3.040 Z0.1 N020 G01 Z-1.995 F0.017 N025 X3.25 N030 G00 X6.0 Z5.0 N035 M01 (2” DRILL) N040 T0303 M41 N045 G97 S300 M03 N050 G00 X0 Z0.1 N055 G01 Z-2.6 F.009 N060 G00 Z0.1 N065 G00 X6.0 Z5.0 N070 M01 (1.5” ROUGH BORING BAR) N075 T0404 M41 N080 G96 S400 M03 N085 G00 X2.085 Z0.1 N090 G01 Z-1.995 F0.010 N095 X2.0 N100 G00 Z0.1 N105 X6.0 Z5.0 N110 M01 (1.5” FINISH BORING BAR) N115 T0505 M42 N120 G96 S600 M03 N125 G00 X1.125 Z0.1 N130 G01 Z-2.0 F0.006 N135 X2.0 N140 G00 Z0.1 N145 G00 X6.0 Z5.0 N148 M01 (FINISH TURNING TOOL) N150 T0202 M42 N155 G96 S600 M03 N160 G00 X3. Z0.1 N165 G01 Z-2.0 F0.006 N170 X3.25 N175 G00 X6.0 Z5.0 N180 M01 N185 M30 Tool names Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed Begin each tool with a blank line and a message naming the tool
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
N055 M00 (TURN PART AROUND) Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed Let the operator know what it is they are supposed to do at each program stop!
O0001 (Program Number) (PART NUMBER 3504857, OPERATION NUMBER 10) (TO BE RUN ON VERTICAL MACHINING CENTER) (OPERATOR: SET THE VISE IN THE MIDDLE OF THE TABLE AND) (PLACE FIXED STOP ON LEFT SIDE OF FIXED JAW. PLACE) (WORKPIECE IN SETUP FOR TOUCH OFF. PROGRAM ZERO IS THE) (LEFT SIDE OF THE PART IN X, THE LOWER SURFACE OF THE) (PART IN Y, AND THE TOP SURFACE OF THE PART IN Z.) (SET THE MEASURED PROGRAM ZERO DIMENSIONS IN FIXTURE) (OFFSET NUMBER ONE.) (TOOLS REQUIRED:) (STATION: DESCRIPTION:) ( 1 1" DRILL) ( 2 .500 DRILL) ( 3 6" FACE MILL) N005 G54 G90 S400 M03 T02 N010 ... Documenting in the program Documenting in the program Commonly taught in basic CNC courses: Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: Applications not always taught in basic courses: • Changes after dispute • Something unusual • If messages not displayed • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed A separate setup sheet will be better for more complicated instructions
N050 G01 Z-1.0 F0.012 (FEED CHANGED PER JM 2/10/00) N055 G00 Z0.1 N060 X4.0 Z5.0 Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed Let everyone know who requested the change
O0002 (Program number) (SPECIAL NOTE! TWO OFFSETS ARE USED FOR GROOVING) (TOOL IN STATION FIVE. USE OFFSET FIVE TO CONTROL) (GROOVE AT HEADSTOCK END AND OFFSET TWENTY-FIVE) (TO CONTROL GROOVE IN MIDDLE OF WORKPIECE.) N005 T0101 M41 N010 G96 S500 M03 . . Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed Be sure the setup person or operator knows that something special is happening in the program
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed
Proven? 0:no, 1:yes Machine number. 1: Okuma LB10, 2:Mori Seike SL4 Numbers in part number. Revision. 1:A, 2:B, 3:C, 4:D, etc. Customer. 1:ABC Company, 2:DEF Company, 3:GHI Company Operation number. Programmer. 1:Steve Thoms, 2:Larry Hassik, 3:John Smith Date first run. Program revision. 1:A, 2:B, 3:C, etc. Last program revision date. Run time in hours minutes seconds format. Documenting in the program O0001 N0 N2 N23552 N6 N3 N20 N3 N020900 N3 N030400 N000525 N005 T0101 M41 N010 G96 S400 M03 N015 G00 X3. Z.1 M08 … Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Some controls do not allow messages to be displayed Use special sequence numbers as code numbers! Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed If your control does not display messages… …use coded sequence numbers (N words) to help with documentation
Documenting in the program Commonly taught in basic CNC courses: • Parentheses [()] allow messages • Control ignores anything inside • Must be upper case (most controls) Applications not always taught in basic courses: • Program headers • Tool information • At every program stop • Simple setup instructions • Changes after dispute • Something unusual • If messages not displayed