plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Thousand Separator in WinCC(Tia Portal)

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> SIEMENS SIMATIC HMI
View previous topic :: View next topic  
Author Message
saintego
Junior
Junior


Joined: 09 Dec 2016
Posts: 2

PostPosted: 12/02/2017 18:56    Post subject: Thousand Separator in WinCC(Tia Portal) Reply with quote

Hello everyone, I was wondering if you could help me with something i'm trying to do...in WinCC(Tia Portal V13) i have some output fields that display real numbers..what i'm trying to do is make them numbers appear with separators e.g 100.000 instead of 100000. I'm not talking about decimals but about thousand separators...i did a lot of research and the only thing i found was the use of analog display(external) which is a wincc 7.3 feature only....Do you have any idea of how could i make this happen? Any help would be greatly appreciated...Thank you very much in advance!
Back to top
View user's profile Send private message
tixuaxepetl
Junior
Junior


Joined: 12 Jan 2017
Posts: 11

PostPosted: 12/02/2017 22:16    Post subject: Re: Thousand Separator in WinCC(Tia Portal) Reply with quote

saintego wrote:
Hello everyone, I was wondering if you could help me with something i'm trying to do...in WinCC(Tia Portal V13) i have some output fields that display real numbers..what i'm trying to do is make them numbers appear with separators e.g 100.000 instead of 100000. I'm not talking about decimals but about thousand separators...i did a lot of research and the only thing i found was the use of analog display(external) which is a wincc 7.3 feature only....Do you have any idea of how could i make this happen? Any help would be greatly appreciated...Thank you very much in advance!


It's a litlle bit longer but I used this trick and it works
Look what you have to do:
1. Make a Function in PLC and calculate Units, Thousands, Millions....
You have tags : RUnits =Tag
RThousands=TagUnits/1000
RMillions= TagUnits/1000000
and so on...
2. Apply this FC to every real Tag and in fact obtained decomposed Tags on RUnits, RThousans, RMillions ..tags
3. In HMI put I/O fields three digits one after another every I/O Field separated by a Comma or Dot in such a manner you have Units, Thousands, Millionsof .
4. Make the links on HMI to RUnits, RThousans, RMillions for every Real Tags decomposed...
5. Group this and you have a I/O field as you want and can use many times..
The only problem is you have to use 3 or 4 supplementary tags for every Real Value Tag.
Do you understand?
Back to top
View user's profile Send private message
saintego
Junior
Junior


Joined: 09 Dec 2016
Posts: 2

PostPosted: 13/02/2017 18:14    Post subject: Reply with quote

First of all thank you very much for taking the time to help me out, what you suggested is a very clever solution and it will work but in my case i have 100+ real numbers to modify so this means that i'll have to use 400+ tags...i was wondering if there was a more economical way to do it tag-wise...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> SIEMENS SIMATIC HMI All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro