unscale range 4---20ma with 0----27648

buolis

Member
Join Date
Apr 2018
Location
egypt
Posts
2
i make a program ( plc siemens s7-300 )
with analog output
4-------20ma
0-------27648
-20-----80c temp.
how to do this?
 
i make a program ( plc siemens s7-300 )
with analog output
4-------20ma
0-------27648
-20-----80c temp.
how to do this?

y=mx+b. Where "y" is temp., "x" are PLC counts.

To find slope (m)...y2-y1/x2-x1 or 80--20/27648-0= 100/27648=0.00361689814814814814814814814815

"b" = -20.

So to check if I take 1/2 the counts (x = 13824) and plug that into the other knowns (b and m) then we get 30, which is what I would expect...
0.00361689814814814814814814814815 x 13824 - 20 = 30.
 

Similar Topics

i make a program ( plc siemens s7-300 ) with analog output 4-------20ma 0-------27648 -20-----80c temp. how to do this?
Replies
8
Views
2,257
I am trying to send a setpoint to a rexroth analog controller from a step7 analog output (4 - 20mA) 6ES7332-5HD01-0AB0. Range of the lift is...
Replies
3
Views
4,350
Hi All, I'm just trying to understand the reason behind something I recently experienced. Background: The system contains 4 CompactLogix...
Replies
2
Views
118
Hi, I am having issues matching a 50HP submersible pump w/ a PF755 VFD (480V 3-Phase, 65(ND)/52(HD)). The failures occur at the static...
Replies
7
Views
999
Hi, I'm not sure how to do this... Basically, I want to restrict the user input values for this tag to be in the range 20.001 to 25.0. I...
Replies
17
Views
1,674
Back
Top Bottom