Hello Guest it is October 14, 2019, 02:50:16 AM

Author Topic: About Using Formulas  (Read 4541 times)

0 Members and 1 Guest are viewing this topic.

About Using Formulas
« 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

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: About Using Formulas
« Reply #1 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
Re: About Using Formulas
« Reply #2 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.
Re: About Using Formulas
« Reply #3 on: September 17, 2015, 03:45:15 PM »
No use of t even after changing tool by M6 !

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: About Using Formulas
« Reply #4 on: September 17, 2015, 07:30:32 PM »
I played with it for a few minutes yesterday, and it didn't work here either.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: About Using Formulas
« Reply #5 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 ??

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: About Using Formulas
« Reply #6 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
Re: About Using Formulas
« Reply #7 on: September 18, 2015, 11:19:32 AM »
how to write plugin ???

Any sample plugin guide ???

Online Tweakie.CNC

*
  • *
  •  7,943 7,943
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: About Using Formulas
« Reply #8 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.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.