Hi,
PowerVision 2.8.10546 - Window 7 Professional 64bits
How can I have access to math functions such as sqrt, sin or cos for the MPC20 configurations? They are available on the PVs Standar configs, is there a way to "unlock" them or add them? Thanks for the response
SL
Math Functions on MPC20
- slopez_22
- Posts: 3
- Joined: Wed Jun 03, 2015 4:43 pm
Math Functions on MPC20
Sebastian Lopez
Design Engineer
ETec S.A.
Design Engineer
ETec S.A.
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Math Functions on MPC20
The Programming Manager said that those math functions were omitted because the CPU does not have floating point support. The software emulation for those math functions was not acceptable on this platform.
They actually use a lookup table to draw the circle for the gauge.
They actually use a lookup table to draw the circle for the gauge.
Boyce Schrack
Enovation Controls
Enovation Controls
- slopez_22
- Posts: 3
- Joined: Wed Jun 03, 2015 4:43 pm
Re: Math Functions on MPC20
Hi boyce,
What I need is to use a trigonometric function in a Calculation Event, and the result will be presented on a text gauge. Can those look up tables be used for this?
Thanks
What I need is to use a trigonometric function in a Calculation Event, and the result will be presented on a text gauge. Can those look up tables be used for this?
Thanks
Sebastian Lopez
Design Engineer
ETec S.A.
Design Engineer
ETec S.A.
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Math Functions on MPC20
There is no way to access the lookup tables for use in a calculation event. The tables do not give high precision results so their accuracy may not be what you would require. Sorry, but there is no support for the sqrt and trig functions on this platform.
Boyce Schrack
Enovation Controls
Enovation Controls
- slopez_22
- Posts: 3
- Joined: Wed Jun 03, 2015 4:43 pm
Re: Math Functions on MPC20
Does this also apply to the MPC-20R2? since this version should have a more powerfull CPU.
Sebastian Lopez
Design Engineer
ETec S.A.
Design Engineer
ETec S.A.
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Math Functions on MPC20
The Programming Manager does not believe those math functions should be included for general purpose use even on the R2 version because of the performance impact. Maybe something can be done as far as providing a custom coded limited use solution. But that would incur programming cost that would have to be discussed.
Boyce Schrack
Enovation Controls
Enovation Controls