Hello Guest it is October 22, 2019, 08:15:31 AM

Author Topic: Math Functions - ARCSIN  (Read 4510 times)

0 Members and 1 Guest are viewing this topic.

Math Functions - ARCSIN
« 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 ???

Re: Math Functions - ARCSIN
« Reply #1 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.