I have searched the forum for answers but haven't turned up anytime useful. The question is how to code TAN (and other trig functions) in Mach3 Gcode? I have used FIX and FUP which work as described. But TAN throws an error. A snippet of VB code:
code "#90 = " & Width
code "#91 = TAN[Angle] (Slope of Angle)"
code "#92 = [#90 / #91] (Y intercept)"
#90 is the width of the stock
#91 is the slope of the angle to cut
#92 is the x intercept on y axis at the width
Obliviously, the Width & Angle were previously collected. I could code the answer in VB and assign it to #91, but the solution is not transparent. The Mach3 manual describes Unary Operations and very much implies these Unary Operations are available. How do I code this so Mach3 understands? Thanks