Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Johnnylynx on February 14, 2010, 02:32:17 PM

Title: Math Functions - ARCSIN
Post by: Johnnylynx on February 14, 2010, 02:32:17 PM
My Gantry weight is pulling the router head down by .007" when at the middle of the X-axis run - so I'm using the Functions section of MACH 3 to correct the Z-axis as the X-axis makes it's run.

Hi, i'm trying to use the ARCSIN function in mach3 (in the functions area):

(arcsin(sin((x/37.3)*PI)))/(arcsin(sin(PI/2))))*1

But, what is the command within MACH3 to perform ARCSIN ???

Title: Re: Math Functions - ARCSIN
Post by: Johnnylynx on February 15, 2010, 12:52:31 AM
My Gantry weight is pulling the router head down by .007" when at the middle of the X-axis run - so I'm using the Functions section of MACH 3 to correct the Z-axis as the X-axis makes it's run.

Hi, i'm trying to use the ARCSIN function in mach3 (in the functions area):

(arcsin(sin((x/37.3)*PI)))/(arcsin(sin(PI/2))))*1

But, what is the command within MACH3 to perform ARCSIN ???



Ah, after some trial, I found I had some bracket problems - the ARCSIN command does work.  Also, I have to use 3.14159 in lieu of "PI".

The formula works GREAT!  dead center of my run I have the Z-axis raise by .007" and back to zero on each end!

John.