CNC.SCHOOL — Integrated solutions for manufacturing industries (CNC)

1. CNC Programming

1.0 General Information
1.1 Understanding difference between Coordinate System
        1.1.1 Absolute coordinate programming G90
        1.1.2 Incremental (Relative) coordinate programming G91
        1.1.3 Polar coordinate system G15, G16
        1.1.4 Machine coordinate system
1.2 Types of movements
1.3 Modality
1.4 Units
        1.4.1 Inches
        1.4.2 Millimeters
1.5 Address Codes
1.6 F and S Function
1.7 The structure of the NC-program
        1.7.1 Start and end of the program.
        1.7.2 Program blocks
        1.7.3 Line syntax (1 block)
        1.7.4 Main program and subroutine
        1.7.5 Comments in the programs
1.8 Preparatory Functions (G-Codes)
        1.8.1 Initial information
        1.8.2 G-Codes Table
        1.8.3 The different groups of G-codes. Modality
        1.8.4 Rapid traverse G00
        1.8.5 Linear interpolation G01
        1.8.6 Circular interpolation G02. I,J,K and R formats.
        1.8.7 Circular interpolation G03. I,J,K and R formats.
        1.8.8 Plane selection
        1.8.8 Xp Yp plane (G17)
        1.8.8 Zp Xp plane (G18)
        1.8.8 Yp Zp plane (G19)
        1.8.9 Dwell time G04. P,X,U address formats
        1.8.10 Reference points MCS,WCS,SCS,PCS
        1.8.11 Workpiece coordinate systems G54-G59. Additional WCS G54P1-G54P48
        1.8.12 Writing to the CNC by G10
        1.8.13 Limitations when using G-codes in NC-program
        1.8.14 Comparing G-Codes of the Fanuc 0iMC/0iMD with other CNC systems
        1.8.15 Compensations
        1.8.16 Tool length (height) compensation G43, G44, G49
        1.8.17 Tool diameter compensation G41, G42, G40
        1.8.18 Examples of choosing a compensation method in CAM systems
        1.8.19 Local coordinate system
1.9 Miscellaneous codes (М-Codes)
        1.9.1 Program Stop M00
        1.9.2 Optional stop М01
        1.9.3 End of the program M02, M30
        1.9.4 Subroutine call and exit М98, М99
        1.9.5 Using M99 for closed loop
        1.9.6 Limitations when using M-codes in NC
        1.9.7 Comparing M-Codes of the Fanuc 0iMC/0iMD with other CNC systems
1.10 Tool function
        1.10.1 T-function and tool change M06
        1.10.2 Possible errors when changing tools
        1.10.3 M08/M09 Coolant Turning On/Off
1.11 Ranges of values. Rounding values of addresses during program execution
1.12 Block skip in the program
1.13 Canned cycles
        1.13.1 Purpose and use of canned cycles
        1.13.2 Return levels G98, G99
        1.13.3 Drill Peck Canned Cycles G73
        1.13.4 Drilling Сanned cycle G81
        1.13.5 Drilling Сanned cycle with a dwell at the bottom G82
        1.13.6 Drill Peck Canned Cycles G83
        1.13.7 Tapping cycle G84
        1.13.8 Boring cycle G85
        1.13.9 Canned cycle cancel G80
1.14 Table of characters and codes
1.15 Cutting Feed Rate

2. Macro programming

2.0 Basic Concepts in Macro Programming
2.1 Variables
        2.1.1 Types of Variables
        2.1.2 Calling the variables
        2.1.3 Empty variables. Variable #0
        2.1.4 Ranges of values and method of writing to variable table
        2.1.5 Limitations and cautions when using macro variables
2.2 User variables
2.3 Arithmetic and logical functions
        2.3.1 Assigning values to variables
        2.3.2 Simple arithmetic
        2.3.3 Trigonometric functions
        2.3.4 Logical operations AND, OR, XOR
        2.3.5 Rounding functions ROUND, FIX, FUP
        2.3.6 Other macro functions
2.4 Macro Operators
        2.4.1 Conditional and unconditional GOTO
        2.4.2 Conditional jump IF
        2.4.3 Comparison operators EQ,NE,GT,GE,LT,LE
        2.4.4 Loops WHILE-DO-END
        2.4.5 Infinite loops DO-END (M99 Option)
2.5 Macro call
        2.5.1 Simple Macro call G65
        2.5.2 Specifying an argument for G65 (I, II)
        2.5.3 Modal Macro call G66, G67
        2.5.4 Calling Macro with G, M Codes
2.6 System variables
        2.6.1 Interface signals
        2.6.2 Modal information #4001-#4130
        2.6.3 Timing #3001, #3002, #3011, #3012
        2.6.4 Automatic operation control #3003, #3004
        2.6.5 Counting the machined parts #3901, #3902
        2.6.6 Determining the current position #5001-#5084
        2.6.7 Reading and writing working coordinate systems #5201-#7944
        2.6.8 Alarm output #3000
        2.6.9 Stop with message display #3006
        2.6.10 Other Modal Codes #4301-#4320
2.7 Abbreviations. The order in execution. Reduction of macrowords

3. Control of machines with CNC

3.0 Basic information about CNC systems
3.1 MDI Keyboard Description
3.2 Function keys
3.3 Monitor screens
        3.3.1 POS window for viewing current axis coordinates
        3.3.2 PROG window for programming in EDIT, MDI modes
        3.3.3 OFFSET/SETTING window for correction and adjustment
        3.3.4 SYSTEM window for diagnostic and parameter changes
        3.3.5 MESSAGE window for viewing messages and alarms
3.4 CNC Power On/Power Off
3.5 Main modes of the machine
        3.5.1 REF mode to return to its original position (MCS)
        3.5.2 EDIT mode for editing NC-programs
        3.5.3 AUTO/MEM mode to execute NC-programs
        3.5.4 MDI mode. Run one-time NC-programs
        3.5.5 MDI mode for set-up of the CNC machine
        3.5.6 JOG mode for manual continuous feed
        3.5.7 INC mode for incremental feed
        3.5.8 HND mode for manual feed with pendant (manual pulse generator)
3.6 Lock and write protection
3.7 Correction of cutting conditions
        3.7.1 Changing the Spindle speed SPINDLE OVERRIDE
        3.7.2 Changing the Feed rate FEEDRATE OVERRIDE
        3.7.3 Changing the Rapid traverse speed RAPID OVERRIDE
3.8 Power-up statuses
3.9 Software errors

4. Accident prevention

4.0 General warnings
4.1 Programming Security
4.2 Safety management
4.3 Correct operation during Set-up
4.4 Service warnings
4.5 Using the ESP (EMG) function
4.6 Excess Stroke Limit
4.7 Safety Zone Programming G22