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
[?]: How display real numbers with INTOUCH ?
-
- Posts: 139
- Joined: Wed Sep 26, 2007 2:57 am
- Location: Philippines
-
- Posts: 508
- Joined: Mon Jul 16, 2007 12:28 pm
- Location: Europe
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
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
-
- Posts: 139
- Joined: Wed Sep 26, 2007 2:57 am
- Location: Philippines
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
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
-
- Posts: 508
- Joined: Mon Jul 16, 2007 12:28 pm
- Location: Europe
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...
regards
Umencho
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...

regards
Umencho
-
- Posts: 109
- Joined: Thu Oct 19, 2006 7:00 am
- Location: Russia
-
- Posts: 139
- Joined: Wed Sep 26, 2007 2:57 am
- Location: Philippines
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
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
-
- Posts: 508
- Joined: Mon Jul 16, 2007 12:28 pm
- Location: Europe
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
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
-
- Posts: 139
- Joined: Wed Sep 26, 2007 2:57 am
- Location: Philippines
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
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