Applies To: |
|
Summary: |
Using the math function ABS( ) with a value
of 0 in CitectSCADA V6.10 will return "-0" indicating this is an
invalid value. The absolute value of 0 should be 0. |
Solution: |
Citect has confirmed this to be a problem
in CitectSCADA version 6.10. This problem will be fixed in later
version. A workaround is to write a simple Cicode function to check if the initial input value is zero, as shown below: REAL FUNCTION Absolute (REAL Input) REAL tag1; IF
Input=0
THEN END |
Keywords: |
ABS, Absolute Value |
Related Links
Attachments