Thursday, November 1, 2018

G41 & G42 compensation ( how to understand )

G40 G41 and G42 Cuttercompensation


G-Code G40, G41 and G42 (Cutter compensation):

Understanding cutter compensation can be very simple if one has a basic understanding of manual machining. There are two common types of cutting conditions associated with milling machines. They are CLIMB and CONVENTIONAL cutting. Two common rules for these types of cuts are:
If the programmed cutter path needs to mill CLIMB cutting, and it's a standard right handed tool, it will then be programmed with G41 cutter LEFT of the programmed path. If the programmed cutter path needs to mill with CONVENTIONAL cutting, and it's a standard right handed tool, it will then be programmed with G42 cutter RIGHT of the programmed path.

Listed below are the Three G-Code used only for the Cutter compensation,
G41 Cutter Compensation Left
G42 Cutter Compensation Right
G40 Cancel Cutter Comp G41 and G42

G41 Cutter Compensation Left:


G41 will select cutter compensation left; that is the tool is moved to the left of the programmed path to compensate for the radius of the tool. A Dnn must also be programmed to select the correct tool size from the DIAMETER/RADIUS offset display register.

G42 Cutter Compensation Right:

G42 will select cutter compensation right; that is the tool is moved to the right of the programmed path to compensate for the size of the tool. A Dnn must also be programmed to select the correct tool size from the DIAMETER/RADIUS offset display register.

G40 Cutter Comp Cancel:

G40 will cancel the G41 or G42 cutter compensation commands. A tool using cutter compensation will change from a compensated position to an uncompensated position. Programming in a D00 will also cancel cutter compensation. Be sure to cancel cutter compensation, when you're done with each milling cut series that's using compensation.

The Active Cutter compensation should satisfy the following points:


1) A G41 or G42 code must be contained with a G01 X, Y, or X and Y move is specified in the same block.
2) The distance of the linear move must be greater than the tool radius.
3) The tool radius value, "R", entered into the tool offsets table must not be 00.
4) A G02 or G03 circular interpolation command cannot be specified in the start-up block.


NOTE: The codes G4Ø, G41 and G42 are modal, belonging to the same modal family. They are incompatible with each other on the same block.


NOTE: The machine controller enters compensation cancel mode automatically when:

1) The machine power is first switched on.
2) The reset button on the CRT/MDI controller panel is pressed.
3) A program is forced to end by performing an M02 or M30 command.


Example for cutter compensation programming:

O 1234
N171 G00 X-15 Y-15 Z50;
N172 G01 Z0;
N172 G41 X0 Y0 F100; (Start-Up Move)
N173 Y40;
N174 X30 Y80;
N175 X60;
N176 G02 X100 Y40 R40;
N177 G01 Y30;
N178 G03 X70 Y0 R30;
N179 G01X0;
N180 G40 X-15 Y-15; (Cancellation Move)
N190 G00 Z50

ADVANTAGES OF CUTTER COMPENSATION:

1. The mathematical computations for determining a tool path are greatly simplified.
2. Because the geometry and not the tool center are programmed, the same program can be used for a variety of different cutter diameters.
3. When using cutter compensation you are then able to control and adjust for part dimensions using your cutter diameter/radius offsets register.
4. The same program path can be used for the roughing passes as well as finishing cuts by using different cutter offset numbers.

DIS ADVANTAGES WITH CUTTER COMPENSATION

1.      A cutter compensation command (G41, G42 or G40) must be on the same block with an X and/or Y linear command when moving onto or off of the part using cutter comp.
2.      You cannot turn on or off cutter compensation with a Z axis move.
3.   You can use cutter comp. in the G18 (X, Z) or G19 (Y, Z) planes using G141.
4.   You cannot turn ON or OFF cutter compensation in a G02 or G03 circular move, it must be in a linear G00 or G01 straight line move.

WHEN ACTIVATING CUTTER COMPENSATION, CARE MUST BE TAKEN TO:

1. Select a clearance point, without cutter compensation, to a start point in the X and Y axis at least half the cutter diameter off the part before you start initiating cutter compensation.
2. Bring the Z axis down without cutter compensation in effect.
3. Make an X and/or Y axis move with a G41 or G42 call-out on the same line, with a diameter offset Dnn command, which has the cutter diameter value in the offset display register being used.

WHEN DEACTIVATING CUTTER COMPENSATION, CARE MUST BE TAKEN TO:

1. Select a clearance point in X and/or Y axis, at least half the cutter diameter off the part.
2. DO NOT cancel cutter compensation on any line that is still cutting the part.
3. Cancel of cutter compensation (G40) may be a one or two axis move, but you may need values entered for both X and Y axis.

Very Important Note: In Practical the Cutcom should start before the Linear Movement with G01 and should end before the Linear Movement G01.


Tuesday, August 14, 2018

WHAT IS CUTTING FEED ? HOW TO USE IT

where we can use feed -

G01 - Linear interpolation

G02,G03 - Circular interpolation

For milling - 

         1 - Feed per minute (G94) after F , specify the amount of feed of the tool per minute

         2 - Feed per revolution (G95) after, specify the feed of tool per spindle revolution

For turning -

        1 - Feed per minute (G98) after F specify the amount of feed of the tool per minute

        2 - Feed per revolution (G99) after F specify the feed of tool per spindle revolution


Add caption

FEED PER MINUTE - 

milling tool 




when we use G94 the amount of feed of tool per minute is to be directly specified by number after feed it is a modal code once G94 active it is valid till when you give G code for feed per revolution G95


FEED PER REVOLUTION - 

After specifying G code for feed per revolution the amount of the feed of the tool per spindle revolution is directly specified by setting a number after F G code foe feed per revolution is modal code once g code is active its valid until you give g code for feed per minute here some example how G95 in milling and  G99 in turning is used-















Saturday, August 11, 2018

WHAT IS CUTTING SPEED BY ASHU

WHAT IS CUTTING SPEED ?

HOW IT WORK


                               TODAY I WILL GIVE U INFORMATION ON HOW TO USE CUTTUNG SPEED WHICH IS GIVEN BY INSERT MANUFACTURER ON THE BACK SIDE OF INSERT BOX IF U WORKING ON CNC MACHINE THEN YOU KNOW WHAT I AM TALKING ABOUT

SO LETS GET START

Speed of the tool with respect to job when the job (work piece) is cut is called the cutting speed.

FOR MILLING MACHINE -


milling machining

suppose we machining work piece with a tool 120mm in diameter at a cutting speed of 80 m/min
The spindle speed is approximately 212 min-1, we can calculate from N=1000*v/3.14*D
 
N=spindle speed
D=diameter of cutter
V=cutting speed

        N=1000*80/(3.14*120) = 212.3
now you understand how to use cutting speed in milling machine


FOR LATHE CUTTING:

LATHE MACHINING

when a job 200mm in diameter should be machined at a cutting speed of 300m/min

the spindle speed is approx. 478min-1  which is obtained from N=1000*v/3.14*D

               N=1000*300/(3.14*200)= 477.07

NOTE:-

                   when the workpiece diameter is changed, the cnc changes the spindle speed 
so that the cutting speed remains constant




THANKS ANY QUESTIONS FEEL FREE TO ASK

Wednesday, August 8, 2018

How to make G72 cycle for face

Hey guy first i give u example
Suppose we want to face round bar dia of 100mm

What we do write the program
G72 W1 R0.5
G72 P10 Q20 W0.1 F0.3

Meaning G72 is facing cycle

W1- Depth of cut z axis means 1 mm  material will be remove every pass

R0.5- Retract to starting position means after every pass tool come +0.5 in z axis and come  to starting position

Next line

P10 - Starting block

Q20- Ending block

W0.1- This means after cycle finish only 0.1 mm material balance for finish pass

F0.3- Feed

Eg-  N1 TO1O1
        G54
        G99 S1000 M3
        G0 X101 Z50
        G0 X101 Z2 ( STARTING POSITION )
        G72 W1 R0.5
        G72 P10 Q20 W0.1 F0.3
      N10 G0 Z0 ( This is our final value Z0)
       N20 G01 X0( Ending block )
       G0 Z100
       M5    (spindle stop)
       M30(end of block)
     

G72 facing cycle

G72 kya hai aur kaise use kare G72 Ko kehte hai facing cycle Iska use hum koi bhi job Ko face karna hai aur usme material jyada hai mat...