English Support - Software > Xsoft-CoDeSys

Temperature reading

(1/2) > >>

hardcorepit:
Hi.
This is my first time with Easy500(any plc) and I'm having problem with temperature conversion.
I'm using PT100 sensor together with LKM224 transmiter which gives me 0-10V output.
Problem I've got is, how to convert values, that comes up in software ( for example 6V and 619 ADC) to Celsius degrees ??
What temperature I'll have , let say at 5V??
Any explanation would be appreciate.
Thanks.

Spellbreaker:
Hi there!

First of all you have to check what the Transmitter outputs. For example 0-10V as 0-200°C or something like that.

Then, you simply take an LS Functionblock, using your Analogue Input as I1 , and then set X1 / X2 to 0..1023 (Thats your analogue Input in 10 Bit ), and Y1 / Y1 to the Degrees your Transmitter is set up for, for example 0 / 200°C .

Then you'll get the Temperature from the Functionblocks Output.

Greets,

Spellbreaker

hardcorepit:
The problem is, that I'm using Easy500 and there's no LS function.......
I've found example of greenhouse control for Easy500 :
A01 = I07 ≥ 6.0V = 619 (= 19 °C Blinds down)
A02 = I07 ≥ 5.8V = 599 (= 17 °C Heating OFF)
A03 = I07 ≤ 5.6V = 578 ( = 15 °C Blinds up and heating ON)
So somehow they calculate that temperature.
Is it because they base on thermistor sensor instead of PT100?
Transmitter range -30 to 70.
Many thanks.

wer:
First: excuse my bad english.
Second: What temperature you have at 5V, ist not a funcionality of the easy500 but of your transmitter. Is the transmitter range -30 to +70 degrees or what ever?
Third: What do you want to do with the value in the easy500? then we can look for the easy500 function.

hardcorepit:

--- Zitat von: wer am Februar 22, 2014, 15:58:39 Nachmittag ---Is the transmitter range -30 to +70 degrees or what ever?
Third: What do you want to do with the value in the easy500? then we can look for the easy500 function.

--- Ende Zitat ---

Transmitter range is -30 to +70 degrees, output  0 to 10V.
I want to be able to read temperature base on Easy reading which is for example:
6V   619 (adc).
I need to know 3 different temp. 15,20,25 degrees.
Do I have to physically measure that temperature?
Thanks.

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln