lpcware

arctan function does not work in PLCexpresso version 5.2

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by SD Kumbhar on Mon Apr 07 01:36:05 MST 2014
We are using LPC812 20pin tssop processor.

We are using formula containing multiply, divide, square , sqaure root & arctan fucntions. We found other calculations are correct & givinh OK result however arctan function always returns 0 value.

formala used : x =      arctan( ax /sqrt( pow ( ay,2) + pow(az,2) )

Can somebody suggest any alternate librray function for arctan function which we can use in LPCexpresso ?

Outcomes