S7-1200 Analog output voltage scaled to datatag

marko18

Member
Join Date
Nov 2021
Location
USA
Posts
47
Pretty simple question, but I was wondering how I can set the Analog Output 1 of an S7-1200 (DC/DC/Relay) to be proportional to a data tag. I understand the Analog Output voltage can range from -10 to 10v, and I want the output voltage to correspond to a data tag that ranges from -7.5 to 7.5. (technically the data tag ranges from -7500 to 7500, so I will need to scale the values) This data tag is an Int.


What is the best way to accomplish this? I tried just putting a network in my Main OB that moves the data tag value into the value of the Analog Output 1, but it doesn't seem to be working. Thanks
 
Last edited:
Use the Scale_X and Norm_X functions.

Pull them onto a network, an hit F1 the help files for the blocks will give you examples of what you want to do.
 

Similar Topics

I need help achieving the following task: ML1200 sending 4 to 20 mA thru analog output ch0 to a DC speed controller analog input(4 to 20 mA) my...
Replies
3
Views
671
Hi Everyone, Anyone please help me figure out how can I have at least 1 decimal place for the scaled value? I am using 0-10 V input to measure...
Replies
18
Views
5,064
Guys, i need your help.. Im using S7-1200 CPU1212c AC/DC/RLY and for my project, i want to learn how to program this in analog inputs.. Im using...
Replies
3
Views
2,456
hi I have s7 1200 analog input module 4-20MA , I need a help to scale the temperature from the transducer that measure 0- 100°C to the hmi...
Replies
3
Views
2,952
hello! i have one question. im using PLC S7-1215C. does the analog inputs use low-pass filters?? i dont find any manuals or somethink to find out...
Replies
5
Views
3,305
Back
Top Bottom