Quantcast
Channel: Allen Bradley / Rockwell Automation Latest Topics
Viewing all articles
Browse latest Browse all 3755

Another Newbee Question

$
0
0
Hello agian, Trying to write a program for water tank levels, problem is the tanks have over 37000 gallons of water in each but I can only get sums up to 32767 before I get a math overflow fault. Could somone please explain how to get values greater than 32767. ( floats??? double integers???? something else???) and if so how to set it up and make it work. I realize that I can scale it down to smaller #s for the math in the program its self but eventually I will need to be able to set a value of almost 38000 onto the HMI. Need to be able to go higher than 32767 or need a way to work with decimal. ( K 37.725 ) Also tried to install a reset instruction with S:5/0 for math overflow trap and get ERROR " Invalid Data Type?????????? Any thoughts on this one also. Using ML1400. Thanks in advance for you help. Charles

Viewing all articles
Browse latest Browse all 3755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>