Analogue scaling with STEP 7

vernon1

Member
Join Date
Jan 2007
Location
WEST MIDLANDS
Posts
60
Hi all,I am looking for some sample code that shows how to scale analogue input and output cards with step7 .I will be using the S7 300 (315 2 DP) range of PLC. Is there a standard FB/FC that takes care of this? My raw signals(input and output) will be a mixture 4-20mA and 0-10V.

Many thanks in advance.
 
Go to the standard library under the TI-S7 converting blocks.
FInd FC105 SCALE (typically used with analog inputs) and FC106 UNSCALE (typically used with analog outputs)
 
u can use this

L #input_channel
ITD
DTR
L 2.764800e+002
/R
T #percent

This will give the reading as a percent

u can scale it further if you want using simple equations
to include the Zero and Span

L #span
L #zero
-R
L #percent
*R
L #zero
+R
T #reading
 
Last edited:

Similar Topics

Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
4
Views
97
Hello guys I am just wondering do I need to set up each channel configuration, including enabling the channel , ranging … if I have already...
Replies
8
Views
2,012
There have been a number of posts asking about scaling so I thought this may help. The formula is: Out := ((Variable_In - ZeroIn) / (SpanIn -...
Replies
11
Views
6,419
Hi, I have an application with a load cell where I need to log the load cell output, into a small/internal data logger. But I also want the...
Replies
3
Views
1,718
Hello there I am having trouble scaling my analogue input signals. If I use engineering units and use the RAW scale as 4000-20000 everything is...
Replies
10
Views
2,612
Back
Top Bottom