Machsupport Forum

Mach Discussion => Brains Development => Topic started by: Ankit Mistry on September 16, 2015, 05:29:59 PM

Title: About Using Formulas
Post by: Ankit Mistry on September 16, 2015, 05:29:59 PM
Hello All members,

This is my first post in our forum. so basically what made me start this thread is using of Formula in Mach3

i learned and solved equations for Scara arm and many trigo formulas for test. so at this time i tested one Z axis  Compensation formula in which There is Rotary B axis in head, which needed value of tool height, so as shown in formula dialogue box i put T letter in length offset, but t is not working anyhow. don't know why but even if i put 1 in t value and put function in any axis like F(A) =T result shows 0 always whenever i try to include T letter in Formula it shows 0 no matter how actual result should be but it fails to calculate estimated results and always end up with 0. any one can throw some light how to use T in this formula ???

Here is screenshot of formula i tried and test results as well in respective box.

Regards,
Ankit
Title: Re: About Using Formulas
Post by: BR549 on September 17, 2015, 03:27:23 PM
Did you activate the TOOL #  It only sees the  Current Tool (active one)  not the selected tool .

(;-) TP
Title: Re: About Using Formulas
Post by: Ankit Mistry on September 17, 2015, 03:31:00 PM
Did you activate the TOOL #  It only sees the  Current Tool (active one)  not the selected tool .

(;-) TP

Thanks BR549,

but it must not result in 0 anyhow no matter if i have tool or not... and i tried changing Tool with DRO, let me try with M6.
Title: Re: About Using Formulas
Post by: Ankit Mistry on September 17, 2015, 03:45:15 PM
No use of t even after changing tool by M6 !
Title: Re: About Using Formulas
Post by: ger21 on September 17, 2015, 07:30:32 PM
I played with it for a few minutes yesterday, and it didn't work here either.
Title: Re: About Using Formulas
Post by: Ankit Mistry on September 18, 2015, 07:14:33 AM
is there any script ?? where this formula stuff is located in mach folder ??

cant we customize it ??
Title: Re: About Using Formulas
Post by: BR549 on September 18, 2015, 11:14:42 AM
Well IF you are a brave soul you could write a Plugin to do what you want.

(;-) TP
Title: Re: About Using Formulas
Post by: Ankit Mistry on September 18, 2015, 11:19:32 AM
how to write plugin ???

Any sample plugin guide ???
Title: Re: About Using Formulas
Post by: Tweakie.CNC on January 08, 2016, 11:08:21 AM
how to write plugin ???

Any sample plugin guide ???

I think my first port of call would be;  FTP Downloads / Docs / Plugin Bible.pdf  http://www.machsupport.com/software/downloads-updates/

Tweakie.