sanyc Posted December 1, 2017 Report Share Posted December 1, 2017 So, I have a 4-20 mA analog input and I want to add up the result every (unknown - have to be determined I think) time so that I get the total value. The 4-20 mA signal comes from a weight scale flow controller that reads in T/hr (Tons per hour). By adding that value up I want to obtain the total number of tons that passed so far through the scale. I am using a Unistream 7'' and this is what I came up with so far - which is wrong. What the following does is: it linearizes every second the incoming analog value. A is the analog input. B is X1 = 0 and C is Y1 = 0. D is X2 = 8191 which is the 13-bit resolution of the 0402N module. Then I am adding the result to a memory integer which updates itself. For E, I have Y2 = 60, which comes from linearizing the analog input to Tons/sec. So, how can I implement what I am trying to achieve? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.