I have a scaling problem.
I have a 2-wire analog 4-20mA input. There is a PT100 connected to it with a range from -30 tot +60 degrees.
What I did:
(((Input/27648)*16)+4) = Y (in mA)
16 is the range and 4 is the offset.
And after that I did ((Y*5,625)-30) and the result seems to be not right. 5,625 comes from ranges 90/16.
So I say, 4mA substracting, in the range 90 that is 4*5,625 = 22,5.
So the formula is Z = (((Y*5,625)-30)-22,5)
And, I'm not sure about what I did, I made it to complex.
Is 4 to 20mA 5529,6 to 27648 measurement in Step 7 ?
If so, then I can do this I guess:
((((X-5529,6)/22118,4) * 90) -30) = Z
5529,6 is 4mA in integer format.
22118,4 is the range between 5529,6 and 27648
90 is my range from -30 to +60 degrees
-30 is the Offset.
Please help me out,
Thanks
Okay
I have a 2-wire analog 4-20mA input. There is a PT100 connected to it with a range from -30 tot +60 degrees.
What I did:
(((Input/27648)*16)+4) = Y (in mA)
16 is the range and 4 is the offset.
And after that I did ((Y*5,625)-30) and the result seems to be not right. 5,625 comes from ranges 90/16.
So I say, 4mA substracting, in the range 90 that is 4*5,625 = 22,5.
So the formula is Z = (((Y*5,625)-30)-22,5)
And, I'm not sure about what I did, I made it to complex.
Is 4 to 20mA 5529,6 to 27648 measurement in Step 7 ?
If so, then I can do this I guess:
((((X-5529,6)/22118,4) * 90) -30) = Z
5529,6 is 4mA in integer format.
22118,4 is the range between 5529,6 and 27648
90 is my range from -30 to +60 degrees
-30 is the Offset.
Please help me out,
Thanks
Okay