The macros are updates of existing ones. The m1077 and m1078 should be in mach3\macros\%yourturnprofile%\ with the subfolder named after the name of your turning profile. This folder should not be empty. I only improved these macros and by the way, i use them for most of my turning operations because you more or less for most operations turn from diameter a to b on length c. m1077 (G77) is turning, m1078 (G78) is facing. Far easier than using the wizards. The documentation of the variables is on the beginning of each macro.
m1176 is a new addition and allows the display of the current cut values on the diagnostics page. Because the labels of the DROs didn't match i fixed them and that is why the screenset is included. So this also doesn't change the functionality. I had to do this with an extra macro because the Gcode from G76 is precompiled and cannot display information on runtime. It simply calls m1176 and that displays the information.
Only the m1076 is different, because you can find it at the mach3\ root folder. Here I also improved only the inner workings of the macro and did not change its interface.
The only source of problems can be if you use the variables #101 following parallel because i needed them for additional input.
So everything should be compatible with existing features because all changes (except the variables) are internally for each macro.
'==============================================
' M1076 UNIVERSAL MACH3 THREADING MACRO
'==============================================
' This macro implements the G76 call inside Mach3 to cut a wide variety of
' threads. Because some features aren't supported by the G76 letters,
' this macro also uses # variables.
' USAGE:
'--------
' #121= (Taper in degrees)
' #122= (Trapezoid Tool width or 0 for V - Threads)
' #123= (Trapezoid Tool widening)
' (122 + 123 together are the width of the trapezoid bottom)
' #124= (Trapezoid Flank Angle: 0 - vertical, ACME - 14.5, Tr - 15 )
' #125= (Flank sizing)
' G76 X~ Z~ Q~ P~ H~ I~ R~ K~ L~ C~ B~ J~
' R - XStart
' X - XEnd
' K - ZStart
' Z - ZEnd
' Q - Spring Passes (optional)
' P - Pitch
' H - Depth of first pass
' I - Infeed angle
' L - Retraction in degrees (360 - one full turn)
' B - Depth last pass (optional)
' J - Minimum depth per pass (optional)
' C - Clearance (optional)
' From Mach3- Turn Options:
' - Minimum depth per pass
' - Cut Type: 0 - righthanded / 1 - lefthanded / 2 - alternating from inside / 3 - alternating from outside
' - Infeed Type: 0 - equal chip area / 1 - Sandvik formula (only for V - Threads)
' The controlled point of the tool for all threads is in the Z center position
' This macro is based on the original m1076.m1s macro from the Mach3 Installation,
' but heavily extended and reworked by Stephan Brunker
' IMPORTANT: Usage changes against previous versions:
' Cut type alternating and lefthanded are now switched
' Lefthanded always cuts against the Z-Axis movement, independent of Z-Axis direction
'G77
'(Xx.*********x XDia NEEDED)
'(Zx.*********x End Z NEEDED)
'(Fx.*********x Feedrate)
'(can be Set In the settings page:)
'(Hx.*********x Depth of cut)
'(Cx.*********x Clearance In the X)
'(Qx.*********x Clearance In the Z)
'(Kx.*********x ZStartpoint)
'(Rx.*********x XStartpoint)
'(#101 = Taper in Deg)
'(#102 = Taper Anchor Mode 1 or 2)
'There're different ways to anchor the taper
'Mode 1 anchors the Taper End at EndZ and StartX
' and will turn parallel, then tapered and correcting EndX if neccessary
'Mode 2 anchors the Taper at StartZ and EndX
' and reduces the dia first, then turns the taper, corrects EndZ if neccessary
'default is Mode 1
'refer to attached TaperModes.png for illustration
'G78
'(Xx.*********x XDia NEEDED)
'(Zx.*********x End Z NEEDED)
'(Fx.*********x Feedrate)
'(can be Set In the settings page: 'Hx.*********x Depth of cut)
'(Cx.*********x Clearance In the X)
'(Qx.*********x Clearance In the Z)
'(Kx.*********x ZStartpoint)
'(Rx.*********x XStartpoint)
'(#101 = Taper in Deg)
'(#102 = Taper Anchor Mode 0 or 1)
'There're different ways to anchor the taper
'Mode 1 anchors the Taper End at EndZ and StartX
' and will turn parallel, then tapered and correcting EndX if neccessary
'Mode 2 anchors the Taper at StartZ and EndX
' and reduces the dia first, then turns the taper, corrects EndZ if neccessary
'default is Mode 2
'refer to attached TaperModes.png for illustration