Presentation is loading. Please wait.

Presentation is loading. Please wait.

Relates to machining and turning centers

Similar presentations


Presentation on theme: "Relates to machining and turning centers"— Presentation transcript:

1 Relates to machining and turning centers
G code commonalities Relates to machining and turning centers

2 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: O0001 N005 T01 M06 N010 G54 G90 S500 M03 T02 N015 G00 X3.0 Y2.0 Example: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Fixture offset, absolute mode Rapid mode

3 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

4 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

5 G code commonalities Most controls allow but three compatible G codes per command Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Ignored Executed N005 G54 G90 G20 G80 Most controls won’t generate an alarm if you break these rules Not always taught in basic courses: Only the last three will be executed Ignored Executed Only three per command How to monitor G code groups Initialized G codes Safety blocks N005 G54 G56 Conflicting G codes!

6 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

7 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

8 10M The program check page lets you see all currently instated G codes
G code commonalities The program check page lets you see all currently instated G codes Commonly taught in basic CNC courses: FANUC 10M POSITION PROGRAM OFFSET PRG_CHK + MEM *** HOLD **** *** *** *** *** **** O0040 N00050 (PROGRAM) N045 G00 X2.0 Y1.; N050 G01 Z-1. F3.5; N055 G00 Z.1; > N060 G91 G28 Z0 M19 (RELATIVE) X Y Z2.3223 (DIST TO GO) X Y Z (G/D/H) (M) G01 G20 G54 G23 G90 G80 G40 M03 M08 (F) (ACT. F) (S) (ACT. S) G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Current G codes Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

9 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

10 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

11 Even with Fanuc controls…
Used on imported turning centers: Used on American-built turning centers: A Description C G20 – Inch mode G70 G21 – Metric mode G71 G50 – Spindle limiter G92 G70 – Finishing cycle G72 G71 – Roughing cycle G73 G72 – Facing cycle G74 G73 – Pattern repeating G75 G74 – Peck drilling G76 G75 – Grooving cycle G77 G76 – Threading cycle G78 G90 – One pass turning G20 G92 – One pass threading G21 G94 – One pass facing G24 G98 – Per minute feed G94 G99 – Per revolution feed G95 XY – Absolute motion G90 UW – Incremental motion G91 Turning center manufactures vary when it comes to G code numbering

12 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

13 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

14 Certain G codes are automatically instated when you turn the power on
To find the related parameter/s, look in the Fanuc Operators Manual in the section that describes the G code G code commonalities Certain G codes are automatically instated when you turn the power on Commonly taught in basic CNC courses: Or G01 G00 G17 G20 G64 G69 G80 G40 G49 G54 G90 G98 For machining centers: Or G91 G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Or G99 Or G21 Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks You can even change the initialized state for some G codes through parameter settings

15 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

16 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks

17 It is not wise to allow the control to assume initialized states
G code commonalities It is not wise to allow the control to assume initialized states Commonly taught in basic CNC courses: Example: Many turning center programmers do not specify a G99 because feed per revolution is initialized G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Say a mistake is made calling a subprogram: Not always taught in basic courses: Instead of M98, G98 is specified Tuning center placed in feed per minute mode (yet programmer doesn’t know it) Only three per command How to monitor G code groups Initialized G codes Safety blocks They may find the mistake (change G98 to M98), but machine is still in per minute mode!

18 Other potential problems: 1) Mirror image turned on
If the machine behaves in an unusual way, look at the program check page! FANUC 10T POSITION PROGRAM OFFSET PRG_CHK + MEM *** HOLD **** *** *** *** *** **** O0040 N00050 (PROGRAM) N045 G00 X2.0 Z0.1; N050 G01 Z-1. F0.01; N055 G00 Z.1; > N060 G00 X5. Z6. (RELATIVE) X Y Z2.3223 (DIST TO GO) X Y Z (G/D/H) (M) G01 G20 G54 G23 G98 G80 G40 M03 M08 (F) (ACT. F) (S) (ACT. S) Other potential problems: Feed specified as 0.01 ipr 1) Mirror image turned on 2) Rotation turned on 3) Cutter comp not cancelled Machine is in feed per minute mode! The program check page can expose improperly set G codes!

19 Safety blocks ensure that the machine is in the proper states
G code commonalities Safety blocks ensure that the machine is in the proper states Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Turning center: O0001 N005 G20 G23 G40 N010 G99 N015 T0101 N020… . Machining center: O0001 N005 G17 G20 G23 N010 G40 G50 G64 N015 G67 G69 G80 N020 T01 M06 N025 … . Not always taught in basic courses: Safety blocks Only three per command How to monitor G code groups Initialized G codes Safety blocks

20 G codes are preparatory functions Some are modal, some are one-shot
G code commonalities Commonly taught in basic CNC courses: G codes are preparatory functions Some are modal, some are one-shot Prepare the control for what’s coming Not always taught in basic courses: Only three per command How to monitor G code groups Initialized G codes Safety blocks


Download ppt "Relates to machining and turning centers"

Similar presentations


Ads by Google