id10t_error
Lifetime Supporting Member
https://literature.rockwellautomation.com/idc/groups/literature/documents/um/1756-um009_-en-p.pdf
In the above 1756-IF16 document on page 43, it says the scaling for 4-20ma in single-ended mode is 20.58ma = 32,767 counts and 0ma = -32,768 Counts.
So if I was using a scale block in a function block, I would use...
20ma = 30920 Counts = Device EU Units High
4ma = -20030 Counts = Device EU Units Low
Is this correct?
Stack Overflow scale formula
https://stackoverflow.com/questions/13137348/scaling-range-of-values-with-negative-numbers
from_max = 20.58 Milliamps
from _min = 0 Milliamps
to_max = 32767 Counts
to_min = -32768 Counts
Scale Formula
Counts at x Ma = (x - from_min) * (to_max - to_min) / (from_max - from_min) + to_min
In the above 1756-IF16 document on page 43, it says the scaling for 4-20ma in single-ended mode is 20.58ma = 32,767 counts and 0ma = -32,768 Counts.
So if I was using a scale block in a function block, I would use...
20ma = 30920 Counts = Device EU Units High
4ma = -20030 Counts = Device EU Units Low
Is this correct?
Stack Overflow scale formula
https://stackoverflow.com/questions/13137348/scaling-range-of-values-with-negative-numbers
from_max = 20.58 Milliamps
from _min = 0 Milliamps
to_max = 32767 Counts
to_min = -32768 Counts
Scale Formula
Counts at x Ma = (x - from_min) * (to_max - to_min) / (from_max - from_min) + to_min
Last edited: