[?]: How display real numbers with INTOUCH ?

Прочие SCADA: iFix, InTouch, Citect, ...
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

[?]: How display real numbers with INTOUCH ?

Post by reymond_craig »

Hi,

Good morning,
I just want to ask if we can display real numbers in intouch,
I can display integer but not real.
Is somebody alreaady display real numbers in intouch? I hope we can, thank you very much.

Thanks and warm regards,
Rey
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig »

hi,

By the way when I tried to dispaly this it gave erratic result, a small change in my value at plc gives the max value at intouch.


Thanks and warm regards,
Rey
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Post by Umencho »

Hi

Let's try to explane:
1. From Step 7, we receive some real value, for exaple DBx.DBDy.
2. In Intouch Maker make one field - #.##, and put in Value Display - Analog - some tag, which we connected with DBx.DBDy;
3. Tag must be I/O Real, with right access name;
4. Field Item looks like DBx,REALy (from DBx.DBDy).

regards
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig »

Hi Umencho,

You already gave me lot of help from my other questions,. This is what happening right now communication of tag I think it's no problem. The problem now is what should be my min. raw and max raw. May min EU is 0 and my max. EU is 15000. By playing with the value of Raw it gave me values in runtime for that tag.

Warm regards,
Rey
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Post by Umencho »

Hi

Yes, you can change min. and max EU. But if you change it, must change min and max raw. You can try this. Put the same limits for min. EU and min. Raw, and max EU and max Raw. The result will be the same. But for me, the "elegance" method is - make this in Step 7 (I mean limitation). Just use Intouch like monitor. It will be easier way then put different limits for all tags, and the Inouch programm will be more universal to use with a little corrections for another system. I don't know, I work on this way... :wink:

regards
Umencho
bunglehead
Posts: 109
Joined: Thu Oct 19, 2006 7:00 am
Location: Russia

Post by bunglehead »

I think that Umencho's right saying that scaling must be done on PLC (but some customers prefer using only raw values on PLC).

I think you shouldn't scale using Intouch. Try to do it on plc and simply let raw and eu be the same.
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig »

Hi Umencho and Bunglehead,

I already did the scaling inside the plc using fc105, and also put the same value to EU and Raw, but the result is a small change in my data in PLC gives the Max. EU. but when I round my data in PLC and used double integer it works fine but the problem now is there is no decimal point since it is double integer. Please advise.
Thank you very much.

Warm regards,
Rey
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Post by Umencho »

Hi reymond_craig,

Ok, now from FC105 you receive for example MD=50.039548 or direct to DBx.DBDy.(Real). (this value has been already scaled). And now we want this value just to represent on the HMI. Put in the Intouch's window #.## . For this symbol connect with new tag (I/O Real). For example some pressure. This tag has property (min. raw -32768 max. raw 32767, min. EU -32768 max 32767 ), connected with some access name and Item DBx,REALy. And this is all story. On the Viewer screen you will see exactly 50.04.

regards
umencho
reymond_craig
Posts: 139
Joined: Wed Sep 26, 2007 2:57 am
Location: Philippines

Post by reymond_craig »

Hi Umencho,

I'm really sorry if I disturb you much, but i really don't know where this error of conversion coming from, but the result is not that what we expect. It give me still the max. EU. I attached the link( http://plcforum.uz.ua//Problem_Scale1.bmp ) what i did on the tag, the background is the result in window viewer. I don't know but in Protool that I'm currently using in factory I don't have this thing I can display real numbers. By the way I'm using S7 317 2dp, and cp343-1 I think this should have no problem with intouch. I'm really thankful to you Sirs that help me.
Thank you very much.

Warm regards,
Rey