S5 to S7 conversion Analog output scaling

rgraut

Member
Join Date
Apr 2013
Location
Maharashtra
Posts
6
Hello Experts,

I am working on S5 to S7 conversion project on which stucked on analog output scaling.

In S5 following logic is written for analog output coming from S5-PID(OB251).Two analog outputs are used for Course and Fine action.

L DW 48 // PID output ranging from -17980 to +17980

L 2#1111

AW

SLW 4

T QW112

L DW 48

L 2#1111111111110000

AW

T QW114



My question is how to convert this in S7. How do i scale analog outputs in S7.



Thanks
 
Simatic step 7 for S7-300 series or Tia portal for 1200 series?

If I recall correctly you use FB-41 for old step7 and use norm_X and scale_X for the s7-1200 in tia portal.
 
Thanks for the reply it Simatic S7-300 and i have converted OB251 with FB41 but i do not understand the scaling done to Analog output.Please guide me to understand how the scaling of analog output is done.
and How to implement the scaling in Simatic S7-300
 
The S7 Analog Output is a value from -27648 to +27648

For Example, if you have a 4-20mA output signal:

0 value in the PLC will produce 4mA
27648 in the PLC will produce 20mA

If you have +/- 10V output signal:

-27648 in the PLC will produce -10V
0 in the PLC will produce 0V
27648 will produce 10V

Which S5 PLC model are you using, and what is the part number of analog output module? The Analog output value in the S5-100U PLC is +/- 1024 shifted to the left 4 bits.
 
I was wrong, FB41 is for PID and FC105 is for scaling.
You may want to replace the whole PID with a new FB41. Just drag the block into a new network, select it and press F1.
 

Similar Topics

New to programming, please excuse what I'm sure is a long and stupid question: I'm building a training workstation with a CompactLogix. I have an...
Replies
12
Views
2,795
Does any1 kno how to convert raw/proportional to lbs?
Replies
18
Views
3,622
I have a program that has a scp of 0v to Image dc and in the input minimum it has 1638 and the input max is 14736. The scaled min is 0 and the...
Replies
2
Views
2,165
I am using an analog point I/O input card with a 4-20mA signal. The number comes to an INT tag. I am trying to convert the value to a percent...
Replies
11
Views
3,405
There is a real reason I am asking this, but wont go into it right now. Question is, can you simply take a 0-10V output from a device, to a...
Replies
20
Views
4,833
Back
Top Bottom