Hello Guest it is April 18, 2024, 07:52:50 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bozidar

Pages: 1
1
Brains Development / Re: using function sin-1 in a brain
« on: June 26, 2014, 11:51:20 AM »
thank you.

set my calculator on rad and get .8202


2
Brains Development / using function sin-1 in a brain
« on: June 26, 2014, 08:51:07 AM »
i have an RC servo controlled coolant nozzles that needs to find the angle using the sin-1 (arcsin). I just can't seem to get it to work.


 the formula is from this site      http://www.mathsisfun.com/algebra/trig-solving-sas-triangles.html   

 using example 2. It works up till the last part   sin P / 6.9 = sin(117°) / 8.405...
                                                                 sin P = ( sin(117°) × 6.9 ) / 8.405...= 0.7313...
                                                                  P = sin-1(0.7313...) = 47.0° to one decimal place
.
  To check my math i did each step in a different brain.

  In the tool height DRO put 6.9

 I tried putting .7313 in the DRO with a brain with the formula  arcsin(a) and still get .8202

 The sin-1 of .7313 should be 47 but i get .8202 Is it a bug or am I doing something wrong?

 formula arcsin(((0.891)*a)/(sqrt(a^2+2.6^2-2*a*2.6*(-.4539)) puts out .8202

 Is there a better formula to use? The information that i have is 2 sides and one angle of the triangle.


   https://www.youtube.com/watch?v=_tZ03tWGnL8&list=UUcIK-PynOymd_15wWIhGyHg   

3
   I currently have an arduino controlling some servo powered coolant nozzles manually with knobs.  Looking for some help or guidence on  how get the TLO from mach3 to the arduino using modbus.

   Have tried some of the cycle start and feed rate samples given here others and have gotten them to work.  But they were data from the arduino to mach3. I'm looking at getting data from mach3 to the arduino.

   My goal is this ,tool length DRO through modbus  to  the arduino , coolant nozzle angle is ajusted  automaticly.

   What does the arduino see ? Is it the actual DRO number (say 2.5 inches ) or some long number bit.

    The arduino program is the first program I wrote.

   This is a video of  the system .    
http://www.youtube.com/watch?v=TuQfmgIUduA
  

Pages: 1