Rapid Prototyping Computer Numerical Control Programming (CNC) Some Machines: –Vertical machining Centers –CNC Turret lathes –Gantry Machines Geometric Reference Points Machine Instructions
Rapid Prototyping Vertical Machining Centers
Rapid Prototyping
CNC Turret Lathe
Rapid Prototyping CNC Gantry Machines
Rapid Prototyping
Machine Reference Points Machine Start or “reference” home position on startup of controller Machine Zeropoint: Front left corner of table: the machine cannot actually get here: position must be “offset”
Rapid Prototyping Location: x = 0.0 y = 0.0 z = 0.0 Workpiece Zeropoint: PSO Determined by operator in PSO register called by: G54, G55, G57, G58 or G59
Rapid Prototyping Tool Offset: TO register Used to correct for length of tool when they are replaced. Note: for our lab the PSO an TO are preset: please do not change them.
Rapid Prototyping Programming Instructions Address: letter giving specific instruction: G, M, S, F, T Word: The combination of letter and subsequent number: G00, M30, S3000 Blocks: Line numbers proceeding all words: N0010, N0020, etc.
Rapid Prototyping Machine Instructions G70: inches G53: clear registers G55: offset register G94: feed in/min M30: End of Program T0000: tool number and offset register: T0717 S0000: Machine rpm: S3000
Rapid Prototyping Machine Instructions F000: Feed rate (we use in/min) G00: Rapid linear traverse G01: Linear move: must have F address on same line, or a proceeding line. G00 “calls off” a F address.
Rapid Prototyping Machine Instructions G02: CW Circular Interpolation G03: CCW Circular Interpolation I and J axis are used to describe the center of arc radius. The location of I,J origin is described relative to the arc start point P 1 NOTE: Both I and J must be called out, even if one has a value of 0.0
Rapid Prototyping P 1 : 0.75, 1.25 P 2 : 1.125, R= i= 0.0 j= i j N0000 G03 X1.125 Y1.625 I0.0 J0.375 Describing an Arc
Rapid Prototyping P 2 : 1.125, P 1 : 0.75, 1.25 i= j= 0.0 R= i j G03 CCW Circular N0000 G03 X1.125 Y0.875 I0.375 J0.0
Rapid Prototyping P 1 : 0.75, 1.25 P 2 : 0.375, i= j= 0.0 j i G02 with (-) i value N0000 G02 X0.375 Y0.875 I J0.0
Rapid Prototyping Other Circular Moves Half Circles Complete circles Partial Arcs