Scaling Temperature Sensor(PLC S7-200)

raguilas

Member
Join Date
Dec 2015
Location
Sinaloa
Posts
48
Hi everyone I have the following:

1.- PLC S7200
2.- HMI tp177b pn/dp 6"cstn
3.- Temp. transmitter IFM TP9237


2.- HMI tp177b pn/dp 6"cstn(image)
https://www.lagerwerk.com/elektrik-...ch-panel-tp177b-dp-6-mstn-6av6-642-0bc01-1ax1

3.-Temperature transmitter(image)
http://www.ifm.com/products/mx/ds/TP9237.htm
http://www.ifm.com/products/mx/ds/TM4311.htm

I want to create the scale so I can get the temperature value(° Celcius) on the PLC and then read the value from the HMI(tp177b pn/dp 6"cstn) and display it.

So I'm using a library called "scale.mwl"

I already have connected the temp. transmitter correctly, before doing it I cheked the voltage outup value(from the transmitter) with a multimeter and a lighter and could see the voltage variation(0-10V) as the temperature went up/down.

Now, I have no idea what variable or where I should be reading the engineering value from("32000-6400" or "32000-0"?)
I don't know wheter its going to be adressed to AIW2 or VD100.

I also have to select between three block types for scaling: S_ITR, S_RTR or S_RTI, and don't know what's the right option.

Blocks images:
http://i.imgur.com/ta9DVQX.png

The temperature range that I'm going to be using is between 10 to 60°Celcius more or less...(50°F to 140°F), I need the value in celcius :)

Could you be so kind giving me some orientation please?

Thanks in advance.

Best regards :D
 
Unless you have the I/O-link adapter, in which you can alter the range of the transmitter, the factory default setting is 0-10V = 0-100°C.

As it is 0-10V, your range in the PLC is 0-32000.

S_ITR will scale your input to a real (ie. floating point) value.

Addressing for the inbuilt Analog input on an S7-200 are AIW0 for the first analog input and AIW2 for the second analog input. This is where your 0-32000 integers are located.

After you have done the scaling, you will need to put it in a memory real, that is VD100 or similar. The VD100 address will contain for example 50.3°C

Hope that helps.
 
Unless you have the I/O-link adapter, in which you can alter the range of the transmitter, the factory default setting is 0-10V = 0-100°C.

As it is 0-10V, your range in the PLC is 0-32000.

S_ITR will scale your input to a real (ie. floating point) value.

Addressing for the inbuilt Analog input on an S7-200 are AIW0 for the first analog input and AIW2 for the second analog input. This is where your 0-32000 integers are located.

After you have done the scaling, you will need to put it in a memory real, that is VD100 or similar. The VD100 address will contain for example 50.3°C

Hope that helps.

Thank you for taking the time to reply and helping me AustralIan, I really appreciate it, I'm taking your advice and I'll try it, first thing in the morning at the school lab.

=D
 
Unless you have the I/O-link adapter, in which you can alter the range of the transmitter, the factory default setting is 0-10V = 0-100°C.

As it is 0-10V, your range in the PLC is 0-32000.

S_ITR will scale your input to a real (ie. floating point) value.

Addressing for the inbuilt Analog input on an S7-200 are AIW0 for the first analog input and AIW2 for the second analog input. This is where your 0-32000 integers are located.

After you have done the scaling, you will need to put it in a memory real, that is VD100 or similar. The VD100 address will contain for example 50.3°C

Hope that helps.

Hi AustralIan

Thanks for your help, I did it the way you told me, and it worked perfectly =)🍻

I created a memory real variable on wincc and it worked just fine, I attach pictures.

Have a great day!

Thank you once again.

Microwin
http://i.imgur.com/x7ntwNW.jpg

WINCC
http://i.imgur.com/8wRnlhv.jpg
 

Similar Topics

Hi guys, It's me again with another question. I have like three projects going on and I'm going crazy. I have this OMRON E5EN temperature...
Replies
4
Views
2,327
I have everything set up for vibration monitoring with the code in Controllogix 5000. The thing is that I am not able to read values SCADA in mm/s...
Replies
0
Views
15
Hi, having some issues with scalings (SCP commands) with some Vegapuls 65 guided wave radar level transmitters. I've set the min/max in the...
Replies
5
Views
190
I want to measure the tank level and get the sensor output to the PLC. Below are the details : Tank Height =0 - 3m, the sensor is stalled 0,2m...
Replies
15
Views
643
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
14
Views
376
Back
Top Bottom