I changed the code to
Calculation: Value stored by WRITE:Code:Second_First = Second_Value - First_Value IF Second_First.15=1 THEN Difference_First_Second = First - Second Difference_Third_Second = Third - Second ELSE Difference_First_Second = Second - First Difference_Third_Second = Second - Third ENDIF Result: Is Should First 1386 1386 Second 771 771 Third 882 882 Point_One 449 449 Point_Two 1663 1663 Steps_First_Second 3 380 Steps_Third_Second 14 68
Value1 Value2
Byte0 Byte1
Value(Like First, Second etc.) = Byte1*256 + Byte0




Bookmarks