12.07.2015 Views

CSI-F-10 User manual - Hydac

CSI-F-10 User manual - Hydac

CSI-F-10 User manual - Hydac

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GSM Radio Module <strong>CSI</strong>-F-<strong>10</strong> Page 979.6 Numerical Conditions9.6.1 EqualsThe Equals function compares two numerical input values forequivalence and outputs a "1" at its Boolean output if the values areequivalent, otherwise a "0".With the Precision parameter, you can adjust how precise thecomparison is. For this the following explanation:In view of the fact that numerical values are presented on computersas floating point numbers with finite precision, normal comparisonsusually fail. Thus, for example, the finite precision of 2/6 is notnecessarily the same as the result of 1/3. The difference goes to 8decimal places, but nonetheless the two values are not recognizedas being equivalent.The point at which one needs to break off the comparison ofnumbers varies from case to case. It is for that reason that you havethe option of controlling the precision of the comparison.If you specify 0.01 for precision, for example, then the numbers12.453 and 12.458 will still be recognized as equivalents to oneanother, because the difference is less than 0.01.Inputs: x 1 : (Numerical)x 2 : (Numerical)Outputs: y: (Boolean)Parameters: p 1 : Precision (Numerical)9.6.2 Does not EqualThe Does not equal function compares two numerical input valuesand outputs a "1" at its Boolean output if the values are not equal,otherwise a "0".For the Precision parameter, see the explanation in the Equalsfunction (Chapter 9.6.1).Inputs: x 1 : (Numerical)x 2 : (Numerical)Outputs: y: (Boolean)Parameters: p 1 : Precision (Numerical)Status 2011/08/17 HYDAC ELECTRONIC GMBH Part.-Nr.: 669752

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!