data analog

LE3U, LE200, CF2N,EX1S,GX1S PLC, Smkoon, op320 etc.
Forum rules
here we provide some manual and software to download https://www.lollette.com/support/
Post Reply
txutxi
Posts: 3
Joined: Thu Sep 27, 2018 8:32 pm

data analog

Post by txutxi » Fri Sep 28, 2018 8:51 am

Hello,
I'm dealing with analog inputs and I have a problem;
I have a temperature sensor from 0 to 100 degrees, so 0 degrees are 0 data and
4095 are 100 degrees.
We apply a rule of 3, "analog input data * 100/4095 = Temperature C"

What am I doing wrong, I do not get correct result, because there is a problem with whole or floating type,
Can you help me.

Thank you.
A greeting.
Jesus Lopez.
Attachments
pt100200.jpg
pt100200.jpg (219.58 KiB) Viewed 421 times

txutxi
Posts: 3
Joined: Thu Sep 27, 2018 8:32 pm

Re: data analog

Post by txutxi » Fri Sep 28, 2018 9:01 am

I send another image that has not arrived correctly ...
Attachments
pt1002m.jpg
pt1002m.jpg (223.81 KiB) Viewed 418 times

txutxi
Posts: 3
Joined: Thu Sep 27, 2018 8:32 pm

Re: data analog

Post by txutxi » Fri Sep 28, 2018 4:59 pm

Hello
I've gotten it right, I'd just like to see decimals come out,

What I have to do so that the temperature degrees in D300, have decimals for example, 50`4ºC

the plc is LE3U from lollette.

Thank you.
Attachments
pt100.JPG
pt100.JPG (159.4 KiB) Viewed 413 times

LOLLETTE-1
Posts: 20
Joined: Thu Jun 07, 2018 8:48 am

Re: data analog

Post by LOLLETTE-1 » Mon Oct 15, 2018 2:40 am

The corresponding number for 10V is 4000.

https://www.lollette.com/support/LE3U-PLC-FAQ.html

Post Reply