Top Banner
G-Code Fundamentals G-Code Fundamentals
26

G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

Dec 14, 2015

Download

Documents

Kaela Claybrook
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

G-Code FundamentalsG-Code Fundamentals

Page 2: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

Numerical Control (NC) Defined

• Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled by direct insertion of numerical data at some point.” ……machines controlled by electronic systems designed to accept numerical data and other instructions usually in a coded form.

Page 3: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

NC System Definitions

• Absolute Programming – all tool motion is derived from the origin of the part. – G90

• Incremental Programming – Next tool movement is relative to the previous position. – G91

• Machine/Tool Home Position – Internal machine reference typically used to initialize the system

Page 4: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

NC System Definitions

• Floating Zero – Ability to set the machine zero to a location on a part relative to the parts datum(s)– Work Offset Coordinate Shift – The ability to shift

the machines home position to set a zero point for a particular part.• G54 – 59

Page 5: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

NC System Definitions

• Cutter Compensation – The ability to adjust the cutter location with offset values in the controller. The adjustment may be necessary due to tolerance issues associated with cutter condition, material problems, or program utilization (ex. family of parts) – G40, G41,G42

Page 6: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

Common G-Codes

• G00 – Rapid positioning in mutual directions (X,Y,Z,A,B)

• G01 – Linier Interpolation– Needs a feed rate command to execute (F)

• G02 – Circular Interpolation Motion CW– R value or I and J center point values of circle • Full arc or quadrant input

• G03 - Circular Interpolation Motion CCW

Page 7: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

Common G-Codes

• G20 – Inch Input• G21 – Metric Input• Canned Cycles – A predefined string of

variables which allows for a predetermined sequence of events. This programming method serves to simplify input as well a reducing program size. – Examples G81 Drilling, G83 Peck Drilling,

• G80 Cancel Canned Cycle

Page 8: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

Common M-Codes

• M00 – M01 Program Stop / Optional Program Stop

• M02/M30 – End of Program / EOP Rewind• M03 – Spindle On CW• M04 – Spindle On CCW• M05 – Spindle Stop• M06 – Tool Change• M08 /09 Coolant On/Off

Page 9: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.

Other Common Addresses

• S – Spindle speed (CS or RPR)– Lathe G96

• F – Feed rate input• N – Program Line Number Reference– Motion Line

• O – Program Line – Tool Change Line / Safe Starting Point On Some

Machine Tools

Page 10: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 11: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 12: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 13: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 14: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 15: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 16: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 17: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 18: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 19: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 20: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 21: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 22: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 23: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 24: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 25: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.
Page 26: G-Code Fundamentals. Numerical Control (NC) Defined Electronics Industries Association (EIA) standard defined as “a system in which actions are controlled.