View Single Post
Old January 1st, 2020, 01:23 PM   #3
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 6,340
Doing the math on an ordinary calculator (Android tablet default) I get -410032571. I imagine it all depends on the final conversion of the intermediate result back to 16 bit integer. Since neither is correct it seems like the difference doesn't matter.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

www.thePLCguy.com
  Reply With Quote