Hello Guest it is March 29, 2024, 05:37:49 AM

Author Topic: mach3 turn g codes help  (Read 2675 times)

0 Members and 1 Guest are viewing this topic.

mach3 turn g codes help
« on: April 17, 2019, 04:05:29 AM »
my fusion360 post processor outputs g73 drill cycles. also g50 for maximum rpm . in the mach 3 turn pdf they are not in the initial g code list  but are in the descriptions .  So as I'm new to turning ,what canned cycles can mach3turn  use for drilling?  also im confused as to whether or not i could use constant surface speed .
also it sometimes doesn't use f/rev   it reverts to f/min
advice on safe start g code list for start of code might help
i get an error on n117    R less than Y in cycle XZ plane

Any help would be appreciated

N10 G90 G95 G18 G40 G80
N11 G21

(FACE2)
N12 M6T0101
N13 G54
N14 M8
N15 G95
N16 G97 S2250 M3
N17 G0 X31.4 Z2.
N18 G0 Z1.114
N19 X27.4
N20 X28.228
N21 G1 X25.4 Z-0.3 F1.
N22 X-0.4 F0.1
N23 X2.428 Z1.114 F1.
N24 G0 X28.228
N25 G1 Z0.514 F1.
N26 X25.4 Z-0.9
N27 X-0.4 F0.1
N28 X2.428 Z0.514 F1.
N29 G0 X28.228
N30 G1 Z0.414 F1.
N31 X25.4 Z-1.
N32 X-0.4 F0.1
N33 X2.428 Z0.414 F1.
N34 G0 X31.4
N35 Z2.

(OS PROFILE)
N36 M6T0303
N37 G54
N38 G95
N39 G97 S2000 M3
N40 G0 X29.4 Z2.8
N41 G0 Z1.039
N42 X27.628
N43 G1 X24.8 Z-0.376 F1.
N44 Z-21. F0.1
N45 X25.4
N46 X29.4 F1.
N47 G0 Z1.189
N48 X27.028
N49 G1 X24.2 Z-0.225 F1.
N50 Z-21. F0.1
N51 X24.8
N52 X28.8 F1.
N53 G0 Z0.414
N54 X26.828
N55 G1 X24. Z-1. F1.
N56 Z-21. F0.1
N57 X26.828 Z-19.586 F1.
N58 X28.
N59 G0 X29.4
N60 Z2.8

(OS GROOVE)
N61 G95
N62 G97 S2000 M3
N63 G0 X29.4 Z2.8
N64 Z1.156
N65 X27.342
N66 G1 X27.228 F1.
N67 X24.4 Z-0.258
N68 Z-2.5 F0.1
N69 Z-2.502
N70 Z-13.498
N71 Z-13.5
N72 Z-15.
N73 X25.4
N74 X29.4 F1.
N75 G0 Z-1.088
N76 X28.4
N77 G1 X27.228 F1.
N78 X24.4 Z-2.502
N79 G18 G3 X23.814 Z-3.207 I-1. K0.002 F0.1
N80 G1 X23.4 Z-3.414
N81 Z-12.586
N82 X23.814 Z-12.793
N83 G3 X24.4 Z-13.498 I-0.707 K-0.707
N84 G1 Z-13.5
N85 X27.228 Z-12.086 F1.
N86 G0 Z-4.281
N87 G1 Z-2.071 F1.
N88 X26.364
N89 X23.4 Z-3.414
N90 X22.4 Z-3.914 F0.1
N91 Z-12.086
N92 X23.814 Z-12.793
N93 G3 X23.9 Z-12.839 I-0.707 K-0.707
N94 G1 X26.728 Z-11.424 F1.
N95 G0 X26.828
N96 Z0.414
N97 G1 X24. Z-1. F1.
N98 Z-2.5 F0.05
N99 G3 X23.531 Z-3.066 I-0.8
N100 G1 X22. Z-3.831
N101 Z-12.169
N102 X23.531 Z-12.934
N103 G3 X24. Z-13.5 I-0.566 K-0.566
N104 G1 Z-15.
N105 X26.828 Z-13.586 F1.
N106 X28.
N107 G0 X29.4
N108 Z2.8

(10MM DRILL)
N109 M6T0606
N110 G54
N111 G94
N112 G97 S2000 M3
N113 G0 X0. Z6.
N114 G0 Z2.
N115 Z6.
N116 Z2.
N117 G98 G73 X0. Z-25.004 R-1. Q3. F60.
N118 G80
N119 Z6.

( BORING SHOULDER)
N120 M6T0505
N121 G54
N122 G95
N123 G97 S2000 M3
N124 G0 X9.6 Z2.
N125 G0 Z0.825
N126 X9.652
N127 G1 X11. Z-1.058 F1.
N128 Z-3.8 F0.1
N129 X10.
N130 X9.608 Z-1.81 F1.
N131 X9.6
N132 G0 Z0.606
N133 X9.617
N134 G1 X12. Z-1. F1.
N135 Z-3.8 F0.1
N136 X10.5
N137 X9.72 Z-1.838 F1.
N138 G0 Z0.414
N139 X10.022
N140 G1 X12.85 Z-1. F1.
N141 Z-3.8 F0.1
N142 X11.5
N143 X9.614 Z-2.036 F1.
N144 G0 Z0.414
N145 X10.872
N146 G1 X13.7 Z-1. F1.
N147 Z-3.8 F0.1
N148 X12.35
N149 X9.664 Z-2.318 F1.
N150 G0 Z-0.386
N151 X11.272
N152 G1 X14.1 Z-1.8 F1.
N153 Z-4. F0.05
N154 X10.
N155 X9.608 Z-2.01 F1.
N156 X9.6
N157 G0 Z2.

(REAR SPIGOT)
N158 M6T0202
N159 G54
N160 G95
N161 G97 S2000 M3
N162 G0 X27.4 Z6.
N163 G0 Z-15.
N164 G1 X14. F0.05
N165 G0 X27.4
N166 Z6.

(PART1)
N167 G95
N168 G97 S2000 M3
N169 G0 X27.4 Z6.
N170 Z-17.
N171 G1 X6.4 F0.05
N172 G0 X27.4
N173 Z6.

N174 M9
N175 M5
N176 M30
%

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: mach3 turn g codes help
« Reply #1 on: April 17, 2019, 07:13:58 AM »
G50 is axis scale funtion in Mach3. G48 is max RPM in CSS. CSS however does not work correctly in Mach3. The spindle speed will vary to keep the Surface speed correct but if using G95 (feed per rev) then the axis will not speed or slow with the spindle but rather it will just stay at a constant feed per minute which is determined by the initial feed per rev when you start the command.


Been a while but I don't think there is a G73 in Turn, maybe G83 drill cycles?

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: mach3 turn g codes help
« Reply #2 on: April 17, 2019, 07:21:43 AM »
what canned cycles can mach3turn  use for drilling

Per the Turn Manual description , G73, G81, G82, G83, G83.1 I have used / and tried them all. Not sure if some version versions of Mach will cause problems with them.
It's been a while since I tested them.

use constant surface speed also it sometimes doesn't use f/rev

Just a few days ago there was a thread about Mach3 and CSS. Do a search for the thread.
CSS doesn't / can't work properly in Mach 3 Turn if i recall. See the thread for explainations about it.

advice on safe start g code list for start of code

Only you can define how you want to work and and what conditions would be appropriate ie; what modes and conditions should  be in place. You use an initilization macro to accomplish a generic start up condition.

RICH
« Last Edit: April 17, 2019, 07:26:40 AM by RICH »

Offline reuelt

*
  •  520 520
    • View Profile
Re: mach3 turn g codes help
« Reply #3 on: April 17, 2019, 08:21:15 AM »
attached is MACH3 TURN G & M code list from the MACH3 TURN Manual

G73 & G50 exist.
« Last Edit: April 17, 2019, 08:23:15 AM by reuelt »
"the gift of God is eternal life through Jesus Christ our Lord"
Re: mach3 turn g codes help
« Reply #4 on: April 17, 2019, 03:13:28 PM »
ok so only the codes on this list work.thanks... the error i get from the drill cycle goes if i put g17  before the drill cycle   ...g18 is in the header
what's the best fix for this

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: mach3 turn g codes help
« Reply #5 on: April 18, 2019, 06:42:23 AM »
the error i get from the drill cycle goes if i put g17  before the drill cycle

Why would you change the plane? G18 defines the "only relevant" plane for Turn.

RICH
Re: mach3 turn g codes help
« Reply #6 on: April 19, 2019, 03:57:03 AM »
i get an error on n117    R less than Y in cycle XZ plane  which goes if i change g18 to g17 ...so im just trying to get to the route cause of the issue so i dont have to change to g17

i presume the post processor needs changing somehow

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: mach3 turn g codes help
« Reply #7 on: April 19, 2019, 08:18:41 AM »
In Reply #2 I made the following comment:
Per the Turn Manual description , G73, G81, G82, G83, G83.1 I have used / and tried them all.
It's been a while since I tested them.

The above is true ..... BUT ...... let me not miss guide you!
I would need to spend time going through each canned cycle as it relates to TURN to be absolutely
definitive on their use and quirks in Mach 3 TURN.  To many irons in the fire at this time!

Just a "guess" on your G17 and G18 change:
Mach 3 Turn "may" be interperting G73 such, even though you are in lathe the G73 is for
Mill and the G17 cures the problem by saying it's in the XY plane. G83 without the G17
add works as it  may be considered face drilling. Guess only............

One can change the post processor in Fusion, and i have done it, but one needs to understand
exactly what  they are doing. Not for the thing to do for the novice in my opinion!

Route cause is actualy three fold:
- Mach 3 lathe configuration used
- Mach3 Turn canned cycle quirks
- How one uses Fusion to generate lathe code and the dialect of Gcode Fusion generates
  and post processor used.

Surely not a reply you wanted to hear from me,

RICH